Name:     ID: 
 
Email: 

Python Quiz 1

Completion
Complete each statement.
 

 1. 

_______________ are common when typing code. If there are mistakes in your code you will get an error message.
 

 

 2. 

_________________ is writing instructions for computers.
 

 

 3. 

_________________ is a function that will print anything you put in the brackets.
 

 

 4. 

If you use two forward slashes instead of one in dividing, Python will produce a(n) __________ as an answer.
 

 

 5. 

In Python the mathmatical operator % is called the __________.
 

 

 6. 

To repeat in Python use a ________ loop.
 

 

 7. 

A(n) ____________ is a space in the computer’s memory where it can store a string or an integer.
 

 

 8. 

Two equal signs together or a greater than symbol are both examples of ______________________.
 

 

 9. 

To add comments to your code use the _____ symbol.
 

 

 10. 

To get user input in Python use the _________ function.
 

 

 11. 

____________ are the values that you provide for a function to do its task.
 

 

 12. 

A(n) __________ is a file that gives you access to a number of functions that you do not have to write yourself.
 

 

 13. 

Variables that are outside of any function are available throughout the program and are called _______ variables.
 

 

 14. 

Variables that are declared inside a function and are not available outside their function are called ______ variables.
 

 

 15. 

The process of converting one data type into another is called ________.
 

 



 
         Start Over