Programming with Karel Flashcard
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
r norman
Used 1+ times
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following commands is a valid Karel command? Options: 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
What is the correct way to define a turnRight function in Karel?
Back
function turnRight() { turnLeft(); turnLeft(); turnLeft(); }
4.
FLASHCARD QUESTION
Front
Why do we use functions in Karel programs?
Back
All of the above
5.
FLASHCARD QUESTION
Front
If Karel starts at Row 1 and Column 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) move(); turnLeft(); putBall(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft();
Back
Row 1, Column 3, Facing North
6.
FLASHCARD QUESTION
Front
Karel starts at Row 1, Column 1, facing East. After calling the stairStep function twice, where will Karel be and what direction will Karel be facing?
Back
Row 3, Column 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? function main() { move(); dance(); move(); move(); turnLeft(); dance(); dance(); } function dance() { turnLeft(); move(); turnLeft(); turnLeft(); move(); turnLeft(); } main();
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
15 questions
ESS Final Exam Semester 1 2024
Flashcard
•
9th Grade - University
15 questions
Finding Zeros of Linear Functions
Flashcard
•
9th Grade - University
16 questions
Module 5 Test Remediation
Flashcard
•
9th Grade - University
15 questions
Parts of a Sentence
Flashcard
•
KG - University
15 questions
Slope: Mixed Review
Flashcard
•
KG - University
15 questions
English 1 Final Exam Study Flashcard
Flashcard
•
9th Grade - University
15 questions
thursday review
Flashcard
•
9th Grade - University
15 questions
Semester Exam 2024 Flashcard 1
Flashcard
•
9th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade