EDPT Flowchart Interpretation 3 — Questions and Answers
Question 1: A flowchart shows: Start → Set Sum=0, Count=0 → Read Number → Sum = Sum + Number → Count = Count + 1 → Is Count < 5? (Yes → Read Number) (No → Print Sum/Count) → End. What does this flowchart compute?
- The sum of 5 numbers
- The product of 5 numbers
- The average of 5 numbers (Correct answer)
- The maximum of 5 numbers
Correct answer: The average of 5 numbers
The flowchart sums 5 numbers and divides by the count (5), which computes the average.
Question 2: In a flowchart, a predefined process symbol (rectangle with double vertical bars on sides) means:
- A manual operation
- A call to a subroutine or subprogram (Correct answer)
- A database access
- A conditional branch
Correct answer: A call to a subroutine or subprogram
The predefined process symbol indicates a subroutine or separately defined process is being invoked.
Question 3: A flowchart decision reads 'Is Password Correct?' with Yes going to 'Grant Access' and No going back to 'Enter Password'. After 3 failed attempts it exits to 'Lock Account'. What does this design illustrate?
- A sorting algorithm
- An infinite loop without exit
- A controlled loop with a retry limit (Correct answer)
- A linear sequence
Correct answer: A controlled loop with a retry limit
This is a controlled loop that allows retries but exits after a maximum attempt count to prevent infinite looping.
Question 4: When reading a flowchart, if two branches from a decision merge back into a single path, the merge point is called a:
- Junction
- Connector (Correct answer)
- Splitter
- Gateway
Correct answer: Connector
A connector (often a small circle) is used to join multiple flow paths back into a single sequence.
Question 5: A flowchart processes a list: for each item, if item > Max, set Max = item. What does this algorithm find?
- The sum of all items
- The minimum value
- The maximum value (Correct answer)
- The count of items
Correct answer: The maximum value
Comparing each item to a running Max and updating when larger is the classic algorithm for finding the maximum value.
Question 6: In a flowchart, off-page connectors (a pentagon or home-plate shape) are used to:
- Mark a decision
- Continue flow on another page (Correct answer)
- Indicate manual input
- Show parallel processes
Correct answer: Continue flow on another page
Off-page connectors link sections of a flowchart that span multiple pages by using matching labels.
Question 7: A flowchart shows a 'Do-While' style loop where the process block executes BEFORE the condition is checked. What is guaranteed?
- The loop never executes
- The loop executes at least once (Correct answer)
- The loop executes exactly twice
- The loop exits immediately
Correct answer: The loop executes at least once
In a Do-While loop, the body executes before the condition is evaluated, ensuring at least one execution.
A flowchart shows: Start → Set Sum=0, Count=0 → Read Number → Sum = Sum + Number → Count = Count + 1 → Is Count < 5? (Yes → Read Number) (No → Print Sum/Count) → End.
What does this flowchart compute?