
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
16 questions
2.3 Programming Data Review

Quiz
•
9th - 12th Grade
20 questions
sistem komputer kelas 9

Quiz
•
9th Grade - University
16 questions
4.1 Kod Arahan

Quiz
•
1st Grade - University
23 questions
PPLG-B

Quiz
•
10th Grade
20 questions
quiz1B1

Quiz
•
7th Grade - University
15 questions
Quiz Pemrograman Python

Quiz
•
10th Grade - University
15 questions
Bài 24

Quiz
•
10th Grade - University
15 questions
Quiz Informatika Genap KLs 7

Quiz
•
7th Grade - University
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 Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
21 questions
Lab Safety

Quiz
•
10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade