
Python Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Rehaal Qureshi
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Introduction to Python

Quiz
•
KG - University
25 questions
GCSE Computer Science: Programming (Python)

Quiz
•
9th - 12th Grade
30 questions
Programming Q3 Review - Data Structures

Quiz
•
9th Grade - University
28 questions
Python Functions Review Quiz

Quiz
•
9th - 12th Grade
27 questions
python string

Quiz
•
9th - 12th Grade
25 questions
หน่วยที่ 2 การแก้ปัญหาด้วยภาษาไพธอน ม.2

Quiz
•
12th Grade
25 questions
Unit 2 - Turtle Graphics Quiz for Python Computer Programming I

Quiz
•
9th - 12th Grade
35 questions
Unit 1-4 Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade