
Python Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Rehaal Qureshi
Used 4+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to define a block of code in Python language?
Key
Brackets
Indentation
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for function in Python language?
Define
Function
fun
def
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List is ______ and tuple is _____
Mutable, immutable
Mutable , Mutable
Immutable, Immutable
Immutable, Mutable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following character is used to give single-line comments in Python?
#
//
/* */
!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet if x=1?
x<<2
1
2
4
8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct extension of the Python file?
.p
.pl
.py
.pyp
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is Python code compiled or interpreted?
a) Python code is both compiled and interpreted
b) Python code is neither compiled nor interpreted
c) Python code is only compiled
d) Python code is only interpreted
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
25 questions
After Effects March 18
Quiz
•
9th - 12th Grade
26 questions
Adobe Illustrator Review
Quiz
•
9th - 12th Grade
25 questions
Canva - 8th grade
Quiz
•
8th Grade - University
25 questions
Payments and Platforms
Quiz
•
12th Grade
25 questions
PTS PTSP Genap
Quiz
•
9th - 12th Grade
27 questions
Graphs
Quiz
•
9th - 12th Grade
25 questions
Quize SK
Quiz
•
12th Grade - University
25 questions
Bilişim Teknolojileri
Quiz
•
5th Grade - Professio...
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
