# Phyton basic skills

## Quiz by Asmaa Awan

Feel free to use or edit a copy

includes Teacher and Student dashboards

### Measure skillsfrom any curriculum

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

16 questions

Show answers

- Q1What does the 'print' function do in Python?It imports external librariesIt displays output on the consoleIt reads input from the consoleIt performs mathematical calculations30s
- Q2What is the correct way to create a variable in Python?a = '10'a = 10int a = 10var = 1030s
- Q3What 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 comment30s
- Q4What is the output of the following Python code?def greet(name): print('Hello, ' + name + '!')name = 'Alice'greet('Bob')Hello, Bob!Hello, !Hello, Alice!Bob30s
- Q5Which of the following data types in Python is used to store a sequence of characters?FloatIntegerBooleanString30s
- Q6What function in Excel can be used to add a range of cells?COUNTAVERAGEMINSUM30s
- Q7What function is used in Excel to calculate the average of a range of cells?MAXSUMAVERAGECOUNT30s
- Q8What formula in Excel can be used to find the maximum value in a range of cells?AVERAGESUMMAXCOUNT30s
- Q9Which Excel function can be used to count the number of cells in a range that contain numerical values?COUNTMAXAVERAGESUM30s
- Q10What function in Excel is used to find the smallest value in a range of cells?SUMMINCOUNTAVERAGE30s
- Q11What is the keyboard shortcut to apply bold formatting to selected text in Excel?Ctrl + BCtrl + CCtrl + ICtrl + U30s
- Q12In Excel, how can you merge multiple cells horizontally or vertically?Using the 'Merge & Center' buttonUsing the 'Sort' buttonUsing the 'Filter' buttonUsing the 'Wrap Text' button30s
- Q13What is the keyboard shortcut to insert a new row in Excel?Ctrl + VCtrl + Shift + =Ctrl + CCtrl + N30s
- Q14How can you apply a currency format to a range of cells in Excel?Using the 'Number Format' drop-down menuUsing the 'Cut' buttonUsing the 'Italic' buttonUsing the 'Merge & Center' button30s
- Q15How can you center align the text within a cell in Excel?Using the 'Align Center' buttonUsing the 'Merge & Center' buttonUsing the 'Wrap Text' buttonUsing the 'Bold' button30s