
PYTHON SEM1
Authored by Akmal Zahari
Computers
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to create an empty list called colours in Python, which of the following is correct?
colours = [ ]
colours = ( )
colours = { }
colours = <>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used in python to assign values to a variable?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
name = "Dave"
print (name)
Dave
'Dave'
name
(name)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement correctly assigns the string "Tanner" to the variable name?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print function do in python?
It displays an output
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Python built-in function used to display numbers and text on the screen?
input
output
command
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?