Search Header Logo

Quiz 05 - Math in Java

Authored by Casey Devet

Computers

11th Grade

Used 35+ times

Quiz 05 - Math in Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which symbols is used to find the remainder when dividing two numbers?

*

/

%

#

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is the result of evaluating the expression "29 % 6"?

4

5

1

0

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which is NOT a valid Java expression?

base * height / 2

(base)(height) / 2

(base * height) / 2

base * (height / 2)

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is the result of this Java math expression:

4 + 12 / 5

6

3

6.4

3.2

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which Math class method can be used to calculate square roots?

Math.sqrt()

Math.root()

Math.squareroot()

Math.squirt()

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which Math class method can be used to calculate exponents?

Math.exponent()

Math.raise()

Math.pow()

Math.ceil()

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which Math class method will round any number down (towards negative infinity)?

Math.round()

Math.floor()

Math.ceil()

Math.roundDown()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?