
python1
Quiz
•
Computers
•
KG - 4th Grade
•
Practice Problem
•
Hard
jo denayer
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
x = 5
y = x
x = 6
what is y
5
6
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
a = 5
for x in range(10):
a = a if x != 0 else 0
What is the value of a at the end?
0
5
9
10
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
l1 = [1,2,3,4]
l2 = [1,2,3,4]
what will the following statement result in?
l1 is l2
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
10 // 3
0
10
3
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
x = 10
y = 5
if y == 5:
print('five')
elif x == 10:
print('ten')
elif y==5 and x == 10:
print('fifteen')
What gets printed?
'five'
'ten'
'fifteen'
all of the other answers together
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
def add():
x = 5
y = 8
val = x + x * y
Calling this function returns?
80
45
Nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is the data type of the following?
aTuple = (1,'Jhon', 1+3j)
print(type(aTuple[2:3]))
list
complex
tuple
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?
Similar Resources on Wayground
15 questions
End of term assessment
Quiz
•
9th Grade
10 questions
TIN 10 - LẦN 1 - STVB 1
Quiz
•
10th Grade
10 questions
micro:bit的元件名称
Quiz
•
5th Grade
15 questions
K5_ÔN TẬP HỌC KÌ 1
Quiz
•
5th Grade
12 questions
Основные понятия языка программирования PYTHON
Quiz
•
7th Grade
10 questions
AI and Python: Ch.1 Revision
Quiz
•
9th Grade
10 questions
9 сынып Python программалау тілінде алгоритмдерді программалау
Quiz
•
1st Grade
11 questions
Eventos de un experimento aleatorio
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
