If Statements Review

If Statements Review

9th Grade

15 Qs

quiz-placeholder

Similar activities

If Then Statements

If Then Statements

9th - 12th Grade

11 Qs

Code HS Tech Apps and Coding

Code HS Tech Apps and Coding

9th - 12th Grade

12 Qs

JavaScript Knowledge & Skills

JavaScript Knowledge & Skills

9th - 12th Grade

15 Qs

IST CodeHS Unit 2 Robot Coding Review

IST CodeHS Unit 2 Robot Coding Review

9th - 12th Grade

20 Qs

Video Game Design: 2nd 9 Weeks Test Review

Video Game Design: 2nd 9 Weeks Test Review

9th - 12th Grade

18 Qs

JavaScript Basics CodeHS

JavaScript Basics CodeHS

7th - 12th Grade

20 Qs

JavaScript - Karel

JavaScript - Karel

9th - 10th Grade

20 Qs

If Statements Review

If Statements Review

Assessment

Quiz

Computers

9th Grade

Easy

Created by

PATRICIA LAMMERT

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using if statements and conditionals in Karel's programming?

To make Karel move faster

To adapt to different situations

To change Karel's appearance

To increase Karel's memory

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of questions can Karel ask about its world?

Is there a ball where Karel is standing?

Is Karel able to fly?

Can Karel swim?

Is Karel invisible?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one of the conditions Karel can check?

frontIsClear()

backIsClear()

rightIsClear()

topIsClear()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the condition frontIsBlocked() check for Karel?

If Karel's front is clear

If Karel's front is blocked

If Karel is facing north

If Karel is hungry

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are conditions important in Karel's programming?

They allow Karel to make decisions

They make Karel run faster

They change Karel's color

They increase Karel's size

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the condition leftIsBlocked()?

True if Karel's left is blocked

False if Karel's left is blocked

True if Karel's left is clear

False if Karel's left is clear

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of a question Karel might ask?

Is Karel facing north?

Can Karel jump?

Is Karel invisible?

Can Karel swim?

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?