
Introduction to Python Programming Quiz
Authored by Peter Chan Chan
Information Technology (IT)
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the print() function in Python?
To take user input
To display output
To define a variable
To create a loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to declare a variable in Python?
var length = 10
let length = 10
length := 10
length = 10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the input() function return in Python?
An integer
A float
A string
A list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is NOT supported in Python?
Character
String
Float
Integer
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of print(type(12.0)) in Python?
bool
int
float
string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^^
exp
**
^
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to start a for loop in Python?
for i in range(5):
for (i = 0; i < 5; i++)
for i = 0 to 5
for i in 5
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
20 questions
Программирование на Python
Quiz
•
10th Grade
20 questions
Tugas Latihan Soal Informatika 9
Quiz
•
9th - 12th Grade
18 questions
Asesmen Harian Informatika Kelas 7
Quiz
•
7th Grade - University
15 questions
SUMATIF FASE E (Berpikir Komputasional)
Quiz
•
10th Grade
20 questions
Analisis Data dengan Python
Quiz
•
10th Grade
20 questions
Asesmen Awal Informatika
Quiz
•
10th Grade
22 questions
Internet and App script
Quiz
•
5th Grade - University
15 questions
AI và đạo đức người dùng
Quiz
•
9th - 12th Grade
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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade