Are you taking CLEP classes? Try clep.ai
| preferred AP College board partner for AP classes
AP Computer Science A/Unit 1: Primitive Types
Start Practice TestPractice Test
About Exam
hard Solved by 24 students

Type Casting and Division

Mark
< Prev
Next >

Which of the following Java expressions evaluates to 0.5?

I. (double)(1/2)

II. (double)1/2

III. 1/(double)2

A

II and III only

B

II only

C

I, II, and III

D

I only

Hint
Did You Know?
Explain Why
Explain All Answers
Check Answer
Show Correct Answer
Report Question

Question Leaderboard

Rank
User
Correct Count
Attempt Count
Total Time
Score
#1dilip11 0m 00s 100
#2kazvin.tjakradinata11 0m 08s 92
#3Wilbert.Ankomah2711 0m 13s 87
#4alchemax04311 0m 14s 86
#5ragulk1412200611 0m 24s 76
#6christopher.robles2711 0m 32s 68
#7zhenmunse12 0m 26s 64
#8patrickmeijer00912 0m 37s 53
#9parth.taur22711 0m 54s 46
#10701704612 0m 46s 44
Items per page:
10
1 – 10 of 21

AI Tutor

How can I help?

APFIVE © 2020.
Email: apfive@apfive.org|Privacy Policy|