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
Standard Sorting Algorithms Reading

Passage
•
9th - 10th Grade
6 questions
Sistem Komputer dan Fungsinya

Passage
•
10th Grade
6 questions
Fungsi Dasar Aplikasi Pengolah Angka berbasis GenAI

Passage
•
10th Grade
6 questions
Pengenalan Jaringan Komputer

Passage
•
10th Grade
7 questions
Data Types & Structures Reading

Passage
•
9th - 10th Grade
7 questions
Bases Reading

Passage
•
9th - 10th Grade
7 questions
Binary & Linear Reading

Passage
•
9th - 10th Grade
7 questions
Internet Reading

Passage
•
9th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade