JavaScript Control Structures Basic

JavaScript Control Structures Basic

12th Grade

20 Qs

quiz-placeholder

Similar activities

Python Recap

Python Recap

7th Grade - University

20 Qs

Lua Review Corona SDK with Notepad++

Lua Review Corona SDK with Notepad++

10th - 12th Grade

15 Qs

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

1st - 12th Grade

20 Qs

Unit4-รหัสเทียม

Unit4-รหัสเทียม

12th Grade

15 Qs

History of Computers

History of Computers

6th - 12th Grade

15 Qs

Python Basics

Python Basics

KG - University

16 Qs

TMK Tahun 6 - Pengaturcaraan

TMK Tahun 6 - Pengaturcaraan

KG - 12th Grade

20 Qs

Grade 12-Python selection&iteration

Grade 12-Python selection&iteration

11th - 12th Grade

15 Qs

JavaScript Control Structures Basic

JavaScript Control Structures Basic

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Angel Ligon

Used 8+ 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

Give an example of Boolean in JavaScript.

true
10
"Hello World"
undefined

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Check all the comparison operators.

==

>

!=
!==

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbols represents the and operator in JavaScript?

&&
||
&
and

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbols represents the or operator in JavaScript?

||
&&
OR
|

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of statement allows us to run a block of code only if a certain condition is true?

If statement
For loop
While loop
Function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of statement allows us to run one block of code if one condition is true, and a separate block of code otherwise?

For loop
While loop
If-else statement
Switch statement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we check if a variable num is even?

num % 2 == 0
num / 2 == 0
num * 2 == 0
num - 2 == 0

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?