
The End
Authored by Mouna Tounakti
Information Technology (IT)
9th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec β’ 2 pts
If we want to print each emoji in this list, what should we print?
emojis = [''π" , "π¦" , "π·" , "π"]
for emoji in emojis:
print(????)
print(emojis)
print(emoji)
print(????)
2.
MULTIPLE CHOICE QUESTION
5 sec β’ 3 pts
If we want to use pi in our program, what should we import?
import numpy
import pi
import Math
none of them
3.
FILL IN THE BLANK QUESTION
5 sec β’ 2 pts
What is the output of this code?
float(True)
4.
FILL IN THE BLANK QUESTION
5 sec β’ 2 pts
What is the output of this code?
int(False)
5.
MULTIPLE CHOICE QUESTION
10 sec β’ 1 pt
What does this code do?
fruits = ['apple', 'banana', 'orange']
fruits.insert(2, 'cherry')
['apple', 'banana', 'cherry', 'orange']
['apple', 'cherry', 'orange']
['apple', 'cherry', 'banana','orange']
6.
MULTIPLE CHOICE QUESTION
5 sec β’ 2 pts
What will this print?
word = "Python"
print(word[0])
print(word[-1])
P
n
p
n
Pn
7.
MULTIPLE CHOICE QUESTION
5 sec β’ 2 pts
What will this print?
print(False == False)
True
False
Error
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?