
Python Programming Quiz

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Easy
Amna Yakeen
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A fixed value
A container to store data
A Python module
A keyword
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output? x = 7 x = x + 3 print(x)
7
3
10
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does ‘sequence’ mean in programming?
Skipping steps
Steps in random order
Steps in logical order
Mixing loops
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of structure is used in this code? if score >= 50: print("Pass") else: print("Fail")
Loop
Selection
String
Syntax
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this loop run? for i in range(4): print(i)
3
4
5
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this list contain? fruits = ["apple", "banana", "cherry"] print(fruits[1])
apple
banana
cherry
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will name[2] return if name = "Amna"?
m
n
a
A
Create a free account and access millions of resources
Similar Resources on Wayground
27 questions
python101

Quiz
•
9th - 12th Grade
26 questions
Fun with Computers and Mice

Quiz
•
2nd Grade - University
25 questions
FINAL QUIZ - Informatika SMA DU 1 Kelas XI

Quiz
•
11th Grade
28 questions
Review Python_G8

Quiz
•
8th Grade - University
30 questions
Y9 Python Review

Quiz
•
9th Grade - University
34 questions
G10 - Ôn tập cuối kì mùa Đông

Quiz
•
10th Grade
30 questions
INFORMATIKA - X

Quiz
•
10th Grade
27 questions
Python Programming Quiz

Quiz
•
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
Discover more resources for Information Technology (IT)
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade