
![[1.2-1.9] [AP CSP Python] Karel] Intro to Programming](https://cf.quizizz.com/img/wayground/activity/activity-square.jpg?w=200&h=200)
[1.2-1.9] [AP CSP Python] Karel] Intro to Programming
Presentation
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Chris McDonald
Used 3+ times
FREE Resource
110 Slides • 48 Questions
1
Log into codeHS
You can get there from the school portal,
If its not there, go directly to my CodeHS:
1st Period:
Try loging in with your School Gmail
If that does not work, create new login with your personal professional email.
2
3
Open Ended
Why do you think it is important to learn how to give commands to Karel?
4
Replace this with a header
Replace with sub-header
Replace this with your body text. Duplicate this text as many times as you would like. All provided templates can be reused multiple times. Wish you a good day.
Happy teaching!
5
Multiple Choice
What is programming compared to in the introduction to Karel?
Giving commands to a dog
Playing tennis
Drawing pictures
Feeding a pet
6
7
8
Multiple Choice
Why do you think it is important to learn how to give commands to Karel?
Because it helps us understand how computers follow instructions
Because Karel is a real dog we need to train
Because it is required for all school subjects
Because it is just for fun with no learning involved
9
10
11
Open Ended
Explain how the command move() changes Karel's position in the world. Give an example.
12
Fill in the Blanks
Type answer...
13
Multiple Select
Which of the following actions can Karel perform in its world?
Move around
Put down tennis balls
Fly
Turn invisible
14
Multiple Choice
Which Karel command would you use to make Karel turn to face a different direction without moving from its current spot?
move()
turn_left()
put_ball()
take_ball()
15
16
Multiple Choice
What happens when Karel executes the put_ball() command?
Karel moves forward one space.
Karel turns left.
Karel places a ball on its current spot.
Karel picks up a ball from its current spot.
17
18
Multiple Choice
Which Karel command allows Karel to pick up an object from its current location?
move()
turn_left()
put_ball()
take_ball()
19
20
Multiple Select
Which of the following are true about writing Karel commands?
Commands must have no spaces.
Commands must match exact capitalization.
Commands can end with any symbol.
Every command ends in ().
21
Fill in the Blanks
Type answer...
22
23
Open Ended
Describe the sequence of actions Karel must take to go from the starting world to the ending world as shown.
24
25
26
Multiple Choice
Which command would you use to make Karel move forward one space?
move()
turn_left()
put_ball()
take_ball()
27
Multiple Choice
Which Karel command would you use to make Karel rotate 90 degrees to the left?
move()
turn_left()
put_ball()
take_ball()
28
Open Ended
How do the concepts of 'street' and 'avenue' help in navigating Karel's World?
29
Multiple Choice
What is the purpose of the walls in Karel's World as shown in the images?
To mark boundaries and obstacles for Karel
To show where Karel can collect beepers
To indicate Karel's starting position
To display the direction Karel is facing
30
Multiple Choice
What happens when the put_ball() command is executed by Karel?
Karel moves forward one space.
Karel turns to the left.
Karel places a ball on its current spot.
Karel picks up a ball from its current spot.
31
Multiple Choice
Which command should Karel use to pick up a ball from its current location?
move()
turn_left()
put_ball()
take_ball()
32
33
Open Ended
Describe a possible sequence of moves and actions Karel could take to go from the starting world to the ending world in the last image.
34
Fill in the Blanks
Type answer...
35
Multiple Select
Which of the following are rules for writing Karel commands?
No spaces in commands
Commands must match exact capitalization
Commands can have numbers
Every command ends in ()
36
Fill in the Blanks
Type answer...
37
38
Multiple Choice
How can Karel simulate turning right if the turn_right() command is not available?
By turning left three times
By moving forward and turning left
By turning left once
By turning around
39
Multiple Choice
Why can't Karel use the command turn_right()?
Because Karel's programming does not include turn_right()
Because turn_right() is a dangerous command
Because Karel can only move forward
Because Karel can only turn left
40
Open Ended
Describe the sequence of commands Karel would need to use to go from the starting world to the ending world as shown.
41
42
43
Multiple Choice
What is the main purpose of using functions when programming Karel?
To teach Karel new commands and simplify code
To make Karel move faster
To change Karel's appearance
To increase the number of beepers Karel can carry
44
Multiple Select
Which of the following are other names for a function as described in the lesson?
Procedure
Task
Process
Loop
45
Fill in the Blanks
Type answer...
46
Open Ended
Explain why teaching Karel new commands, like turn_right(), might be useful when solving problems.
47
48
49
50
Multiple Choice
Which directions can Karel face in his world?
North, South, East, West
Up, Down, Left, Right
Forward, Backward, Left, Right
North, East, South, Up
51
52
Multiple Choice
When Karel is facing East and executes turn_left(), which direction will Karel face?
North
West
South
East
53
54
55
56
57
58
Multiple Choice
How can you make Karel turn right if there is no turn_right() command?
Use turn_left() three times
Use turn_left() two times
Use turn_left() four times
Use move() and turn_left()
59
Multiple Choice
Why can't Karel use the command turn_right()?
Because Karel is only programmed to turn left
Because turn_right() is not a valid command for Karel
Because Karel can only move forward
Because Karel can only turn around
60
61
Open Ended
Explain why it might be useful to define a new function for Karel to turn right, even though there is no built-in turn_right() command.
62
63
Fill in the Blanks
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Multiple Choice
Why do we use functions in programming?
Break down our program into smaller parts
Avoid repeating code
Make our program more readable
All of the above
84
Multiple Choice
What is top down design?
Top down design is a way of designing your program by starting with the biggest problem and breaking it down into smaller and smaller pieces that are easier to solve.
Top down design is a way that you can create designs on a computer to put on a web page
Top down design is a way of designing your programs starting with the individual commands first
Top down design is a way to use loops and classes to decompose the problem
85
86
87
88
89
90
91
92
Multiple Choice
What is a code comment?
A way to teach Karel a new word
A way to give notes to the reader to explain what your code is doing
A message to your teacher in code
A place to write whatever you want in your code
93
Multiple Choice
Why are preconditions and postconditions important in comments?
They are ignored by the compiler
They ensure the code always works.
They clarify function behavior and assumptions.
They are only for debugging purposes.
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
Multiple Choice
Each of the following answer choices describes a basketball game. Which answer choice describes the game with the lowest level of abstraction?
he Warriors had an early lead, but were down by 4 at halftime. They tied it up in the 4th quarter and the game went into overtime. They won by 10 points in overtime.
First, Steph Curry jumped in the air and grabbed the ball. Then he dribbled it three times and passed it to Klay Thompson…
First, Steph Curry flexed his left and right quad muscles at the exact same time, then he flexed each muscle in his fingers…
he Warriors won by 10 points.
124
Multiple Choice
Karel needs to pick up a pile of tennis balls. Which of the following program functions solves the problem at the highest level of abstraction?
125
126
127
Multiple Choice
What commands does SuperKarel know that regular Karel does not?
turn_left() and jump()
turn_right() and jump()
turn_around() and turn_right()
turn_around() and jump()
128
129
130
Open Ended
What is one thing you learned about Karel today, and what would you like to know more about?
131
Multiple Choice
What is Karel?
A cat who solves puzzles
A robot who builds houses
A dog who listens to your commands
A bird who flies in mazes
132
133
134
135
136
137
138
139
Open Ended
How do functions serve as a form of abstraction in programming?
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
Multiple Choice
Which function will teach Karel how to spin in a circle one time?
def spin():
turn_left() turn_left() turn_left() turn_left()
157
Multiple Choice
What do we use control structures for in Python?
control the flow of the program; how the commands execute.
Start our Python program
Store information for later
Teach Karel new commands
158
Multiple Select
Which of the below are examples of control structures?
IF
IF/ELSE
WHILE
FOR
Log into codeHS
You can get there from the school portal,
If its not there, go directly to my CodeHS:
1st Period:
Try loging in with your School Gmail
If that does not work, create new login with your personal professional email.
Show answer
Auto Play
Slide 1 / 158
SLIDE
Similar Resources on Wayground
151 questions
IGCSE Computer Science Unit 2
Presentation
•
9th - 12th Grade
151 questions
Core 3.3 Iron and steel industry in China
Presentation
•
11th Grade
143 questions
Law & Justice- Crime
Presentation
•
9th - 12th Grade
157 questions
untitled
Presentation
•
KG - University
160 questions
Medical Term Chapter 18 Endocrine System
Presentation
•
11th Grade
159 questions
Bio Organisms and Evolution Review
Presentation
•
9th - 12th Grade
156 questions
Introduction to American Government
Presentation
•
11th Grade - Professi...
153 questions
Anatomy 3d Implantation development
Presentation
•
11th - 12th Grade
Popular Resources on Wayground
19 questions
Naming Polygons
Quiz
•
3rd Grade
10 questions
Prime Factorization
Quiz
•
6th Grade
20 questions
Math Review
Quiz
•
3rd Grade
15 questions
Fast food
Quiz
•
7th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade