ALGORITHM
& FLOWCHART
Q1. Describe
the following steps of problem-solving process.
- Define the problem
- Analyze the problem
- Planning the solution of the problem
- Find candid solutions of the problem
- Select the best solution
Q2. Define an
algorithm.
Q3. Define a
program flowchart
Ans. Flowchart
is combination of two words flow and chart. A chart consists of different
symbols to display information about any program. Flow indicates the direction
of processing that takes place in the program.
Q4. Describe
the importance of program flowchart for solving a problem.
Ans. Flowchart
is a graphical representation of an algorithm. It is a way of visually
presenting the flow of data the operations performed on data and the sequence
of these operations. Flowchart is similar to the layout plan of a building. A designer
draws the layout plan of the building before constructing it. Similarly, a
programmer prefers to design the flowchart before writing the computer program.
Q5. Identify
the flowchart symbols for the following:
- Input
- Process
- Decision making
- Outputs
- Terminator / terminal point
- Connectors
Q6. What do
you mean by?
Testing
& debugging the program
Logical errors
Syntax errors
Execution
errors
Running the
program
Q7. Describe the following four essential parts of an algorithm:
- Inputs
- Processing
- Decision
- Outputs
No comments:
Post a Comment