Variables & Data Types Py Reading

Passage
•
Computers
•
9th - 10th Grade
•
Easy
Andrew Ward
Used 2+ 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
Similar Resources on Wayground
7 questions
Lists Py Reading

Passage
•
9th - 10th Grade
6 questions
Untitled reading quiz

Passage
•
9th - 10th Grade
7 questions
Primary Memory Reading

Passage
•
9th - 10th Grade
6 questions
Pemahaman Mail Merge

Passage
•
10th Grade
7 questions
Yuk Membuat Buku Fiksi

Passage
•
KG
6 questions
Pemahaman dan Penggunaan Mikrometer

Passage
•
10th Grade
8 questions
UH 1 Perangkat Lunak

Passage
•
10th Grade
2 questions
berpikir komputasi

Passage
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade