When you drag the block labeled Summer from the Stage toolkit, what is the line of code that you are writing?
sprite. set_background("summer")
stage.set_background("summer")
sprite = codesters.Sprite("summer)
stage.set_background("summer")
What will the following line of code produce in the output area:
sprite = codesters.Circle(x, y, 100, "purple")
A purple circle with the center at coordinates x=0 and y=0
Nothing, this is just a comment that the computer ignores
A purple circle with a diameter of 100 pixels
A blue circle, since “purple” is not a valid color in codesters
A purple circle with a diameter of 100 pixels
Debug the line of code
stage.set_background("city)
stage.set_background(city)
stage.set_background("city")
stage.set_background(("city))
stage.set_background(CITY)
stage.set_background("city")
sprite = codesters.Circle(0, 150, 100, "purple")
What is the diameter?
100
Which part of this code show the image label?
stage.set_background("summer")
stage
background
set_backgorund
"summer"
"summer"
What is the proper name of the values inside the parentheses in the following code:
sprite = codesters.Rectangle(0, 150, 450, 25, "red")?
Parameters
Function
Variable
Coordinates
Parameters
What is the x value in the coordinate pair (-50, 100)
100
50
-50
150
-50
Which option best describes how user input can impact our programs?
It forces the user to write their own program
It allows us to make programs interactive
It lets us grade the user on their work
User-input has no impact on our programs
It allows us to make programs interactive
Look at the code below and find the error. Fix the program so that the image label is written properly.
stage.set_background("city)
stage.set_background("city")
How do we make the astronaut in the code below move up?
tom = codesters.Sprite(''athlete1")
jerry = codesters.Sprite(''astronaut1")
sprite.move_up(100)
change jerry to sprite
change sprite.move_up() to tom.move_up()
change sprite.move_up() to jerry.move_up()
change sprite.move_up() to astronaut1.move_up()
change sprite.move_up() to jerry.move_up()
sprite.glide_to(-50, 100)
Which direction from center will the sprite move?
Left and Up
Left and Down
Right and Up
Right and Down
left and up
A character that is controlled by a program through code is referred to as a
animal
sprite
person
dojo
sprite
What will the code below produce in the output area?
sprite = codesters.Sprite("person1")
It will bring a sprite with the label "person1" to the stage and store it to the memory of the computer with variable name sprite.
How do you create a comment in Python?
Place ** at the beginning of the line
Place # at the beginning of the line
Place \\ at the beginning of the line
Place "" at the beginning of the line
Place # at the beginning of the line
What is MISSING from the following coordinate pair: (100 50)
A quote
A sprite
A parenthesis
A comma
A comma
A process where the programmer reviews the code and fixes these problems.
Collaborating
Recoding
Looping
Debugging
debugging
In the following line of code what is the variable name?
sprite = codesters.Rectangle(0, 150, 450, 25, "red")
codesters.Rectangle
0
variable1
sprite
sprite
In which section of the Toolkit would you find the move forward command?
action
stage
sprite
events
action
sprite = codesters.Circle(0, 150, 100, "purple")
What is the location?
(0,150)
100
0
150
(0,150)
Learning to code can help you achieve success in the following
Making Pizza
Program a Video Game
Call Your friend
Sing Christmas Songs
program video games