Python Quiz
Quiz
•
Computers
•
University
•
Hard
Servus Snap
Used 10+ times
FREE Resource
Enhance your content in a minute
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is incorrect
a=!b
a!=b
a=[1,2,3]
B=(9,6,5)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output? :
a = "You're Pretty"
Print(a)
You're Pretty
"You're Pretty"
a
NameError: name 'Print' is not defined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the below program:
A="Hyperboloid"
print(len("A")
11
911
12
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does my_list.append(5) do?
Removes the last element from the list.
Creates a new list with only the number 5.
Appends the number 5 to the end of the list.
Adds 5 to the beginning of the list.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Used to define a function:
Def
def
define
Define
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the below program:
for i in range(10<11):
print(i)
10
11
0
Error: logical operators cannot be used inside range()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[1,2,3,4,5,6,7,8,9,10]
1,2,3,4,5,6,7,8,9,10
[0,1,2,3,4,5,6,7,8,9]
0,1,2,3,4,5,6,7,8,9
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
45 questions
Computer memory
Quiz
•
University
45 questions
Ujian IoT PTS 2024 45 Soal
Quiz
•
11th Grade - University
48 questions
BTEC Fundamentals of Computer Systems (student questions)
Quiz
•
10th Grade - University
42 questions
TIN HỌC KHỐI 5 HK1
Quiz
•
1st Grade - University
44 questions
ACO.C1.HTTT
Quiz
•
University
46 questions
CompTIA ITFundamentals CRAM
Quiz
•
6th Grade - University
49 questions
IT alapismeretek
Quiz
•
10th Grade - Professi...
50 questions
MES3093: QUIZ
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
