A loop starts a counter at 3 and adds 3 each time while the counter is less than 15. The number of times the loop runs is ____
Saskatchewan Computer Science 30 · Unit D · 5 questions
Object-Oriented Programming — Practice Test
This practice test was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.
Focusing on essential features and hiding detail is called
A variable starts at 100. A loop adds 5 each time it runs, and it runs 3 times. The final value of the variable is ____
A loop starts a counter at 0 and adds 5 each time while the counter is less than 25. The number of times the loop runs is ____
A variable starts at 7. A loop adds 2 each time it runs, and it runs 6 times. The final value of the variable is ____
Your score: 0 / 5