JavaScript Control Structures Basic

JavaScript Control Structures Basic

12th Grade

20 Qs

quiz-placeholder

Similar activities

JS mainīgie

JS mainīgie

9th - 12th Grade

15 Qs

Database Basics v2 N5

Database Basics v2 N5

1st - 12th Grade

20 Qs

STARFIELD MID-TERM 2

STARFIELD MID-TERM 2

9th - 12th Grade

15 Qs

Program Implementation

Program Implementation

10th - 12th Grade

15 Qs

Remidi PAS SISKOM 2019/2020

Remidi PAS SISKOM 2019/2020

12th Grade

20 Qs

แบบทดสอบ ผังงานทำซ้ำ

แบบทดสอบ ผังงานทำซ้ำ

10th - 12th Grade

20 Qs

PHP TEST 2

PHP TEST 2

1st Grade - Professional Development

20 Qs

PBO (Pewarisan, polimorfisme, interface)

PBO (Pewarisan, polimorfisme, interface)

8th - 12th Grade

16 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

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?