Question 1 The correct answer was C not A because the loop header says that the following program is repeated 4 times. The reason as to why the result of A was wrong was because that result has the incorrect number for the loop header. In comparison to C, A has a loop header of 3 which is shown in the result where the number 3 is only repeated 3 times and C is repeated 4 times.
Quiz Corrections | CompSci Blogs
Question 1 The correct answer was C not A because the loop header says that the following program is repeated 4 times. The reason as to why the result of A was wrong was because that result has the incorrect number for the loop header. In comparison to C, A has a loop header of 3 which is shown in the result where the number 3 is only repeated 3 times and C is repeated 4 times.
https://hanr12.github.io/han3/2024/01/05/quiz_corrections_IPYNB2.html