Java Programming Quiz

Java Programming Quiz

Professional Development

32 Qs

quiz-placeholder

Similar activities

IT-Quick Quiz

IT-Quick Quiz

Professional Development

32 Qs

RPA- Associate Training

RPA- Associate Training

Professional Development

31 Qs

Day 10 Quiz - Physical & Network Security

Day 10 Quiz - Physical & Network Security

Professional Development

27 Qs

PSE-4

PSE-4

Professional Development

27 Qs

Passkey Quiz 1

Passkey Quiz 1

Professional Development

35 Qs

Linked List

Linked List

Professional Development

30 Qs

React Native Pre-Assessment

React Native Pre-Assessment

Professional Development

34 Qs

Session 6 LNMIIT

Session 6 LNMIIT

Professional Development

30 Qs

Java Programming Quiz

Java Programming Quiz

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Maria D Chavez De Ruedas

FREE Resource

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of Math.pow(2, 3) in Java?

6

8

9

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of Math.pow(10, 4) in Java?

100

1000

10000

100000

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword for subtraction in Java?

sum

product

difference

quotient

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of Math.abs(-50) in Java?

-50

0

50

100

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of Math.pow(8, 2) in Java?

16

64

32

8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of casting (int) 10.5 in Java?

11

10

10.5

9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to count down in loops?

<

<=

>

>=

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?