JavaScript Basics

JavaScript Basics

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Sprites/Draw Loop/Counter Pattern Test

Sprites/Draw Loop/Counter Pattern Test

6th Grade

15 Qs

LOOPS

LOOPS

7th - 9th Grade

10 Qs

Blockly Coding

Blockly Coding

8th Grade

9 Qs

JRDL - JS Arrays and Objects

JRDL - JS Arrays and Objects

6th Grade - Professional Development

12 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

Python Basics

Python Basics

1st Grade - University

9 Qs

Python - For Loop

Python - For Loop

8th Grade

12 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Keerthana V

Used 190+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the right way to make a for loop?

Alienisation, The End, Rebels

Installation, Ending, Timer

Intialisation, End Condition, Counter

Initialisation, Counter, End Condition

2.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

A loop that executes for a pre-defined number of times

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

A loop that executes until a condition is met is called

4.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Which of the below are types of loops

if then else

while loop

for loop

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Nested loops are

Multiple independent loops

Conditions in a loop

Loop in a Loop

Loop in a condition

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

for ( var i = 0; i < 50; i++ )


How many times will this loop execute

51 times

49 times

50 times

0 times

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the iterations runs 25 times

for ( var i = 2; i < 26; i ++ )

for ( var i = 0; i < 25; i ++ )

for ( var i = -1 ; i > 25 ; i -- )

for ( var i = 0; i <= 25; i --)

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?