1. What is the value of x after the following code?
Arithmetic and Assignment Operators

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Phor Whattha
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
10
5
15
20
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What will this code print?
20
5
16
8
3.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
Write the missing operator in this code to multiply z by 3:
4.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
Complete the code to add 10 to the variable a:
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
This code will give the result 3
True
False
Maybe
Answer explanation
x %= 7 is the same as x = x % 7. So, 10 % 7 gives a remainder of 3.
6.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
Fill in the blank to decrease value by 50% of its current value
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What will this code print?
50
30
40
60
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
18 questions
Python basics

Quiz
•
7th - 10th Grade
20 questions
Basics Python

Quiz
•
8th - 10th Grade
16 questions
Program Development - Python: Code Basics 1

Quiz
•
8th - 10th Grade
20 questions
Python English klasa 8/1

Quiz
•
8th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
17 questions
Python KS3

Quiz
•
8th Grade
20 questions
End of year quiz: Small Basic

Quiz
•
7th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade