Loops

Loops

6th Grade

22 Qs

quiz-placeholder

Similar activities

Introduction to Python

Introduction to Python

KG - University

25 Qs

Video Game Trivia

Video Game Trivia

5th - 12th Grade

20 Qs

Python

Python

6th - 8th Grade

21 Qs

Programming

Programming

6th - 8th Grade

20 Qs

Interactive Animations and Games from Code.org

Interactive Animations and Games from Code.org

3rd - 12th Grade

20 Qs

เชิงวัตถุ2

เชิงวัตถุ2

6th Grade

20 Qs

NEW Coding 2 Performance Final

NEW Coding 2 Performance Final

6th - 8th Grade

25 Qs

:)))

:)))

3rd - 10th Grade

21 Qs

Loops

Loops

Assessment

Quiz

Computers

6th Grade

Medium

Created by

Ariel Cambas

Used 5+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following loop runs?

var counter = 0;

while(counter < 10){

console.log(counter);

counter = counter + 1;

}

5

10

50

9

0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following loop runs?

var counter = 1;

while(counter < 10){

console.log(counter);

counter = counter + 1;

}

5

10

50

9

0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following loop runs?

var counter = 10;

while(counter <= 59){

console.log(counter);

counter = counter + 1;

}

5

10

50

9

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following loop runs?

var counter = 5;

while(counter < 10){

console.log(counter);

counter = counter + 1;

}

5

10

50

9

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following loop runs?

var counter = 10;

while(counter < 10){

console.log(counter);

counter = counter + 1;

}

5

10

50

9

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following loop runs?

var counter = 10;

while(counter < 25){

console.log(counter);

counter = counter + 1;

}

15

20

8

2

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following loop runs?

var counter = 0;

while(counter < 10){

console.log(counter);

}

forever

20

8

2

6

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?