Understanding Mathematical Operators in Programming

Understanding Mathematical Operators in Programming

8th Grade

10 Qs

quiz-placeholder

Similar activities

Bilangan berpangkat kelas 8

Bilangan berpangkat kelas 8

8th Grade

15 Qs

Playing with integers

Playing with integers

6th - 8th Grade

12 Qs

NATURAL PHENOMENON

NATURAL PHENOMENON

8th Grade

11 Qs

Jobs

Jobs

4th Grade - University

15 Qs

5th Grade Math Quiz

5th Grade Math Quiz

6th - 8th Grade

13 Qs

Analisis Data dan Peluang

Analisis Data dan Peluang

8th Grade

15 Qs

Chemical Effects of Electric Current

Chemical Effects of Electric Current

8th Grade

9 Qs

random history questions

random history questions

6th - 8th Grade

11 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?