placeholder image to represent content

Python

Quiz by Hassen

Feel free to use or edit a copy

includes Teacher and Student dashboards

Measure skills
from any curriculum

Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.

With a free account, teachers can
  • edit the questions
  • save a copy for later
  • start a class game
  • automatically assign follow-up activities based on students’ scores
  • assign as homework
  • share a link with colleagues
  • print as a bubble sheet

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
10 questions
Show answers
  • Q1

    ​What is the correct syntax to output "Hello World" in Python?

    echo "Hello World"

    ​p("Hello World")

    echo("Hello World'");

    print("Hello World")

    30s
  • Q2

    Que fait le code suivant ?

    Question Image

    il affiche 12 fois IoT and Data Science Club.

    il affiche 11 fois IoT and Data Science Club.

    il affiche 13 fois IoT and Data Science Club.

    il affiche 14 fois IoT and Data Science Club.

    30s
  • Q3

    Quelle est la série de nombre affichée par ce programme ?

    Question Image

    0, 1, 2, 3, 4 et 5

    0, 1, 2 et 3

    0, 1, 2, 3 et 4

    1, 2, 3 et 4

    30s
  • Q4

    Résultat ?

    Question Image

    4

    5.25

    5.2

    5

    30s
  • Q5

    Résultat

    Question Image

    13

    19

    25

    7

    30s
  • Q6

    Pour convertir une variable en nombre à virgule, on utilise la commande:

     float(var)

     int(var)

     entier(var)

     str(var)

    30s
  • Q7

    Résultat ?

    Question Image

    ["print","int","else","return","break"]

    ['print']

    ["print","int","else","return","break","float"]

    ['int', 'else', 'return', 'break']

    30s
  • Q8

    Que produit le code suivant ?

    Question Image

    first

    second

    first second

    Erreur

    firstsecond

    30s
  • Q9

    Que fait la ligne de code suivante ?

    Question Image

    first, second

    firstsecond

    Une erreur, car la fonction print n'accepte qu'un unique message à afficher.

    first second

    30s
  • Q10

    ch9awlik fil quiz 

    heyil

    5ayib

    30s

Teachers give this quiz to your class