Which function will turn Karel around? Options: function turnAround() { turnLeft(); turnLeft(); turnLeft(); } function turnAround() { turnLeft(); turnLeft(); turnLeft(); } function turnAround() { turnLeft(); turnLeft(); turnleft(); }
CodeHS Karel the Dog Test December '24

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

27 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
function turnAround() { turnLeft(); turnLeft(); turnLeft(); }
2.
FLASHCARD QUESTION
Front
How do we get a function to run in our program?
Back
We call it when we want to use it in a program
3.
FLASHCARD QUESTION
Front
Which is the correct code? Options: turnLeft(); putBall(); move(): putBall(); move();, turnLeft(); putBall() move() putBall: move();, turnLeft(); putBall(); move(): putall: move();
Back
turnLeft(); putBall(); move(): putBall(); move();
4.
FLASHCARD QUESTION
Front
Karel is stood at position (dot) 0,0. What position is the dot 2 places after Karel and 1 up?
Back
2,1
5.
FLASHCARD QUESTION
Front
I want Karel to move, drop a ball and move once again. Which is the correct code? Options: function dropball(){ move(); putball(); move(); } , function dropball(){ putBall); putBall(); move(); } , function dropball(){ move(); putBall(); move(); }
Back
function dropball(){ move(); putBall(); move(); }
6.
FLASHCARD QUESTION
Front
I need Karel to get to coordinate 0,3. Which code is correct? Options: move(); turnLeft(); move(); move(); turnLeft(); move(); move(); move(); move(); move(); turnLeft(); move(); turnLeft();
Back
turnLeft(); move(); move(); move();
7.
FLASHCARD QUESTION
Front
What is the least number of times Karel needs to move forward (East) to complete this program? she starts at 0,0
Back
3
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Paquette's Basketball Unit

Flashcard
•
9th - 12th Grade
21 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
20 questions
JavaScript Math

Flashcard
•
9th - 11th Grade
18 questions
Scratch Programming

Flashcard
•
9th - 12th Grade
20 questions
Newtons laws

Flashcard
•
9th - 12th Grade
20 questions
Code.org Express 1 - BLOCKLY

Flashcard
•
KG - University
25 questions
JavaScript Console & Graphics Review

Flashcard
•
9th - 12th Grade
19 questions
Review 1

Flashcard
•
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
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
10 questions
Identifying equations

Quiz
•
KG - University