How many times will the loop steps in the instructions corresponding to the following pseudocode be executed,assuming 5 values - 0,8,6,3,0 - are input,one on each record?
Read SCORE
DOWHILE SCORE
Write SCORE
Read SCORE
ENDDO
A) 0
B) 4
C) 5
D) infinite
Correct Answer:
Verified
Q11: What value of COUNT will be
Q12: A total line is a line of
Q13: The empty file condition can occur in
Q14: The priming read is placed
A)before the loop
B)within
Q15: The loop read in a loop controlled
Q17: What statement(s)are unnecessary in the following
Q18: Where is the write statement for a
Q19: The automatic end-of-file facility is implemented differently
Q20: How many times will the loop
Q21: If you are using the automatic end-of-file
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents