New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Python Functions Quiz

Quiz

Played 0

About this activity

Test your function know-how

Created by

India

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Python Functions Quiz
 

Python Functions QuizOnline version

Test your function know-how

by Shilpa Patil
1

What keyword is used to define a function in Python?

2

What does a return statement do inside a function?

3

How can a function accept a variable number of positional arguments?

4

What does *args capture inside a function?

5

What does a function return with no value after return?

6

What is a lambda function in Python?

7

How do you call a function from another module after importing it?

8

What does a default parameter value in a function signature do?

9

What is the purpose of a function docstring?

10

What is the correct syntax to raise an exception inside a function?

Feedback

def starts a function block in Python; other options are not valid Python keywords for defining functions.

return passes back a value to where the function was called; other options describe different actions.

*args collects extra positional arguments into a tuple; **kwargs is for keyword arguments.

*args bundles additional positional args into a tuple; not a list or keyword args.

An explicit return with no value returns None in Python.

Lambda creates a concise, unnamed function for simple expressions.

Utility is accessed via the module name (or imported alias) followed by parentheses.

Default values provide fallback when callers omit that parameter.

Docstrings describe usage, inputs, and behavior for developers.

Python uses raise to raise exceptions; other options are invalid syntax for raising.