Search Header Logo

Conditional Statements Quiz

Authored by Alexander Barus

Education

1st Grade

Used 1+ times

Conditional Statements Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use to check if something is true or not in programming?

Conditional Statements

Functions

Loops

Variables

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to start a conditional statement?

for

while

if

when

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'elif' stand for?

Every if

Equal if

End if

Else if

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we need to add after the condition in an if statement?

Semicolon

Colon

Period

Comma

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if the condition in an if-else statement is false?

The program will stop

Nothing will happen

The program will crash

The else statement will run

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'else' statement?

To repeat the code

To end the program

To run code if the if condition is false

To check another condition

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator checks if two values are equal?

>

==

<

!=

Access all questions and much more by creating a free account

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?