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
5 questions
English 9 - Unit 7 - SKills 1, Reading Exercise 3
Passage
•
9th Grade
5 questions
The 2024 Total Solar Eclipse: A Celestial Spectacle
Passage
•
10th Grade
9 questions
GWtW B2. End of Year Test. Use of English (Part 2)
Passage
•
10th Grade
6 questions
Traditions around the world A1 Reading comprehention
Passage
•
9th - 12th Grade
6 questions
Listening comprehension 05_Descriptive text
Passage
•
11th Grade
4 questions
Reading Passages 1
Passage
•
9th - 12th Grade
6 questions
Corporativismo.
Passage
•
11th Grade
6 questions
11 AGD U5 RW Discuss T2
Passage
•
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