

Untitled Flashcards
Flashcard
•
Computers
•
9th Grade
•
Easy
Paolo Perez
Used 1+ times
FREE Resource
Student preview

3 questions
Show all answers
1.
FLASHCARD QUESTION
Front
1. What is a key difference between a do/while loop and a while loop?
A.) A do/while loop will execute the code block at least once, even if the condition is false.
B.) A do/while loop checks the condition before running the code block.
C.) A do/while loop only runs when the condition is false.
D.) There is no difference; they work the same.
Back
ANSWER:
A.) A do/while loop will execute the code block at least once, even if the condition is false.
2.
FLASHCARD QUESTION
Front
NOTE: # 2-4
Use the do/while loop to print i as long as i is less than 6.
Back
ANSWER:
3.
FLASHCARD QUESTION
Front
5.)
Back
ANSWER:
THE OUTPUT OF THIS CODE IS 3.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?