E
Uploaded by Ewing
26-Oct-2026
Verified by Experts
Based on Latest Exam Syllabus
Question 1
When conducting a data flow analysis of following section of pseudo code:
Declare C, F, Z Decimal
Set Z = 32
Read F
SetC = (F-Z) * 5/9
Free C, F. Z
Print F
Which of the variables utilized above has a potential anomalie?
A.C and Z
B.None of the variables
C.AI1 fthe variables
D.F
Correct Answer: DExplanation:
Analyzing the given pseudocode for potential anomalies in data flow:
Declare C, F, Z Decimal Set Z = 32 Read F Set C = (F-Z) * 5/9 Free C, F, Z Print F
The potential anomaly is with variable F. It is used after being freed, which typically indicates an error in managing the variable's lifecycle within the code.