Loops

Loops

6th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Coding Vocabulary

Coding Vocabulary

4th - 6th Grade

13 Qs

Python Iteration

Python Iteration

10th Grade

13 Qs

Code.org Express Course Vocab Lessons 1-10

Code.org Express Course Vocab Lessons 1-10

6th Grade

13 Qs

Programming Lesson 3

Programming Lesson 3

6th - 8th Grade

12 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

Coding Fundamentals SC

Coding Fundamentals SC

4th - 6th Grade

15 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

Small Basic Mid Point Review

Small Basic Mid Point Review

6th - 12th Grade

8 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?