| preferred AP College board partner for AP classes
AP Computer Science A/Unit 4: Iteration
Start Practice TestPractice Test
About Exam
medium Solved by 4 students
Integer Division in Boolean Expressions
< Prev
Next >

Consider the following meetsThreshold method.

public static boolean meetsThreshold(int total, int count, double threshold) {
return total / count >= threshold;
}

Which of the following method calls returns true?

A

meetsThreshold(17, 5, 3.5)

B

meetsThreshold(17, 5, 3.0)

C

meetsThreshold(19, 6, 3.2)

D

meetsThreshold(23, 7, 3.3)

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

Question Leaderboard

Rank
User
Correct Count
Attempt Count
Time
Score
#1hitrishabhatia14 0m 00s 70
#2y.seong202712 2m 18s -48
#3bommasam00014 56m 34s -3,324
Items per page:
10
1 – 3 of 3
No comments yet. Be the first to comment!

AI Tutor

How can I help?

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