AP Computer Science A Quiz
1 question · no time limit
0:00
Finish quiz
USING OBJECTS AND METHODS
Question 1
of 1
Flag for review
No time limit
Current
Answered
Flagged
Not seen
A building height uses height = distance *
Math.sin
(
Math.toRadians
(angleDeg)); why call
Math.toRadians
first?
A
Because
Math.sin
expects its argument in radians, not degrees.
B
Because
Math.sin
only works for angles between 0 and 90 degrees.
C
Because
Math.toRadians
returns the sine value directly as a double.
D
Because
Math.toRadians
prevents integer division when computing height.
YOUR PROGRESS
1
QUESTION
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
1
KEYBOARD
Pick an answer
A
B
C
D
Next question
↵
→
Previous
←
Flag for review
F