
Python pc
Quiz by Matthew Morton-Banner
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
10 questions
Show answers
- Q1What symbol is used to define a string in Python?$&"'30s
- Q2Which of the following is a correct way to assign a value to a variable in Python?my variable == 1010 = my_variablemy-variable: 10my_variable = 1030s
- Q3What will be printed when the following line of code is executed: print("Hello, World!")?Hello, World!"Hello, World!"Error: Invalid syntaxHello World!30s
- Q4What is the purpose of using quotes (" ") in Python?To indicate a functionTo create a commentTo separate variablesTo define string literals30s
- Q5What is Python?A type of snakeAn online gameA programming languageA school subject30s
- Q6Who created Python?Mark ZuckerbergBill GatesSteve JobsGuido van Rossum30s
- Q7What operator would you use to multiply two numbers in Python?/*-+30s
- Q8Which operator would you use to divide two numbers in Python?-/+*30s
- Q9What does the '+' operator do in Python?It subtracts one number from anotherIt adds two numbers togetherIt multiplies two numbersIt divides one number by another30s
- Q10In Python, which operator is used to subtract one number from another?*-/+30s