
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
30 questions
Test3

Quiz
•
9th - 12th Grade
25 questions
C Programming Concepts Assessment

Quiz
•
12th Grade
31 questions
Python_3P_Basics

Quiz
•
11th Grade
30 questions
Revision Quiz 3

Quiz
•
9th Grade - University
25 questions
Understanding the concept of list

Quiz
•
11th Grade
25 questions
G9-Introduction to Python Programming

Quiz
•
9th Grade - University
25 questions
Code HS Computer SCi 114.1.1 JavaScript Final Exam Pt. 1

Quiz
•
9th - 12th Grade
25 questions
2-semestr Yakuniy Nazorat

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
40 questions
Algebra Review Topics

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade