if statements

if statements

9th Grade

6 Qs

quiz-placeholder

Similar activities

Java If Else

Java If Else

9th - 12th Grade

10 Qs

Fund of CS _ 2.1 - 2.10 Assessment

Fund of CS _ 2.1 - 2.10 Assessment

9th - 12th Grade

10 Qs

Karel Final

Karel Final

9th - 12th Grade

10 Qs

Y8 Java (Karel the dog)

Y8 Java (Karel the dog)

8th - 9th Grade

10 Qs

Karel Quiz Review

Karel Quiz Review

9th - 12th Grade

8 Qs

CodeHS 2.11 If Statements

CodeHS 2.11 If Statements

9th - 12th Grade

10 Qs

If Then Statements

If Then Statements

9th - 12th Grade

11 Qs

Karel Commands

Karel Commands

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