Examplary
Start for free
Oak ComputingTest · Computing

Functions

The starter and exit quiz of the lesson “Functions”, from the unit “Programming: subroutines” (Year 10 Computing) by Oak National Academy.

Free to use. Edit it, share it and hand it out to your students.

Oak National Academy

12 questions

  1. A ___ is a section of code that performs a specific task.
  2. What is the correct syntax for defining a procedure in Python?
  3. What is the difference between a procedure and a function?
  4. Match the terms to the definitions.
  5. The values passed to a procedure when it is called are called ___.
  6. The variables defined inside a procedure are called ___.
  7. What is the primary purpose of a function in programming?
  8. Which keyword is used to define a function in Python?
  9. What are the values passed to a function called?
  10. Match the following terms and definitions.
  11. A function can have __________ parameters.
  12. The keyword used to send a value back from a function is ___.

License: OGL

Functions · Examplary