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:

Quiz Puissance Python: Fonctions et Portée

Quiz

(2)
Played 24

About this activity

Maîtrisez les bases avancées: variables, paramètres et retours.

Created by

Tunisia

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

%
Anonymous
Anonymous
%
%
%
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
Quiz Puissance Python: Fonctions et Portée
 

Quiz Puissance Python: Fonctions et PortéeOnline version

Maîtrisez les bases avancées: variables, paramètres et retours.

by Hédia Jegham
1

Comment nomme-t-on une variable accessible globalement mais modifiée localement?

2

Which parameter passing mode uses the function signature to map by name?

3

Quel mode combine position et nom des paramètres facilement?

4

Quel est un exemple d’argument avec mélange pos. et keyword?

5

Qu’est-ce que le return explicite?

6

Qu’est-ce que le return implicite?

7

Que signifie None en Python?

8

Qu’est-ce qu’une fonction paramétrée avec valeurs par défaut?

9

Comment déclare-t-on un paramètre par défaut?

10

Quel est l’effet d’un paramètre par défaut sur les appels?

Retour

Le shadowing se produit lorsque une variable locale masque une globale du même nom.

Les Keyword Arguments associent chaque valeur au nom du paramètre.

On peut donner des valeurs par position puis par nom pour le reste.

Les arguments positionnels doivent venir avant les keyword. Le nom est après '='.

Un return explicite termine la fonction en renvoyant une valeur.

Si aucun return n’est présent, Python renvoie None.

None représente l’absence de valeur, pas une valeur vide.

Les paramètres avec valeur par défaut deviennent optionnels lors de l’appel.

On assigne la valeur dans la signature: x=10.

Les paramètres par défaut permettent d’appeler la fonction sans cet argument.

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.