Untitled Flashcards

Untitled Flashcards

Assessment

Flashcard

Computers

9th Grade

Easy

Created by

Paolo Perez

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

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.

Media Image

Back

ANSWER:

Media Image

3.

FLASHCARD QUESTION

Front

5.)

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?