
Programming with Karel
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

43 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? Options: It should end in a colon rather than a semicolon, The l should be a capital L, It should start with a capital T, This command is correct
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 { turnLef(); turnLeft(); turnLeft(); } , function turnRight() { turnLeft(); turnLeft(); turnLeft(); } , function turnRight { turnRight(); turnRight()); turnRight(); } , 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
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)
Back
Row 1, Column 3, Facing North
6.
FLASHCARD QUESTION
Front
Karel starts at Row 1 and 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? 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
40 questions
KIMIA - USP 2023/2024
Flashcard
•
12th Grade
35 questions
DOMINIO Y RANGO DE FUNCIONES ALGEBRAICAS
Flashcard
•
12th Grade
34 questions
Flashcard sobre Estado e Nação
Flashcard
•
11th Grade
44 questions
Vocabulary Flashcards
Flashcard
•
10th Grade
35 questions
Direct and indirect speech
Flashcard
•
8th - 9th Grade
36 questions
Gene Regulation
Flashcard
•
12th Grade
30 questions
Predicado e Classes de Palavras
Flashcard
•
9th Grade
42 questions
Revolução Francesa: Flashcards
Flashcard
•
11th Grade
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