Comp Sci 2 9wks exam Review

Comp Sci 2 9wks exam Review

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Barcode

Barcode

1st - 10th Grade

20 Qs

Yearbook Final

Yearbook Final

9th Grade

20 Qs

Lesson 9: Creating Animations, Working with Graphics, and Access

Lesson 9: Creating Animations, Working with Graphics, and Access

12th Grade

20 Qs

8th grade CS exam

8th grade CS exam

7th - 9th Grade

20 Qs

CORE Module 10 Intro to Material Handling Trade Terms (25)

CORE Module 10 Intro to Material Handling Trade Terms (25)

9th - 12th Grade

20 Qs

CPA 4NT Paper 1 Quiz 3 (AMKSS)

CPA 4NT Paper 1 Quiz 3 (AMKSS)

10th - 12th Grade

20 Qs

PAS  T2

PAS T2

12th Grade

20 Qs

Pemprograman

Pemprograman

10th Grade

20 Qs

Comp Sci 2 9wks exam Review

Comp Sci 2 9wks exam Review

Assessment

Quiz

Instructional Technology

9th - 12th Grade

Practice Problem

Easy

Created by

Misty Page

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

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?

balls_present()

front_is_clear()

left_is_blocked()

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?