
Introduction to Python Programming Quiz

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Peter Chan Chan
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Python Library Routines Quiz

Quiz
•
10th Grade - University
20 questions
Питон П411

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

Quiz
•
9th Grade - University
20 questions
CFE Quizizz Review 3

Quiz
•
10th Grade
15 questions
Bài 29

Quiz
•
10th Grade - University
20 questions
Informatika X Bab 2 Berpikir Komputasional

Quiz
•
10th Grade
20 questions
X S2 Analisis Data dan Algoritma Pemrograman

Quiz
•
10th Grade
20 questions
Kiểm tra HKI 10

Quiz
•
10th 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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University