This Scratch Project brings to life Sample Question #17 for the AP Computer Science Principles Course and Exam Description. #17. Consider the following program code: i = 0 sum = 0 REPEAT UNTIL i = 4 { i = 1 sum = sum + i i = i + 1 } Which of the following best describes the result of running the program code? a) The number 0 is displayed b) The number 6 is displayed c) The number 10 is displayed d) Nothing is displayed; the program results in an infinite loop. Not sure what the answer is? Play the Scratch project!
This Scratch Project brings to life Sample Question #17 for the AP Computer Science Principles Course and Exam Description found here: https://secure-media.collegeboard.org/digitalServices/pdf/ap/ap-computer-science-principles-course-and-exam-description.pdf