Verityprep
Question Bank · Unit 1

AP® Computer Science A Using Objects and Methods Practice Questions

Work through AP Computer Science A practice 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 361–370 of 776
  1. 361
  2. 362
  3. 363
  4. 364
  5. 365
  6. 366
  7. 367
  8. 368
  9. 369
  10. 370

Question 361

Free response Using Objects
This question involves analyzing and modifying a string. The following Phrase class maintains a phrase in an instance variable and has methods that access and…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 362

Free response Using Objects
The APCalendar class contains methods used to calculate information about a calendar. You will write two methods of the class. public class APCalendar { / * *…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 363

Free response Using Objects
This question involves the WordMatch class, which stores a secret string and provides methods that compare other strings to the secret string. You will write…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 364

Free response Using Objects
This question involves simulation of the play and scoring of a single-player video game. In the game, a player attempts to complete three levels. A level in the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 365

Free response Using Objects
This question involves the AppointmentBook class, which provides methods for students to schedule appointments with their teacher. Appointments can be scheduled…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 366

Free response Using Objects
Consider the following incomplete StringUtil class declaration. You will write implementations for the two methods listed in this class. Information about the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 367

Multiple choice Primitive Types
What is printed when the following statement is…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 368

Multiple choice Using Objects
What is printed when the following code segment is executed? String url = "http://www.usa.gov"; int pos =…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 369

Free response Using Objects
This question involves the use of check digits, which can be used to help detect if an error has occurred when a number is entered or transmitted…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 370

Multiple choice Using Objects
Given file line "Alice-90", how…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 361 of 776
Page 37 of 78