Search Header Logo

IF-THEN-ELSE and REPEAT UNTIL Quiz

Authored by kakeeto enock

Computers

5th Grade

Used 7+ times

IF-THEN-ELSE and REPEAT UNTIL Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an IF statement do?

Repeats a task forever

Checks a condition and decides what to do

Stops a program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an IF-THEN-ELSE statement, what happens if the condition is true?

The program stops

The THEN part runs

The ELSE part runs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an IF-THEN-ELSE statement, what happens if the condition is false?

The ELSE part runs

The THEN part runs

Nothing happens

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of an IF-THEN-ELSE statement?

"If it is raining, take an umbrella. Otherwise, wear a hat."

"Keep jumping until you are tired."

"Take one step forward."

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ELSE part of an IF-THEN-ELSE do?

It does nothing

It runs if the IF condition is false

It always runs

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a condition that an IF-THEN-ELSE could check?

If the temperature is above 30°C

If the computer is hungry

If a button is pressed

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this program do? IF the light is red THEN stop ELSE go

Stop if the light is red, go otherwise

Always stop

Always go

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?