Which function will turn Karel around?
Y8 Java (Karel the dog)

Quiz
•
Computers
•
8th - 9th Grade
•
Hard
matthew dallimore
Used 53+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
function turnAround()
turnLeft();
turnLeft();
turnLeft();
}
function turnAround(){
turnLeft();
turnLeft();
turnLeft();
}
function turnAround(){
turnLeft();
turnLeft();
turnleft();
}
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do we get a function to run in our program?
We write it when we want to use it in a program
We call it when we want to use it in a program
We can set a time for it to run
It runs automatically
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which is the correct code?
turnLeft();
putBall();
move():
putBall();
move();
turnLeft();
putBall()
move()
putBall:
move();
turnLeft();
putBall();
move():
putall:
move();
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Karel is stood at position (dot) 0,0. What position is the dot 2 places after Karel and 1 up?
2,1
1,2
0,2
2,0
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
I want Karel to move, drop a ball and move once again. Which is the correct code?
function dropball(){
move();
putball();
move();
}
function dropball(){
putBall);
putBall();
move();
}
function dropball(){
move();
putBall();
move();
}
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
I need Karel to get to coordinate 0,3. Which code is correct?
move();
turnLeft();
move();
move();
turnLeft();
move();
move();
move();
move();
turnLeft();
move();
turnLeft();
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the least number of times Karel needs to move forward (East) to complete this program? she starts at 0,0
2
3
4
5
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Karel Quizzes 1-5 (Command - Start)

Quiz
•
9th - 12th Grade
7 questions
Basic Karel Review

Quiz
•
9th - 12th Grade
9 questions
Programming with Karel

Quiz
•
9th - 12th Grade
7 questions
If statements

Quiz
•
6th - 8th Grade
10 questions
AP CSP Worksheet 1

Quiz
•
9th - 12th Grade
15 questions
Karel Unit 1 & 2 Review

Quiz
•
6th - 8th Grade
11 questions
Unit 2 Knowledge Test Make Up

Quiz
•
9th - 12th Grade
12 questions
Codehs

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade