Flowchart Quiz
Questions: 16 · 10 minutes
1. A decision diamond asks “Payment approved?” but only one arrow leaves the diamond. What is the main problem?
The alternative outcomes are not both represented by outgoing paths
The flowchart must always end immediately after a decision
The diamond should contain a calculation instead of a condition
The question should be placed in a process rectangle
2. A flowchart initializes total to 0, then adds each of the values 2, 4, and 6 to total before displaying it. What result is displayed?
24
6
8
12
3. A flowchart must display “Adult” when age is at least 18 and “Minor” otherwise. What should appear immediately after the age input?
A connector that skips directly to the end
A decision testing whether age is at least 18
A loop that repeatedly increases the age
A process that displays both messages
4. The same five-step calculation appears in several places in a large flowchart. Which revision would most improve clarity and maintainability?
Copy the five steps into even more locations so each path looks complete
Remove the steps and assume readers know the calculation
Replace all five steps with an unlabeled connector
Move the repeated calculation into a named subprocess and reference it where needed
5. Which symbol is commonly used for the start or end of a flowchart?
A rounded terminator symbol
A process rectangle
A document symbol with a wavy base
An on-page connector circle
6. What do arrowed flow lines indicate in a flowchart?
The amount of data stored at each step
The direction in which control moves between steps
The person responsible for each task
The difficulty of each operation
7. A loop is meant to stop when count reaches 10, but the flowchart never changes count inside the loop. What is the most likely consequence if count begins below 10?
The loop runs exactly ten times
The flowchart automatically increases count after each decision
The loop may continue indefinitely because its stopping condition never becomes true
The algorithm skips the loop and moves to the end
8. A program produces the correct result for positive inputs but fails for zero. When comparing it with its flowchart, what should you examine first?
Whether every process rectangle is the same physical size
Whether the start symbol appears near the top of the page
Whether the arrows use more than one line thickness
Whether the decision conditions and branches correctly handle zero
9. What is the main purpose of an algorithm flowchart?
To show the steps and control flow of an algorithm visually
To execute an algorithm directly without program code
To record only the inputs and outputs of an algorithm
To measure how long a completed program takes to run
10. A flowchart step says “total = price × quantity.” Which symbol most appropriately contains this calculation?
A decision diamond
A process rectangle
A terminator symbol
An input/output parallelogram
11. A long flowchart continues elsewhere on the same page, and drawing a direct line would cross several other lines. What is a small circular on-page connector used for?
To indicate that data must be typed by a user
To replace every decision diamond in the algorithm
To link separated points of flow without a long or crossing line
To show that the process has permanently ended
12. An ordering algorithm first checks whether an item is in stock. Only if it is in stock does it check whether the customer has enough credit. What is the clearest representation?
Use one input symbol containing both checks and no labeled branches
Use two decision diamonds, with the credit decision reached from the in-stock branch
Place both checks after the order has ended
Use a loop that changes the stock level until credit is available
13. Which standard symbol commonly represents an input or output operation, such as reading a number or displaying a result?
A diamond
A rounded terminator
A parallelogram
A process rectangle
14. A flowchart sets n to 3, then repeats: display n and subtract 1 from n, while n is greater than 0. What is displayed?
0, 1, 2
3, 2, 1, 0
1, 2, 3
3, 2, 1
15. Which standard flowchart symbol commonly represents a decision with alternative outcomes?
A rectangle
A parallelogram
A diamond
A small circle
16. A form must keep asking for a password until the user enters one with at least eight characters. Which flowchart structure best represents this?
An input step followed by a decision whose failing branch returns to the input
A single process rectangle containing every possible password
A start symbol connected directly to an end symbol
Two unrelated input symbols with no connecting arrows