CSP - Review Programming with Karel

CSP - Review Programming with Karel

Assessment

Quiz

Specialty, Computers

9th - 12th Grade

Medium

Created by

Tiffany Jones

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which of these is a valid Karel command?

move;
move;
MOVE
move();
move()

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

In the following code snippet, how many times is the turnRight function called and how many times is it defined?

Called 1 time, defined 1 time

Called 1 time, defined 3 times

Called 3 times, defined 1 time

Called 3 times, defined 3 times

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

How many times should the start function be defined in a program?

0 times

1 time

2 times

Howevery many you like

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

How many times should the start function be called in a program?

0 times

1 time

2 times

However many you like

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Why do we use functions in programming?

Break down our code into smaller parts

Avoid repeating code

Make our program more readable

All of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is top down design?

Top down design is a way of designing your program by starting with the biggest problem and breaking it down into smaller and smaller pieces that are easier to solve.

Top down design is a way that you can create designs on a computer to put on a web page

Top down design is a way of designing your programs starting with the individual commands first

Top down design is a way to use loops and classes to decompose the problem

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the error with the following function definition?

funtionc coverDot() {

move();

putBall();

turnLeft();

}

The D should not be capitalized

The word “function” is misspelled

The curly brackets are missing

There are too many commands

Access all questions and much more by creating a free account

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

Already have an account?