Understanding Mathematical Operators in Programming

Understanding Mathematical Operators in Programming

8th Grade

10 Qs

quiz-placeholder

Similar activities

How to make perkedel tempe

How to make perkedel tempe

6th - 8th Grade

10 Qs

present tense

present tense

6th - 8th Grade

11 Qs

Fractions hard

Fractions hard

6th - 8th Grade

14 Qs

M8Q4W6 – PRE-ASSESSMENT

M8Q4W6 – PRE-ASSESSMENT

8th Grade

15 Qs

1-Factors and Multiples

1-Factors and Multiples

6th - 8th Grade

10 Qs

lesson 4 review

lesson 4 review

8th Grade

12 Qs

Speed and Velocity 7

Speed and Velocity 7

7th Grade - University

10 Qs

Quiz 1 (5.ºano)

Quiz 1 (5.ºano)

6th - 8th Grade

15 Qs

Understanding Mathematical Operators in Programming

Understanding Mathematical Operators in Programming

Assessment

Interactive Video

Others

8th Grade

Easy

Created by

Peter Hyland

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 7 mod 4?

4

3

1

2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the modulus operator?

To multiply numbers

To find the remainder of division

To subtract numbers

To add numbers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 4 mod 4?

0

1

4

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'div' operator do with the remainder of a division?

Halves it

Doubles it

Ignores it

Considers it

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you divide 11 by 4 and ignore the remainder, how many times does 4 go into 11?

2

3

4

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression 2 ^ 3 evaluate to?

8

6

5

9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 5 ^ 2 in programming notation?

20

7

25

10

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?