IT 116: Introduction to Scripting
Answers to Class 11 Ungraded Quiz

  1. Write a function header for function named max that takes two integers as parameters.
    def  max(num1, num2):
  2. Write an assignment statement that uses a function call to the function max, which takes two arguments, to give a value to the variable maximum. Use the values 5 and 10 in the function call.
    maximum = max(5, 10)
  3. What is a void function?
    a function that does not return a value
  4. What do you call the functions that are always available in Python and do not have to be imported?
    built-in functions