Verityprep
Question Bank

AP® Computer Science A Multiple Choice Questions

Work through AP Computer Science A multiple-choice questions unit by unit, 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 2,811
  1. 541
  2. 542
  3. 543
  4. 544
  5. 545
  6. 546
  7. 547
  8. 548
  9. 549
  10. 550

Question 541

Multiple choice Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 Unit 1: Using Objects and Methods
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 2,811
Page 55 of 282