Conditional Statements

Conditional Statements

Professional Development

5 Qs

quiz-placeholder

Similar activities

Python Conditional and Looping Statements Quiz

Python Conditional and Looping Statements Quiz

Professional Development

10 Qs

Câu hỏi về lệnh if trong Python

Câu hỏi về lệnh if trong Python

Professional Development

6 Qs

Modelo 3D

Modelo 3D

Professional Development

9 Qs

Java Fundamentals - Exame Final - Seção 5 (Estrutura do Program)

Java Fundamentals - Exame Final - Seção 5 (Estrutura do Program)

Professional Development

6 Qs

Correctness and Robustness

Correctness and Robustness

Professional Development

10 Qs

ID-Request Form Quiz

ID-Request Form Quiz

Professional Development

6 Qs

4th Formatie Assessment CBT&A Level 4, Bogura TTC

4th Formatie Assessment CBT&A Level 4, Bogura TTC

Professional Development

10 Qs

Kelompok 1 - Data Science Batch 28

Kelompok 1 - Data Science Batch 28

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