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
1. What is the value of x after the following code?
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 Wayground
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
20 questions
Python year 9

Quiz
•
8th - 11th Grade
15 questions
Intro to Small Basic

Quiz
•
KG - 7th Grade
17 questions
Python KS3

Quiz
•
6th - 9th Grade
11 questions
Conditional statements

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

Quiz
•
8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

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

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade