CodeHS unit 1 Quiz

CodeHS unit 1 Quiz

10th Grade

25 Qs

quiz-placeholder

Similar activities

Code HS 3.19 Intro to Programming w/Karel

Code HS 3.19 Intro to Programming w/Karel

9th - 12th Grade

25 Qs

Karel Adventures

Karel Adventures

7th - 12th Grade

25 Qs

Karel the Dog Code Quiz

Karel the Dog Code Quiz

9th - 12th Grade

25 Qs

CFU 2.1 - Karel Python CodeHS (mod 1-5)

CFU 2.1 - Karel Python CodeHS (mod 1-5)

9th - 12th Grade

30 Qs

Karel the Dog Code Quiz

Karel the Dog Code Quiz

9th - 12th Grade

30 Qs

Karel Adventures

Karel Adventures

9th - 12th Grade

30 Qs

Karel the Dog Review

Karel the Dog Review

9th - 12th Grade

20 Qs

Programming With Karel Vocabulary Quiz

Programming With Karel Vocabulary Quiz

9th - 12th Grade

20 Qs

CodeHS unit 1 Quiz

CodeHS unit 1 Quiz

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Akhil Sivamal

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's wrong with this code

The go function is called twice

The go function has a syntax error

The go function has been defined twice

go is not a command that Karel understands

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many total times will Karel move in this program

1

5

6

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this for loop?

a: the for loop uses a semicolon(;) instead of colon(:)

b: it should say range(5) instead of range = 5

A

B

A and B

The for loop is correct

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper format for a single line comment in Karel

#This is a comment

//This is a comment

/*This is a comment

This is a comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the mystery function do

Karel moves until it is on a ball

Karel moves once if there is no ball present

Karel moves until it puts down a ball

  1. Karel checks if there is no ball on the current spot and then moves once

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid condition to go in an if statement for Karel

  1. balls_present()

  1. front_is_clear()

  1. left_is_blocked()

  1. turn_left()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Say Karel is on a location with one tennis ball. After the following code runs, how many tennis balls will there be at that location?

0

1

2

6

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?