Coding Basics
Coordinate Systems
Programming Errors
Python Syntax
Programming Process
100

What should you do first: create a sprite or move the sprite?

Create the sprite

100

In the coordinate pair (150, -100), what is the x-coordinate?

150

100

What is a "bug" in programming?

An error or issue that causes the program to not function as intended?

100

How should an image label be formatted in Python code?

with parentheses, quotes, and lower case letters.

100

What is the first step in the problem-solving process?

What is the first step in the problem-solving process?

200

What is a common term for fixing errors in the code?

Debugging

200

In the coordinate pair (-250, 50), what is the y-coordinate?

50

200

What should you check if the integers in your code are not automatically turning blue?

Parentheses and no quotation marks

200

What code command will make it seem like a sprite is talking?

sprite.say(" ")?

200

What step follows after preparing a solution in the problem-solving process?

Try the solution

300

What color should text in quotes turn in the code editor?

Green

300

If a coordinate is on the x-axis, what must the y-coordinate be?

0

300

What should you check if your string (words) are not turning green in the code editor?

Parentheses and quotations marks.

300

What needs to be added to the code to make it function?

sprite.move_down()

an integer example: sprite.move_down(150) 

300

What step in the development process is sharing your code with classmates?

Publishing

400

What is the term for the set of rules that defines how a program will be written and interpreted?

Syntax

400

What code command sets a sprite's location to (-200, -200)?

sprite.go_to(-200, -200)

400

What is the bug in the following code: 

stage.set_background("winter")

sprite.set_size(0.4)

sprite.go_to(-200, -200)

sprite = codesters.Sprite("ufo")


The sprite is called AFTER sprite actions

400

What would adding a click event do to a sprite when you run the code?

makes the sprite do something if it is clicked on

400

What is the step in the development process where you create the actual code?

Building

500

When a sprite is created in Codesters, where does it appear by default in the coordinate plane?

(0,0)

500

What function moves a sprite to a new location gradually?

glide_to()

500

What is the problem with the following code:

sprite = codesters.Sprite("ufo")

sprite.go_to(-200 -200)

Missing comma between integers.

500

What should you always include around an image label in the code?

parentheses

500

In pair programming, who is responsible for coding or taking action?

the Driver