2012年AP计算机科学A简答题真题+答案+PDF下载COMPUTERSCIENCEASECTIONIITime—1hourand45minutesNumberofquestions—4Percentoftotalscore—50Directions:SHOWALLYOURWORK.REMEMBERTHATPROGRAMS...
2012年AP计算机科学A简答题真题+答案+PDF下载
COMPUTER SCIENCE A
SECTION II
Time—1 hour and 45 minutes
Number of questions—4
Percent of total score—50
Directions: SHOW ALL YOUR WORK. REMEMBER THAT PROGRAM SEGMENTS ARE TO BE
WRITTEN IN JAVA.
Notes:
1. A mountain climbing club maintains a record of the climbs that its members have made. Information about a climb includes the name of the mountain peak and the amount of time it took to reach the top. The information is contained in the ClimbInfo class as declared below.
The ClimbingClub class maintains a list of the climbs made by members of the club. The declaration of the ClimbingClub class is shown below. You will write two different implementations of the addClimb method. You will also answer two questions about an implementation of the distinctPeakNames method.
以上为2012年AP计算机科学A真题部分,想要领取PDF版真题,及答案,请扫码领取!
天道智思提供AP计算机科学辅导,小班教学,线上线下均可授课!