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
11 questions
Scratch

Quiz
•
7th Grade
17 questions
Gaming Lesson 3

Quiz
•
6th - 7th Grade
17 questions
G8 Python

Quiz
•
8th Grade
20 questions
Python (The Basics)

Quiz
•
6th - 10th Grade
15 questions
Y8 Lent Python

Quiz
•
8th Grade
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
15 questions
Python basics

Quiz
•
6th - 8th Grade
18 questions
Robotics Vocabulary I

Quiz
•
6th - 8th 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
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

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

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade