if statements

if statements

9th Grade

6 Qs

quiz-placeholder

Similar activities

python

python

7th - 9th Grade

10 Qs

if/else statements quiz

if/else statements quiz

9th Grade - University

10 Qs

Karel Programming 1

Karel Programming 1

9th - 12th Grade

8 Qs

CodeHS 2.11 If Statements

CodeHS 2.11 If Statements

9th - 12th Grade

10 Qs

Karel Commands

Karel Commands

9th - 12th Grade

10 Qs

If-Else in Java

If-Else in Java

9th - 12th Grade

10 Qs

Karel Quiz Review

Karel Quiz Review

9th - 12th Grade

8 Qs

Computing Creative Design Quiz

Computing Creative Design Quiz

2nd Grade - University

11 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