Variables & Data Types Py Reading
Passage
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Easy
Andrew Ward
Used 6+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A container to store data
A function to execute code
A module to import libraries
A syntax error in code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a string in Python?
15
36.5
"John"
True
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? a = 5; b = 10; sum = a + b; print(sum)
5
10
15
20
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type in Python represents whole numbers without decimals?
Integer (int)
Floating-point Number (float)
String (str)
Boolean (bool)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the variable 'score' after executing the following code? score = 10; score = score + 5;
5
10
15
20
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a list in Python?
"apple"
["apple", "banana", "cherry"]
True
36.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
6 questions
¿Qué es la salud mental?
Passage
•
9th Grade
6 questions
Solar Power
Passage
•
10th Grade
6 questions
Quiz sobre la Moral del Cristiano
Passage
•
9th Grade
6 questions
Sustentabilidade Alimentar
Passage
•
10th Grade
6 questions
Echoes of South Korea
Passage
•
10th Grade
6 questions
Dilemas Éticos en la Vida Moderna
Passage
•
11th Grade
6 questions
SOAL PEREDARAN DARAH PEMAHAMAN
Passage
•
8th Grade
6 questions
¿Qué y cómo se aprende en edad preescolar?
Passage
•
KG
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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