Search Header Logo

C Do While Loop

Authored by Azrinna Muhamad

Other

University

Used 9+ times

C Do While Loop
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Fill in the blanks to complete the do-while loop that prints numbers from 1 to 3.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Fill in the blanks to complete the do-while loop that prints "Hello" 5 times.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

0 1 2

1 2 3

0 1 2 3

1 2 3 4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the loop execute?

4

5

6

7

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

2 4 6

2 4

4 6

1 2 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?