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.

Subtopic: Using Objects Clear filter

Questions 321–330 of 454
  1. 321
  2. 322
  3. 323
  4. 324
  5. 325
  6. 326
  7. 327
  8. 328
  9. 329
  10. 330

Question 321

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 322

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 323

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 324

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 325

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 326

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 327

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 328

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 329

Multiple choice Using Objects
The int n is between 0 and 12 inclusive. Which list contains all and only the values of n…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 330

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

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 321 of 454
Page 33 of 46