CodeHS 2.11 If Statements

CodeHS 2.11 If Statements

9th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Java If Else

Java If Else

9th - 12th Grade

10 Qs

Karel Commands Quiz

Karel Commands Quiz

12th Grade

9 Qs

Python Recap

Python Recap

9th - 12th Grade

15 Qs

Fund of CS _ 2.1 - 2.10 Assessment

Fund of CS _ 2.1 - 2.10 Assessment

9th - 12th Grade

10 Qs

CodeHS Karel Python

CodeHS Karel Python

9th - 12th Grade

16 Qs

Karel Final

Karel Final

9th - 12th Grade

10 Qs

Python Syntax

Python Syntax

10th Grade

16 Qs

Karel Quizzes 1-5 (Command - Start)

Karel Quizzes 1-5 (Command - Start)

9th - 12th Grade

10 Qs

CodeHS 2.11 If Statements

CodeHS 2.11 If Statements

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Aaron Pavao

Used 26+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which of these inputs will cause something to print to the screen?

3

23

0

-5

-1

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What will be printed if this code is executed and the user enters 23?

3.

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 there is no ball present, Karel should turn around.

if

if

if

if

else

none of these

4.

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

5.

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which conditional statement should be used for this situation:


If the front is clear, Karel should move. Otherwise, Karel should turn around.

if

if

if

if

else

none of these

7.

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?