Flowchart Interpretation Flashcards
6 cards from real EDPT practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Flowchart Interpretation flashcards as text
A process is defined by the following flowchart logic: 1) Start. 2) Set variable X = 5. 3) Set variable Y = 10. 4) Is X greater than Y? 5) If YES, add 5 to X. 6) If NO, add 3 to Y. 7) Is Y equal to 16? 8) If YES, end the process. 9) If NO, loop back to step 4. What are the final values of X and Y when the process ends?
Answer: X = 5, Y = 16
Let's trace the execution: - Initial: X=5, Y=10. - Loop 1: Is X>Y (5>10)? No. Add 3 to Y. Y is now 13. Is Y=16? No. Loop again. - Loop 2: Is X>Y (5>13)? No. Add 3 to Y. Y is now 16. Is Y=16? Yes. End. The final values are X=5 and Y=16.
In a standard data processing flowchart, which shape is used to represent an input or output operation, such as 'Get User Record' or 'Print Report'?
Answer: Parallelogram
A parallelogram is the standard symbol used in flowcharts to denote an input/output (I/O) operation. Ovals are for start/end, rectangles for processes, and diamonds for decisions.
Consider a flowchart that evaluates an employee's bonus. The process is as follows: A decision diamond checks if 'Years of Service' is greater than 5. If true, the flow proceeds to a second diamond that checks if 'Performance Rating' is 'Excellent'. If both conditions are true, a 10% bonus is assigned. If service years are > 5 but the rating is not 'Excellent', a 5% bonus is assigned. If service years are 5 or less, a 3% bonus is assigned regardless of performance. An employee with 6 years of service and a 'Good' performance rating is evaluated. What bonus do they receive?
Answer: 5%
The employee has 6 years of service, which is greater than 5, so the flow follows the 'true' path from the first decision. The next decision checks if the performance rating is 'Excellent'. Since the rating is 'Good', the flow follows the 'false' path, which results in a 5% bonus.
A flowchart contains a loop controlled by a decision diamond with the condition 'Is Counter < 5?'. The process inside the loop increments the 'Counter' variable by 1 during each pass. If 'Counter' is initialized to 0 before the loop begins, how many times will the process inside the loop be executed?
Answer: 5
The loop will execute for Counter values of 0, 1, 2, 3, and 4. When the counter is incremented to 5, the condition '5 < 5' becomes false, and the loop terminates. Therefore, the process inside the loop runs a total of 5 times.
A flowchart is designed to sort numbers. It takes an input number 'N' and follows this logic: If N is even, it is sent to 'Process A'. If N is odd, it is sent to 'Process B'. If the number is greater than 100 (regardless of whether it's even or odd), it is also logged by 'System C'. Which of the following inputs would be handled by both 'Process A' and 'System C'?
Answer: 150
The number must satisfy two conditions: it must be even to go to 'Process A', and it must be greater than 100 to be logged by 'System C'. Of the choices, only 150 is both an even number and greater than 100.
What is the primary function of the process depicted in the following flowchart description? 1) Start. 2) Set variable 'Sum' = 0. 3) Set variable 'Count' = 1. 4) Add 'Count' to 'Sum'. 5) Add 1 to 'Count'. 6) Is 'Count' <= 10? 7) If YES, loop back to step 4. 8) If NO, Output 'Sum'. 9) End.
Answer: To find the sum of the first 10 positive integers
The flowchart initializes a 'Sum' and then repeatedly adds the value of a 'Count' variable (which goes from 1 to 10) to it. This process is the standard algorithm for calculating the sum of the integers from 1 to 10.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- static.e-publishing.af.mil — Test delivery, eligibility, exam format, passing score, retake policy, time limit · verified Oct 2026