JavaScript Control Flow – MCQ Quiz (With Answers)

JavaScript Control Flow – MCQ Quiz (With Answers)

Professional Development

20 Qs

quiz-placeholder

Similar activities

Agile 02 - Méthodes agiles

Agile 02 - Méthodes agiles

Professional Development

15 Qs

Código ASCII

Código ASCII

Professional Development

18 Qs

Explorando a Lógica e Tabelas Verdade

Explorando a Lógica e Tabelas Verdade

Professional Development

15 Qs

Computer Hardware Quiz

Computer Hardware Quiz

Professional Development

20 Qs

Drilling Quiz AEM

Drilling Quiz AEM

Professional Development

15 Qs

svsvs

svsvs

Professional Development

20 Qs

FOS Quiz 1

FOS Quiz 1

Professional Development

15 Qs

Manipulação de Arrays em JavaScript

Manipulação de Arrays em JavaScript

Professional Development

15 Qs

JavaScript Control Flow – MCQ Quiz (With Answers)

JavaScript Control Flow – MCQ Quiz (With Answers)

Assessment

Quiz

Information Technology (IT)

Professional Development

Practice Problem

Medium

Created by

Dheepan G

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is used to make decisions in JavaScript?

select

if

loop

switchcase

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for an if statement in JavaScript?

if (condition) then { }

if condition { }

if (condition) { }

if { condition }

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to test multiple conditions with the same variable?

if

else

switch

when

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will this code print?

Big

Small

10

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a switch statement, which keyword stops execution from continuing to the next case?

stop

break

end

exit

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will this output?

A

A B

B

Nothing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop runs a block of code at least once, even if the condition is false?

for

while

do...while

if

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?