
CodeHS Programming Review
Flashcard
•
Other
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following commands is a valid Karel command? move, move;, move();, move()
Back
move();
2.
FLASHCARD QUESTION
Front
Why is the following command an invalid Karel command? turnleft();
Back
The l should be a capital L
3.
FLASHCARD QUESTION
Front
Which of the following is the correct way to define a turnRight function in Karel? Options: function turnRight() { turnLeft(); turnLeft(); turnLeft(); }, function turnRight() { turnRight(); turnRight(); turnRight(); }, function turnRight { turnLeft(); turnLeft(); turnLeft(); }, turnRight function() { turnLeft(); turnLeft(); turnLeft(); }
Back
function turnRight() { turnLeft(); turnLeft(); turnLeft(); }
4.
FLASHCARD QUESTION
Front
Why do we use functions in Karel programs?
Back
Break down our program into smaller parts, Avoid repeating code, Make our program more readable, All of the above
5.
FLASHCARD QUESTION
Front
If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size)
Back
Street 1, Avenue 3, Facing North
6.
FLASHCARD QUESTION
Front
Karel starts at Street 1 and Avenue 1, facing East. After calling the stairStep function twice, where will Karel be and what direction will Karel be facing?
Back
Street 3, Avenue 3, Facing East
7.
FLASHCARD QUESTION
Front
In this code, how many times is the dance function called and how many times is it defined? Options: Called 1 time, defined 1 time; Called 1 time, defined 3 times; Called 3 times, defined 1 time; Called 3 times, defined 3 times
Back
Called 3 times, defined 1 time
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
20 questions
Letter From Birmingham Jail
Flashcard
•
9th - 11th Grade
18 questions
Function Review
Flashcard
•
8th - 12th Grade
15 questions
0-5 Ten Frames
Flashcard
•
KG
23 questions
French Numbers 0-30
Flashcard
•
KG - University
20 questions
AP CSA unit 1 review
Flashcard
•
11th Grade - University
22 questions
Transformations of functions
Flashcard
•
10th Grade
15 questions
Dna Transcription and Translation
Flashcard
•
9th - 10th Grade
20 questions
Erosion & Deposition Flashcard Review
Flashcard
•
KG - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Los mandatos y las recetas
Lesson
•
11th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade