Verityprep
Question Bank

AP® Computer Science A Practice Questions

Work through AP Computer Science A practice 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 731–740 of 3,140
  1. 731
  2. 732
  3. 733
  4. 734
  5. 735
  6. 736
  7. 737
  8. 738
  9. 739
  10. 740

Question 731

Multiple choice Unit 1: Using Objects and Methods
The condition below is true. What must also be…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 732

Multiple choice Unit 1: Using Objects and Methods
A student claims found is true whenever text contains both "cat" and "cater". Which offered input…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 733

Multiple choice Unit 1: Using Objects and Methods
The int start is a valid substring boundary, and key is nonempty. Which replacement makes p the original index of the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 734

Multiple choice Unit 1: Using Objects and Methods
key has exactly one character. Which condition is true…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 735

Multiple choice Unit 1: Using Objects and Methods
What is printed? String s = "abca"; s += s.substring(0, 1);…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 736

Multiple choice Unit 1: Using Objects and Methods
What is printed? String a = "car"; String b = "carb";…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 737

Multiple choice Unit 1: Using Objects and Methods
a, b, and prefix may contain any text, including…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 738

Multiple choice Unit 1: Using Objects and Methods
a and b have equal lengths. Which…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 739

Multiple choice Unit 1: Using Objects and Methods
What is printed? String a = "9"; String b = "10";…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 740

Multiple choice Unit 1: Using Objects and Methods
Which pair makes both comparisons true?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 731 of 3,140
Page 74 of 314