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
4 questions
Early forms of Government
Passage
•
11th Grade
6 questions
Understanding Macromolecules
Passage
•
KG
6 questions
Dogs
Passage
•
KG
6 questions
Quiz de Hardware de Computadora
Passage
•
9th Grade
6 questions
The Boy who cried Wolf
Passage
•
KG
2 questions
C10 Introduction
Passage
•
9th - 12th Grade
6 questions
An Imaginary Journey to Mars
Passage
•
8th Grade
4 questions
R038 Engineering Design Topic 3.1 - Isometric drawings
Passage
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade