Completion Complete each
statement.
|
|
1.
|
___________ appear in red in IDLE; these are aimed at people and begin with
the ___ symbol. (enter each blank in order with a comma between)
|
|
2.
|
A(n) _________ is a collection of useful functions and data in one place.
|
|
3.
|
In Python, create a variable by giving it a name and then assign data to it
using the ________________.
|
|
4.
|
A(n) ____________ is a piece of code that can be used again and again.
|
|
5.
|
A variable that stores only the values True or False is called a(n)
________________.
|
|
6.
|
_______ is Python’s version of elseif.
|
|
7.
|
In object oriented programming, if you build ________ in the correct way, you
can make libraries out of them.
|
|
8.
|
A(n) ___________ is just a special function that we make in a class.
|
|
9.
|
The properties or characteristics of an object are called _____________ or
_______________.(enter each blank with a comma separating)
|
|
10.
|
The ______ class is a tkinter factory that requires the arguments for a window,
background color, height, and width.
|
|
11.
|
Looking through any error messages that are output and checking your code is
called ___________.
|
|
12.
|
A variable that is created in a function is said to be a(n)
______________.
|
Short Answer
|
|
13.
|
Explain in your own words when to use classes.
|
|
14.
|
Explain in your own words how to use coordinates in Python.
|
|
15.
|
Explain what collision detection is and why you would use it in Python.
|