Python

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Namal (ITNamal)
Used 14+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid Python identifier?
1variable
_variable
variable name
variable-name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid naming convention for Python identifiers?
snake_case
PascalCase
camelCase
kebab-case
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum length of a Python identifier?
32 characters
64 characters
128 characters
There is no maximum length
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a reserved word in Python and can be used as an identifier?
if
for
and
while
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about Python identifiers?
They are case-sensitive.
They can start with a digit.
They can contain special characters like @ or #.
They can be a Python built-in function name.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a built-in data type in Python?
int
float
string
array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a tuple and a list in Python?
Tuples are mutable, and lists are immutable.
Tuples are ordered, and lists are unordered.
Tuples are enclosed in parentheses, and lists are enclosed in square brackets.
Tuples can contain elements of different data types, while lists can only contain elements of the same data type.
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Python KS3

Quiz
•
6th - 9th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
20 questions
Mastering Python Loops and Functions

Quiz
•
10th Grade - University
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
15 questions
Exploring Python Fundamentals

Quiz
•
12th Grade - University
20 questions
Python Quiz

Quiz
•
9th Grade
20 questions
SQL Commands Part 1

Quiz
•
11th - 12th Grade
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade