Name:     ID: 
 
Email: 

Python Quiz 2

Completion
Complete each statement.
 

 1. 

A(n) ________ is a type of container that can store strings or integers that can be altered by other code.
 

 

 2. 

The _______ function listens to the keyboard entry and waits for the return key to be pressed.
 

 

 3. 

A(n) __________ goes through the indented code as many times as required.
 

 

 4. 

The _______ widget provides a box for entering text.
 

 

 5. 

Number types that can havee a decimal value are _______.
 

 

 6. 

Each value in a tuple is separated by a(n) ______.
 

 

 7. 

Information required by a function or widget is called a(n) _________.
 

 

 8. 

A(n) _______ is the equivalent of an index in a string, tuple, or list. It is defined by the programmer.
 

 

 9. 

Working out why code doesn’t work as expected is called _________.
 

 

 10. 

The number that references a value in a string, tuple, or list is a(n) ______.
 

 

 11. 

A(n) ______________ is a screen that allows a user to interact with their computer through graphics.
 

 

 12. 

To store the names of everyone in this class you should use a ______.
 

 

 13. 

A(n) ________ button applies a set function to a number.
 

 

 14. 

An unordered data type that stores values as key:value is a(n) _________.
 

 

 15. 

The ______ is used to assign a value to a variable in coding.
 

 

 16. 

A(n) ______ can store strings, integers and other data types and cannot be altered.
 

 

 17. 

The data container in which you create your own key is a(n) _________.
 

 

 18. 

___________ are the values passed to a function.
 

 

 19. 

If you are writing a tuple, use ________ brackets.
 

 

 20. 

__________ are number data types that cannot have decimal values and must be whole numbers.
 

 



 
         Start Over