python programming quiz
Quiz
•
Other, Science, Professional Development
•
12th Grade - University
•
Practice Problem
•
Hard
Md Miah
Used 16+ times
FREE Resource
Enhance your content in a minute
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Write the output of the following code:
x=2
x=5
x=x+x
print(x)
7
10
4
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Write the output of the following code :
x=2
y=3
x+y+5
print(x+y)
8
6
10
5
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What is a keyword?
Reserved Word
Predefined Word
Keywords are part of the syntax and they cannot be used as an identifier.
All of them
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which statement will display square of number (n)
print(n * n)
print(math.pow(n,2)) # math module is already imported
All of the above
Only First
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following data types is not supported in python?
String
Number
List
Slice
6.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Select the reserved keyword in python-
else
raise
import
All of them
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this string operation s[2:5] , if s="hello world" -
lo
llo
llow
ell
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
22 questions
belajar efektif
Quiz
•
University
21 questions
Lezen&luisteren&nieuws
Quiz
•
1st - 12th Grade
21 questions
KUIZ CU3 WA 2 (L4)
Quiz
•
University
22 questions
untitled
Quiz
•
9th Grade - University
23 questions
Football Quiz
Quiz
•
9th - 12th Grade
24 questions
IGCSE Economics Glossary Terms - D
Quiz
•
9th - 12th Grade
23 questions
International contracts
Quiz
•
University
25 questions
STS II PKWU Kelas XII 2024
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
14 questions
Natural Selection and Adaptation
Lesson
•
9th - 12th Grade
38 questions
Water Cycle and Groundwater
Quiz
•
9th - 12th Grade
12 questions
Cell Organelles and Their Functions
Lesson
•
9th - 12th Grade
13 questions
Amoeba Sisters: Biomolecules
Interactive video
•
9th - 12th Grade
25 questions
APES Unit 6 Review
Quiz
•
12th Grade
60 questions
2025 Genetics Test Study Guide
Quiz
•
9th - 12th Grade
10 questions
Understand Cell Functions and Organelles
Quiz
•
9th - 12th Grade
16 questions
Explore Cell Cycle Stages and Mitosis
Quiz
•
9th - 12th Grade
