Quiz 05 - Math in Java

Quiz 05 - Math in Java

11th Grade

10 Qs

quiz-placeholder

Similar activities

CSAwesome: 1.2 - Java Basics HW Review

CSAwesome: 1.2 - Java Basics HW Review

11th - 12th Grade

13 Qs

Conhecimentos prévios em Java

Conhecimentos prévios em Java

10th - 12th Grade

10 Qs

Ulangkaji Java 1

Ulangkaji Java 1

11th Grade

10 Qs

coding basics (java)

coding basics (java)

9th - 12th Grade

7 Qs

Unit 6 Comp Sci A Arrays

Unit 6 Comp Sci A Arrays

10th - 12th Grade

14 Qs

Unit 6 Computer Science

Unit 6 Computer Science

10th - 12th Grade

14 Qs

Java Variables Quiz

Java Variables Quiz

11th - 12th Grade

12 Qs

XII RPL

XII RPL

11th - 12th Grade

12 Qs

Quiz 05 - Math in Java

Quiz 05 - Math in Java

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Casey Devet

Used 34+ times

FREE Resource

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()

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?