
CodeHS Karel the Dog Test December '24
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

27 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which function will turn Karel around? Options: function turnAround() { turnLeft(); turnLeft(); turnLeft(); } function turnAround() { turnLeft(); turnLeft(); turnLeft(); } function turnAround() { turnLeft(); turnLeft(); turnleft(); }
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
18 questions
World War I
Flashcard
•
10th Grade
20 questions
Present vs past participle
Flashcard
•
KG
20 questions
Vocabulary Flashcards
Flashcard
•
9th - 12th Grade
22 questions
Grade 6 1.5 listos directions and commands, places
Flashcard
•
KG
16 questions
Từ vựng cơ bản (g9)
Flashcard
•
9th - 12th Grade
18 questions
Operating Systems and Human-Computer Interfaces
Flashcard
•
9th - 12th Grade
15 questions
CBA #2 Lots-O-Questions REVIEW!
Flashcard
•
9th Grade - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade