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
Create a free account and access millions of resources
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
Plant Structure and Function Review
Flashcard
•
9th - 12th Grade
15 questions
Free time activities
Flashcard
•
9th - 12th Grade
15 questions
Study Habits
Flashcard
•
9th - 12th Grade
15 questions
cars
Flashcard
•
KG - University
17 questions
V is for vampire
Flashcard
•
10th Grade
16 questions
Flashcards Vocabulary Unit 1
Flashcard
•
11th Grade
15 questions
Biology EOC prep test
Flashcard
•
10th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
85 questions
Word Processing Review
Quiz
•
8th - 9th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
31 questions
Python Conditionals Review
Quiz
•
9th - 12th Grade