JavaScript Control Structures Basic

JavaScript Control Structures Basic

12th Grade

20 Qs

quiz-placeholder

Similar activities

JavaScript

JavaScript

9th - 12th Grade

15 Qs

JavaScript Bootcamp

JavaScript Bootcamp

9th - 12th Grade

15 Qs

Basic JavaScript Review

Basic JavaScript Review

9th - 12th Grade

20 Qs

Unit 7- Lesson 11: Assessment Day

Unit 7- Lesson 11: Assessment Day

9th - 12th Grade

15 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

AP Computer Science A Post Unit 2 Check

AP Computer Science A Post Unit 2 Check

10th Grade - University

18 Qs

Functions and Parameters Quiz

Functions and Parameters Quiz

9th - 12th Grade

15 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

JavaScript Control Structures Basic

JavaScript Control Structures Basic

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Angel Ligon

Used 8+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?