Name:     ID: 
 
Email: 

Python Final

Completion
Complete each statement.
 

 1. 

A(n) ______________ is a set of tools that makes writing programs easier.
 

 

 2. 

The _____________ function can display text, surrounded by quotes, that you put inside the pair of parentheses.
 

 

 3. 

Functions in Python also return or provide information back to the part of the program that called the function. These values are called ______________.
 

 

 4. 

_________________ helps you quickly understand what you've typed by visually categorizing it with color.
 

 

 5. 

____________ strings means joining them together to create a whole new string.
 

 

 6. 

_________ are whole numbers numbers with no fractional part.
 

 

 7. 

_______________ code is written in such a way that it's easy to understand what is happening in the program independent of any comments.
 

 

 8. 

Python generates random numbers based on a formula, so they are not truly random. This kind of random generation is called ________________ and is good enough for most applications
 

 

 9. 

A(n) _____________ is just an expression that is either true or false.
 

 

 10. 

Often, while loops are controlled by a ________________, a variable used in the condition and compared to some other value or values.
 

 

 11. 

Random access allows you to get to any element in a sequence directly. Fortunately, there's a way to randomly access elements of a sequence. It's called ___________.
 

 

 12. 

A(n) ________________ is a type of sequence that does everything a tuple can but is also mutable.
 

 

 13. 

Tuples are _________ than lists. In large program the speed difference could matter.
 

 

 14. 

_________ sequences are sequences inside other sequences.
 

 

 15. 

You access elements of a nested sequence just like any other sequence, through __________.
 

 

 16. 

Writing and calling functions practices what’s known as _____________.
 

 

 17. 

____________ are essentially variable names inside the parentheses of a fuction header.
 

 

 18. 

______________ represent different areas of your program that are separate from each other.
 

 

 19. 

The ___________ module allows you to store and randomly access pickled objects in a file.
 

 

 20. 

The most basic way to handle exceptions is to use the _____ statement with an except clause.
 

 

 21. 

_______________ programming is a different way of thinking about programming.
 

 

 22. 

Object oriented programming lets you represent real-lift objects as software objects with characteristics or ____________ in OOP-speak.
 

 

 23. 

The behaviors of an object are called ___________ in OOP-speak.
 

 

 24. 

In Object Oriented Programming, objects interact by _________ to each other.
 

 

 25. 

One of the key elements of Object Oriented Programming is _________, which allows you to base a new class on an existing one.
 

 

 26. 

A _____________ derives part of its definition from another class.
 

 

 27. 

You can extend a derived class by defining additional _______ in it.
 

 

 28. 

You can redefine how an inherited method works in a derived class. This is known as __________ the method.
 

 

 29. 

GUI elements are called ____________.
 

 

 30. 

One of the useful games module classes is _________ which is for graphics objects that can be displayed on the screen.
 

 



 
         Start Over