While Loops

While Loops

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

ICT Computer Basics pt1

ICT Computer Basics pt1

10th - 12th Grade

12 Qs

Health Science Cluster

Health Science Cluster

8th - 12th Grade

12 Qs

HLL and LLL

HLL and LLL

11th Grade

10 Qs

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

Bài tập Tin học 11 (Tiết 6)

Bài tập Tin học 11 (Tiết 6)

11th Grade

13 Qs

C++ dasar

C++ dasar

10th - 12th Grade

9 Qs

TIN 11- KIỂU XÂU

TIN 11- KIỂU XÂU

11th Grade

10 Qs

limbajul pascal

limbajul pascal

10th Grade

12 Qs

While Loops

While Loops

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

DVHSAPCS undefined

Used 77+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 1;                     
while(x < 6)               
{                                         
          Console.Write(x);
x = x + 2;           
}                                       

12345
135
infinite loop
no output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 1;                     
while(x > 6)               
{                                         
          Console.Write(x);
x = x + 2;           
}                                       

12345
135
infinite loop
no output

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 10;                     
while(x < 6)               
{                                         
          Console.Write(x);
x = x - 2;           
}                                       

10987
108
infinite loop
no output

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 1;                     
while(x < 6)               
{                                         
          Console.Write(x);
x = x - 2;           
}                                       

531
135
infinite loop
no output

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 1;                     
while(x < 6)               
{                                         
x = x + 2;           
          Console.Write(x);
}                                       
Console.Write(x);

1355
1357
355
3577

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 4;                     
while(x < 6)               
{                                         
x = x + 3;           
          Console.Write(x);
}                                       
Console.Write(x);

4710
477
77
Infinite Loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 4;                     
while(x > 6)               
{                                         
x = x + 3;           
          Console.Write(x);
}                                       
Console.Write(x);

4
7
77
Infinite Loop

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?