JavaScript Control Flow – MCQ Quiz (With Answers)

JavaScript Control Flow – MCQ Quiz (With Answers)

Professional Development

20 Qs

quiz-placeholder

Similar activities

AV2 - INFORMÁTICA BÁSICA E MANUTENÇÃO DE MICROS

AV2 - INFORMÁTICA BÁSICA E MANUTENÇÃO DE MICROS

Professional Development

20 Qs

Scorevision Cloud Basics Quiz

Scorevision Cloud Basics Quiz

Professional Development

16 Qs

EAC Christmas Quiz

EAC Christmas Quiz

Professional Development

19 Qs

Programação Orientada a Objetos

Programação Orientada a Objetos

Professional Development

15 Qs

Network Security and Protocols Quiz

Network Security and Protocols Quiz

Professional Development

15 Qs

Pretest Scratch

Pretest Scratch

Professional Development

20 Qs

информатика шутка тест

информатика шутка тест

Professional Development

20 Qs

Kuis Acara Pisah Sambut Kadis Kominfostan Deli Serdang

Kuis Acara Pisah Sambut Kadis Kominfostan Deli Serdang

Professional Development

20 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

Create a free account and access millions of resources

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?