JavaScript Basics

JavaScript Basics

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Code Combat Review (Python)

Code Combat Review (Python)

8th Grade

10 Qs

C++ While Loops

C++ While Loops

6th - 8th Grade

15 Qs

Programming

Programming

1st - 10th Grade

10 Qs

Loops in JavaScript

Loops in JavaScript

6th - 8th Grade

10 Qs

Intro to Scratch 2

Intro to Scratch 2

KG - University

12 Qs

CodeHS Intro to Programming - Karel Review

CodeHS Intro to Programming - Karel Review

7th Grade

10 Qs

ÔN TẬP TIN 8 HK2 (1)

ÔN TẬP TIN 8 HK2 (1)

7th Grade

10 Qs

JavaScript quiz for beginners

JavaScript quiz for beginners

7th Grade

10 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Keerthana V

Used 189+ 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?