if statements

if statements

9th Grade

6 Qs

quiz-placeholder

Similar activities

IT 4.ZS Most

IT 4.ZS Most

5th - 9th Grade

8 Qs

CodeHS 2.6 Booleans

CodeHS 2.6 Booleans

9th Grade

10 Qs

Robot Fundamentals

Robot Fundamentals

9th - 12th Grade

10 Qs

Important Code Building Blocks Karel

Important Code Building Blocks Karel

9th Grade

8 Qs

Computer Lab Rules

Computer Lab Rules

5th - 11th Grade

10 Qs

Computer Troubleshooting

Computer Troubleshooting

7th - 9th Grade

11 Qs

Paper Practice 2

Paper Practice 2

9th - 12th Grade

10 Qs

Coding Karel 1

Coding Karel 1

KG - University

6 Qs

if statements

if statements

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Meera Alaryani

Used 2+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which conditional statement should be used for this situation:


Karel should drop a ball and then move forward until she reaches the end of the row.

if

if

if

if

else

none of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is possible to execute both the (block of) statements under if and the else clauses at the same time.

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ______________ checks its Boolean condition.

If the condition is true, the block(s) held inside it will run.

If the condition is false, the code inside the block will be ignored.

Media Image
Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which conditional statement should be used for this situation:


If there is a ball, Karel should take it. Then Karel should move forward.

if

if

if

if

else

none of these

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

These blocks are used to make decisions:

Media Image
Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which conditional statement should be used for this situation:


If there is a ball present, Karel should take it. If the front is clear, Karel should move forward.

if

if

if

if

else

none of these