Verityprep
Question Bank · Unit 1

AP® Computer Science A Using Objects and Methods Multiple Choice Questions

Work through AP Computer Science A multiple-choice questions on Using Objects and Methods, then check each answer against a worked solution.

Free · no sign-up Open questions need no account. Sign up or log in to open the rest.

Questions 541–550 of 681
  1. 541
  2. 542
  3. 543
  4. 544
  5. 545
  6. 546
  7. 547
  8. 548
  9. 549
  10. 550

Question 541

Multiple choice Primitive Types
Which replacement statement produces exactly the same final value of count as the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 542

Multiple choice Primitive Types
The declarations below are followed by exactly one offered statement.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 543

Multiple choice Using Objects
What is printed? int drift = -7; double offset = -2.5;…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 544

Multiple choice Using Objects
What is printed? int position = -9;…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 545

Multiple choice Using Objects
What is printed? int left = -6; int right = 2; int a = Math.abs(left -…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 546

Multiple choice Using Objects
The doubles measured and target are between -10.0 and 10.0. Which expression is true…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 547

Multiple choice Using Objects
What is printed? double x = -7.5; int first = (int) Math.abs(x) / 2;…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 548

Multiple choice Using Objects
What is printed? int a = -9; int b = 4;…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 549

Multiple choice Using Objects
A sensor should be accepted when it is within 2 units of 4 but more than 4 units from -1. Which offered int…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 550

Multiple choice Using Objects
What is printed? double a = Math.pow(-3, 2);…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 541 of 681
Page 55 of 69