What will the output of the following code be?
for i in ["A", "b", "3"]:
print(i)
Python Quiz
Quiz
•
Computers
•
6th - 9th Grade
•
Hard
Rafael Diolatzis
Used 58+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the output of the following code be?
for i in ["A", "b", "3"]:
print(i)
Error
"A"
"b"
"3"
A, b, 3
A
b
3
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the code below?
x = 5
if x == 0:
print("x is 0")
elif x > 1:
print("x is greater than 1")
elif x > 3:
print("x is greater than 3")
x is 0
x is greater than 1
x is greater than 3
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
for a in range(3):
print(a)
1
2
3
0
1
2
1 2 3
Error
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following is a python module?
Tkinter
Panda
SuperTyper
TensorFlow
Kivy
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the value of b?
a = 0
b = a
a = 3
0
3
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output?
print(4**4)
4
16
356
256
Error
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following commands exists?
.upper()
.casefold()
.destroy()
.TextChar
19 questions
Programming Techniques Survey
Quiz
•
8th - 12th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
Combined Python Turtle 1&2
Quiz
•
8th Grade
20 questions
Token in Python
Quiz
•
9th Grade
20 questions
Intro to Python
Quiz
•
6th - 8th Grade
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
Python 1
Quiz
•
7th - 9th Grade
20 questions
Python year 9
Quiz
•
8th - 11th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions
Quiz
•
6th Grade
9 questions
1. Types of Energy
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
3rd - 6th Grade
43 questions
LinkIt Test - 24-25_BM4_7th
Quiz
•
7th Grade
6 questions
Final Exam: Monster Waves
Quiz
•
6th Grade