Search Header Logo

JavaScript Basics

Authored by Keerthana V

Computers

6th - 8th Grade

Used 191+ times

JavaScript Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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 BLANKS QUESTION

20 sec • 1 pt

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

(a)  

3.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

A loop that executes until a condition is met is called

(a)  

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 --)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?