placeholder image to represent content

Phyton basic skills

Quiz by Asmaa Awan

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
16 questions
Show answers
  • Q1
    What does the 'print' function do in Python?
    It imports external libraries
    It displays output on the console
    It reads input from the console
    It performs mathematical calculations
    30s
  • Q2
    What is the correct way to create a variable in Python?
    a = '10'
    a = 10
    int a = 10
    var = 10
    30s
  • Q3
    What is the correct way to comment a single line in Python?
    /* This is a comment */
    <!-- This is a comment -->
    # This is a comment
    // This is a comment
    30s
  • Q4
    What is the output of the following Python code?def greet(name): print('Hello, ' + name + '!')name = 'Alice'greet('Bob')
    Hello, Bob!
    Hello, !
    Hello, Alice!
    Bob
    30s
  • Q5
    Which of the following data types in Python is used to store a sequence of characters?
    Float
    Integer
    Boolean
    String
    30s
  • Q6
    What function in Excel can be used to add a range of cells?
    COUNT
    AVERAGE
    MIN
    SUM
    30s
  • Q7
    What function is used in Excel to calculate the average of a range of cells?
    MAX
    SUM
    AVERAGE
    COUNT
    30s
  • Q8
    What formula in Excel can be used to find the maximum value in a range of cells?
    AVERAGE
    SUM
    MAX
    COUNT
    30s
  • Q9
    Which Excel function can be used to count the number of cells in a range that contain numerical values?
    COUNT
    MAX
    AVERAGE
    SUM
    30s
  • Q10
    What function in Excel is used to find the smallest value in a range of cells?
    SUM
    MIN
    COUNT
    AVERAGE
    30s
  • Q11
    What is the keyboard shortcut to apply bold formatting to selected text in Excel?
    Ctrl + B
    Ctrl + C
    Ctrl + I
    Ctrl + U
    30s
  • Q12
    In Excel, how can you merge multiple cells horizontally or vertically?
    Using the 'Merge & Center' button
    Using the 'Sort' button
    Using the 'Filter' button
    Using the 'Wrap Text' button
    30s
  • Q13
    What is the keyboard shortcut to insert a new row in Excel?
    Ctrl + V
    Ctrl + Shift + =
    Ctrl + C
    Ctrl + N
    30s
  • Q14
    How can you apply a currency format to a range of cells in Excel?
    Using the 'Number Format' drop-down menu
    Using the 'Cut' button
    Using the 'Italic' button
    Using the 'Merge & Center' button
    30s
  • Q15
    How can you center align the text within a cell in Excel?
    Using the 'Align Center' button
    Using the 'Merge & Center' button
    Using the 'Wrap Text' button
    Using the 'Bold' button
    30s

Teachers give this quiz to your class