Conditional Statements

Conditional Statements

Professional Development

5 Qs

quiz-placeholder

Similar activities

[FE] Ice Breaking - JavaScript Control Flow

[FE] Ice Breaking - JavaScript Control Flow

Professional Development

10 Qs

DECI – WEEK#8 – QUEST#3

DECI – WEEK#8 – QUEST#3

Professional Development

3 Qs

IT Support Service Level-3 p-3

IT Support Service Level-3 p-3

Professional Development

10 Qs

Conditional Statements

Conditional Statements

Assessment

Quiz

Information Technology (IT)

Professional Development

Easy

Created by

Justus Gan

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

In an IF statement, the expression is _ _ _ _ _ _ _ if the condition is false.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

In an IF - ELSE statement if the condition is false, the indented expression under _ _ _ _ will be printed.

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

In an IF - ELIF - ELSE statement, the ELIF keyword allows you to check _ _ _ _ _ _ _ _ conditions.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Complete the following code to check if a number is positive

number is positive

number is more than zero

number > 0

number == > 0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the output of the following code be?

num1 and num2 are equal

num1 is greater than num2

num2 is greater than num1

num1 is greater than num2

num2 is greater than num1