
Python Basics Quiz
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Easy
Tiffany Price
Used 4+ times
FREE Resource
Enhance your content in a minute
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
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
19 questions
Quiz Básico sobre p5.js
Quiz
•
10th Grade
20 questions
Web Browser
Quiz
•
9th Grade - University
15 questions
Komponen Sistem Komputer
Quiz
•
8th Grade - University
20 questions
Ujian Sumatif TIK Materi aplikasi Bandlab dan Capcut
Quiz
•
9th Grade - University
14 questions
Quiz Kelas X Informatika
Quiz
•
10th Grade
20 questions
Quiz Struktur Data
Quiz
•
9th Grade - University
20 questions
Informatika dasar
Quiz
•
10th Grade
15 questions
Pursuing a Career in Computing Quiz
Quiz
•
10th 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
