
Python Basics Quiz

Quiz
•
Information Technology (IT)
•
10th Grade
•
Easy
Tiffany Price
Used 4+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the assignment operator '=' do in Python?
Assigns a value to a variable
Compares two values
Concatenates two strings
Returns the data type of a value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in Python returns the data type of a value?
type()
print()
str()
int()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of the value "Hello!" in Python?
str
int
float
bool
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of an integer in Python?
2
2.5
"2"
True
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of the value 2.5 in Python?
float
int
str
bool
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A type of data that represents whole numbers
A named pointer to a piece of data
A sequence of text characters
A rational number with a decimal point
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the process of assigning a value to a new variable called?
Reassignment
Initialization
Declaration
Compilation
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
PENGAYAAN ULANGAN HARIAN PYTHOON

Quiz
•
10th Grade
20 questions
Uji Pengetahuan Kecerdasan Artifisial

Quiz
•
10th Grade
15 questions
KEAMANAN DATA

Quiz
•
9th - 12th Grade
15 questions
Exploring Drone Technology in Career Clusters

Quiz
•
10th Grade - University
20 questions
soal Informatika

Quiz
•
10th Grade
14 questions
Programming Bach

Quiz
•
9th - 12th Grade
20 questions
ELEMEN INFORMATIKA

Quiz
•
9th - 12th Grade
20 questions
Soal Ulangan Internet 8.7

Quiz
•
8th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry

Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade