Algorithm and flowchart: 28 MCQs with answers
All 28 multiple-choice questions from this kit, free and with no sign-up.
Warm-up · 15 questions
Q1. What is an algorithm?
BeginnerShow answer & explanation
A step-by-step procedure to solve a problem
An algorithm is a finite set of well-defined steps to solve a specific problem, not a visual or hardware.
Q2. Which symbol in a flowchart represents a decision (yes/no or true/false)?
BeginnerShow answer & explanation
Diamond
A diamond is used for decision points, leading to different branches based on a condition.
Q3. In a flowchart, what does a parallelogram represent?
BeginnerShow answer & explanation
Input/Output
A parallelogram indicates input or output operations, like reading data or displaying results.
Q4. What is the purpose of a flowchart?
BeginnerShow answer & explanation
To visually represent the logic of an algorithm
A flowchart is a visual blueprint of an algorithm, helping to understand and communicate the logic.
Q5. In a flowchart, the start and end symbols are typically:
BeginnerShow answer & explanation
Ovals or rounded rectangles
Ovals (or rounded rectangles) denote the beginning and end of a flowchart.
Q6. What does the 'flow' in a flowchart represent?
BeginnerShow answer & explanation
The sequence of steps and decisions
Flow lines show the order in which steps are executed, representing the control flow.
Q7. Which symbol is used for a process or calculation in a flowchart?
BeginnerShow answer & explanation
Rectangle
A rectangle represents a processing step, such as an arithmetic operation or assignment.
Q8. In a flowchart, what does an arrow indicate?
BeginnerShow answer & explanation
The direction of flow
Arrows show the direction of control flow from one step to the next.
Q9. Which of the following is an example of an algorithm in daily life?
BeginnerShow answer & explanation
Following a map to reach a destination
Following a map involves a step-by-step procedure to reach a goal, which is algorithmic.
Q10. A flowchart can be used to represent an algorithm without using any words.
BeginnerShow answer & explanation
True
Flowcharts use symbols and arrows to represent logic, so they can be purely visual.
Q11. An algorithm must always be implemented in a programming language to be valid.
BeginnerShow answer & explanation
False
An algorithm is a conceptual step-by-step procedure; it can be expressed in natural language or pseudocode.
Q12. Which flowchart symbol is used to represent a decision point where the flow can branch based on a condition?
BeginnerShow answer & explanation
Diamond
A diamond (or rhombus) is the standard flowchart symbol for a decision, with one entry and two or more exit paths labeled with conditions (e.g., Yes/No).
Q13. When constructing a flowchart for an algorithm, what is the primary purpose of using arrows?
BeginnerShow answer & explanation
To indicate the sequence and control flow between steps
Arrows in a flowchart represent the flow of control, showing the order in which steps are executed, including branches and loops.
Q14. In a flowchart, what does a parallelogram symbol typically represent?
BeginnerShow answer & explanation
Input or output operation
A parallelogram is used for input/output operations, such as reading a value from the user or displaying a result.
Q15. What is the primary advantage of using a flowchart over a purely textual algorithm?
BeginnerShow answer & explanation
Flowcharts provide a visual clarity that makes logic easier to understand and debug
Visual representation helps humans grasp the overall structure, spot logical flaws, and communicate the algorithm more effectively than text alone.
Building up · 12 questions
Q16. Which of the following is a characteristic of a good algorithm?
IntermediateShow answer & explanation
It must have clear, unambiguous steps and terminate
A good algorithm is precise, unambiguous, and finite—it must end after a finite number of steps.
Q17. Which of the following real-life examples best illustrates an algorithm?
IntermediateShow answer & explanation
A recipe for baking a cake
A recipe is a step-by-step procedure to achieve a result, just like an algorithm.
Q18. An algorithm to find the largest of three numbers would typically use which control structure?
IntermediateShow answer & explanation
Selection (if-else)
Comparing numbers requires decision-making, which is implemented using selection (if-else) structures.
Q19. What is the main advantage of using a flowchart over a textual algorithm?
IntermediateShow answer & explanation
It provides a visual clarity that simplifies understanding
Flowcharts make the logic visually explicit, which helps in understanding and debugging.
Q20. Which of the following is NOT a valid step in designing an algorithm?
IntermediateShow answer & explanation
Write the code in a specific programming language
An algorithm is language-independent; writing code is a later step, not part of algorithm design.
Q21. What is the role of a connector symbol in a flowchart?
IntermediateShow answer & explanation
To connect different parts of a flowchart, especially across pages
Connectors (usually circles) link parts of a flowchart to avoid crossing lines or to continue on another page.
Q22. Which of the following is a limitation of a flowchart?
IntermediateShow answer & explanation
It can become complex and unwieldy for large algorithms
For very large algorithms, flowcharts can become messy and hard to manage, which is a known limitation.
Q23. Which of the following best describes the relationship between an algorithm and a flowchart?
IntermediateShow answer & explanation
A flowchart is a graphical representation of an algorithm
An algorithm is a step-by-step logical procedure, while a flowchart translates that logic into a visual diagram using standardized symbols.
Q24. When converting an algorithm to a flowchart, what is a common pitfall that leads to an infinite loop?
IntermediateShow answer & explanation
Forgetting to update the loop control variable
If the loop variable is not updated inside the loop, the condition never becomes false, causing an infinite loop—a classic flowchart error.
Q25. Which of the following real-world scenarios is best modeled by a flowchart with a loop (repetition) structure?
IntermediateShow answer & explanation
Checking each item in a shopping list until all are purchased
Looping is used when a set of steps must be repeated for each item, like iterating over a list until a condition (end of list) is met.
Q26. In flowchart construction, what is the correct order of steps when designing an algorithm to find the largest of three numbers?
IntermediateShow answer & explanation
Start → Input three numbers → Compare first two, then compare result with third → Output largest → End
The logical sequence is to start, get inputs, perform comparisons in a structured manner (e.g., pairwise), then output the result and end.
Q27. A flowchart must always have exactly one start symbol and at least one end symbol, but it can have multiple end symbols if different exit points exist.
IntermediateShow answer & explanation
True
Standard flowchart conventions require a single start (to avoid ambiguity) but allow multiple end symbols, e.g., when different branches terminate at different points.
Topper level · 1 questions
Q28. Which flowchart symbol is used to represent a predefined process or subroutine (e.g., a function call)?
AdvancedShow answer & explanation
Rectangle with double vertical lines
A rectangle with extra vertical lines on each side denotes a predefined process, indicating a named subroutine or module that is defined elsewhere.
Your notes can be a kit like these
Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.
- Chapter notes
- Flashcards
- Practice MCQs
- Scored tests
- Exam prep
Get Veda free See what students get
Free to start · No ads · Works in 42 languages