Arithmetic operator

Quiz
•
Computers
•
10th Grade
•
Hard
Teacher Lhadon
Used 7+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the ** operator?
modulo
floor division
exponentiation
integer division
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the modulo operator give us as the output?
quotient
remainder
decimal
answer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is common in all these three operators (/,%,//)?W
division
addition
subtraction
multiplication
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the output from the below statement:
print((7%3)+3)
5
3
4
5
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the output from the following statement?
print(10**3-1000)
-700
1
2000
0
6.
FILL IN THE BLANK QUESTION
1 min • 2 pts
Write the output from the following statement:
print(45%10*5)
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which operator should be placed in the blank to get the given output?
print((19 _ 5)*2)
Output: 6
/
//
**
%
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Karma runs the following code but she gets error. Help Karma fix the error by rewriting the code in the correct syntax.
Karma's code:
print(x)**2+2
Similar Resources on Wayground
13 questions
Python Recap Challenge

Quiz
•
10th Grade
10 questions
Java: repetition control structure for & while

Quiz
•
10th - 12th Grade
13 questions
Python Level 1 Quiz

Quiz
•
10th - 11th Grade
12 questions
Основи Python

Quiz
•
7th - 12th Grade
10 questions
Representing and understanding algorithms

Quiz
•
10th - 11th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
PYTHON (FOR LOOP)

Quiz
•
1st - 10th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade