
Python Educational Quiz: Variables and Mathematical Symbols
Authored by imam ibrahim
Information Technology (IT)
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable in Python is like a box that stores data. Which of these is the right way to store your name? We use = to assign a value to a variable, like labeling a box.
name == 'Alex'
name = 'Alex'
'Alex' = name
name: 'Alex'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python can do math like a calculator. What will this code print? print(5 + 3 * 2) Multiplication happens before addition — order of operations (PEMDAS).
A) 16
B) 11
C) 13
D) Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you want a whole number division (no decimals), which operator should you use?
/
//
%
÷
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a Python program to calculate the area of a rectangle. Use f-string to show clear results.
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used to find remainder of a division?
/
//
%
**
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You typed: x = 5; y = 2; print(x ** y). What is printed?
25
10
7
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables in Python are case-sensitive. Which two below are different?
age and Age
num and NUM
both A and B
same
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
25 questions
KTPM-GROUP-2-3
Quiz
•
University
25 questions
Quizizz SIOTICS #1
Quiz
•
10th Grade
26 questions
Generations of Programming Languages & Documentation
Quiz
•
11th Grade
25 questions
Konfigurasi Hotspot Mikrotik RB941
Quiz
•
12th Grade - University
25 questions
Soal UTS Informatika X AK
Quiz
•
10th Grade
25 questions
Google Sheets Midterm Quiz - 21/10/2024
Quiz
•
University
25 questions
මෙහෙයුම් පද්ධති භාවිතයෙන් පරිගණකයක් වින්යාස කිරීම සහ සිටුවම් කි
Quiz
•
8th Grade
25 questions
Recycling and Paper Quilling Quiz
Quiz
•
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
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
Discover more resources for Information Technology (IT)
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
14 questions
finding slope from a graph
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
12 questions
8th U5L9 Linear Models
Quiz
•
8th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade