How many times will the loop steps in the instructions corresponding to the following pseudocode be executed,assuming 5 values - 5,6,7,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
Q15: The loop read in a loop controlled
Q16: How many times will the loop
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
Q21: If you are using the automatic end-of-file
Q22: Line count and page count are special
Q23: The priming read is usually placed as
Q24: A line that outputs the average grade
Q25: A detail line is usually written after
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