2010 AP Computer Science A 计算机科学A真题系列之简答题免费下载

历年AP Computer Science计算机科学系列

真题与答案下载

历年AP国际课程真题与答案下载

翰林国际教育全网首发

力争超快速发布最全资料

助你在升学路上一帆风顺

为你的未来保驾护航

2010 AP Computer Science A Free-Response Questions Free Download

2010 AP 计算机科学A简答题部分免费下载

此套题仅 Section II含有简答题,

共计时1小时45分钟,共4题

占总分50%

每道大题可能含有不同数量的小题

完整版下载链接见文末

部分真题预览:

1)An organization raises money by selling boxes of cookies. A cookie order specifies the variety of cookie and the number of boxes ordered. The declaration of the CookieOrder class is shown below.
2010国际课程AP Computer Science A计算机科学A真题与答案下载
The MasterOrder class maintains a list of the cookies to be purchased. The declaration of the MasterOrder class is shown below.2010国际课程AP Computer Science A计算机科学A真题与答案下载

  1. The getTotalBoxes method computes and returns the sum of the number of boxes of all cookie orders. If there are no cookie orders in the master order, the method returns 0.
    Complete method getTotalBoxes below.2010国际课程AP Computer Science A计算机科学A真题与答案下载
  2. The removeVariety method updates the master order by removing all of the cookie orders in which the variety of cookie matches the parameter cookieVar. The master order may contain zero or more cookie orders with the same variety as cookieVar. The method returns the total number of boxes removed from the master order.
    For example, consider the following code segment.2010国际课程AP Computer Science A计算机科学A真题与答案下载
    After the code segment has executed, the contents of the master order are as shown in the following table.2010国际课程AP Computer Science A计算机科学A真题与答案下载
    The method call goodies.removeVariety("Chocolate Chip") returns 4 because there were two Chocolate Chip cookie orders totaling 4 boxes. The master order is modified as shown below.2010国际课程AP Computer Science A计算机科学A真题与答案下载
    The method call goodies.removeVariety("Brownie") returns 0 and does not change the master order.
    Complete method removeVariety below.2010国际课程AP Computer Science A计算机科学A真题与答案下载

 

完整版真题下载链接注册登录后查看

文件为PDF格式

推荐使用电脑下载

 

2010 AP Computer Science A 计算机科学FRQ简答题完整版答案免费下载

请持续关注,稍后更新

 

 

 

如需打包下载,请联系小助手了解更多

翰林学员全站资料免费打包下载,专享高速下载通道。

更多AP课程
翰林国际教育资讯二维码