Loops

Loops

6th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Technology Terms programming

Technology Terms programming

3rd - 8th Grade

10 Qs

Python Quiz

Python Quiz

10th Grade

15 Qs

Quiz #3 - Chapter 1-3 Review

Quiz #3 - Chapter 1-3 Review

9th - 12th Grade

14 Qs

For Loop Quiz

For Loop Quiz

9th Grade

10 Qs

Coding Vocab

Coding Vocab

KG - 6th Grade

11 Qs

Looping / Conditionals

Looping / Conditionals

6th - 8th Grade

12 Qs

Python Loops

Python Loops

1st - 6th Grade

9 Qs

1 - Pseudocode

1 - Pseudocode

9th - 10th Grade

15 Qs

Loops

Loops

Assessment

Quiz

Computers

6th - 12th Grade

Hard

Created by

SkillSanta Upskilling

Used 25+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

How many times will the following code print "Welcome to Java"?
int count = 0;
while (count < 10) {
 System.out.println("Welcome to Java");
 count++;
}
8
9
10
0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a loop?

The order of events

How we talk to computers

Order of instructions that repeats for many times

Instructions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are three manipulations done in a for loop on a loop variable?

Updation, Incrementation, Initialization

Intialization, Testing, Updation

Testing, Updation, Testing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of the special feature of an interpreter in reference with the for loop is that

Before each iteration, the interpreter evaluates the variable expression and assigns the name of property

The iterations can be infinite when an interpreter is used

The body of loop is executed only once

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Loop is __ statement.

Sequential

Conditional

Assignment

Functional

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is use of For loop ?

To repeat the statement finite number of times

To repeat the statement until the condition holds true

To repeat the statement for infinite number of times

To repeat the statements inside until any condition is false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of WHILE loop ?

To repeat the statement finite number of times.

To repeat the statement until any condition holds true.

To repeat the statement for infinite time.

To repeat the statement inside until any condition is false.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?