

2.18.1 Introduction to Programming Unit Flashcard
Flashcard
•
Computers
•
7th Grade
•
Practice Problem
•
Easy
Wayground Content
Used 2+ times
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What makes the following command an invalid Karel command?
turnleft();
Back
The l should be a capital L
2.
FLASHCARD QUESTION
Front
Which of the following commands is a valid Karel command? move, move;, move();, move()
Back
move();
3.
FLASHCARD QUESTION
Front
Which of the following is the correct way to define a turnRight function in Karel? Options: Option 1, Option 2, Option 3, Option 4
Back
Option 1
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 Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code?
Back
Street 1, Avenue 3, Facing North
6.
FLASHCARD QUESTION
Front
What’s wrong with this code? Options: The go function is called twice, The go function has a syntax error, The go function has been defined twice, The go is not a command that Karel understands
Back
The go function has been defined twice
7.
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
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?