if statements

if statements

9th Grade

6 Qs

quiz-placeholder

Similar activities

If-Else in Java

If-Else in Java

9th - 12th Grade

10 Qs

Робот Карел

Робот Карел

9th Grade

10 Qs

CodeHS 2.6 Booleans

CodeHS 2.6 Booleans

9th Grade

10 Qs

Paper Practice 2

Paper Practice 2

9th - 12th Grade

10 Qs

Coding Karel 1

Coding Karel 1

KG - University

6 Qs

Computing Creative Design Quiz

Computing Creative Design Quiz

2nd Grade - University

11 Qs

Karel If Statement

Karel If Statement

9th - 12th Grade

11 Qs

Karel Adventures

Karel Adventures

9th - 12th Grade

10 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