
Y8: Python: 1st Lesson:Retrieval
Quiz by Teran Subasinghe
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
11 questions
Show answers
- Q1What does the 'print' function do in Python?Creates a listDisplays output on the screenPerforms mathematical calculationsDefines a function30s
- Q2Which symbol is used for the assignment operator in Python?=*+-:30s
- Q3What is the result of 4 * 3 in Python?151071230s
- Q4What does the 'len()' function do in Python?Converts a string to lowercaseRounds a floating-point numberFinds the maximum value in a listReturns the length of a string or list30s
- Q5What is the output of the following code snippet: print('Hello' + 'World')?Hello_WorldHello+WorldHello WorldHelloWorld30s
- Q6What is the correct way to start a single-line comment in Python?///*--#30s
- Q7What is the output of the following code snippet: print(2 ** 3)?8561030s
- Q8Which of the following is not a comparison operator in Python?>==<++30s
- Q9What is the result of 5 + 3 * 2 in Python?1610111330s
- Q10In Python, which keyword is used to define a function?defletdefinefunc30s
- Q11What is the output of the following code snippet in Python: print(3 == 3)ErrorFalseNoneTrue30s