翰林國際教育全網(wǎng)首發(fā)
力爭超快速發(fā)布最全資料
助你在升學(xué)路上一帆風(fēng)順
為你的未來保駕護航
此套題僅?Section I含有選擇題,
共計時1小時15分鐘,共40題
占總分50%
僅可以使用鉛筆答題
8)A car dealership needs a program to store information about the cars for sale.
For each car, they want to keep track of the following information: number of doors (2 or 4), whether the car has air conditioning, and its average number of miles per gallon. Which of the following is the best design?
Questions 11-12 refer to the following information.
Consider the following instance variable and method findLongest with line numbers added for reference. Method findLongest is intended to find the longest consecutive block of the value target occurring in the array nums; however, findLongest does not work as intended.
For example, if the array nums contains the values [7, 10, 10, 15, 15, 15, 15, 10, 10, 10, 15, 10, 10], the call findLongest(10) should return 3, the length of the longest consecutive block of 10’s.

11) The method findLongest does not work as intended.
Which of the following best describes the value returned by a call to findLongest ?
12)Which of the following changes should be made so that method findLongest will work as intended?
以上就是關(guān)于【2008 AP Computer Science A 計算機科學(xué)A真題系列之選擇題免費下載】的解答,如需了解學(xué)校/賽事/課程動態(tài),可至翰林教育官網(wǎng)獲取更多信息。
往期文章閱讀推薦:
2027 AP報名開啟!全機考時代來了,這些考試變化一定要知道!
2027年AP考試報名正式開放|Prometric新加坡考區(qū)全攻略(含27科Join Code)

? 2026. All Rights Reserved. 滬ICP備2023009024號-1