KM | W11D2

KM | W11D2

Professional Development

5 Qs

quiz-placeholder

Similar activities

King Von Quiz

King Von Quiz

KG - Professional Development

10 Qs

Medical Terminology

Medical Terminology

Professional Development

7 Qs

Medicare Part B Clerical Error Reopenings

Medicare Part B Clerical Error Reopenings

12th Grade - Professional Development

10 Qs

Basic Microbit

Basic Microbit

11th Grade - Professional Development

10 Qs

Scratch Contest

Scratch Contest

KG - Professional Development

10 Qs

REPAIRS VS ALTERATIONS

REPAIRS VS ALTERATIONS

Professional Development

10 Qs

Santa Claus 2.0

Santa Claus 2.0

KG - Professional Development

10 Qs

Endodontic and Periodontic

Endodontic and Periodontic

Professional Development

8 Qs

KM | W11D2

KM | W11D2

Assessment

Quiz

Other

Professional Development

Hard

Created by

Intan Lestari

Used 10+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is the purpose of conditional statements in JavaScript?

To loop through arrays

To declare variables

To execute a block of code a specified number of times

To perform different actions based on different conditions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to execute a block of code if a condition is false?

if

else

while

for

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the else if statement do?

Repeats a block of code while a condition is true

Declares a variable

Specifies a new condition to test, if the first condition is false

Executes a block of code a specific number of times

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop executes a block of code a specified number of times?

while

for

do...while

if

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary use of functions in JavaScript?

To perform a calculation and return a value

To store values

To create a new scope

To define reusable blocks of code that perform a specific task