|
AP Computer Science A
Information
Welcome class of 2010 to Advanced
Placement Computer Science!
1st Quarter
Outline |
Download
Lab Manuals Here
| GridWorld Files
|
Programming Project/Lab Guidelines
Chapter 2 Pre-Lab Answers
| Chapter 3 Pre-Lab
Answers | Chapter 4 Pre-Lab Answers
Homework due Wednesday, March 10,
2010: Blue Java Page 285 6.11 - Change the
Tunes program
(Listing 6.7) so that it keeps
CDs sorted by
title. Use general object sort defined in the
Sorts
class from chapter six. All three
programs (Tunes, Cd, and
CDCollection)
must be turned in using the
Digital Drop Box. In an effort to save
paper and the environment, hand written and printed
out assignments will not be accepted.
Homework due Monday, February 8, 2010.
The
L&L bank can handle up to 30 customers who have
savings accounts. Design an implement a program that
manages the accounts. Keep track of key information
and let each customer make deposits and withdrawals.
Produce error messages for invalid transactions.
Hint: You may want to base your accounts on the
Account class from Chapter 4. Also provide a method
to add 3 percent interest to all accounts whenever
the method is invoked.
Design
and implement an application that reads a number of
integers that are in the range 0 to 50 inclusive and
counts how many times each one is entered. After
all input has been processed, print all of the
values, with the number of times each one was
entered.
Design
and implement an application that reads a set of
values in the range 1 to 100 from the user and then
creates a chart showing how often the values
appeared. The chart should use asterisks to show
where the values fall. The ranges should be 1-10,
11-20, 21-30…to 91-100. Print one asterisk for each
value entered.
Lab
Manual 7 - The Shopping Cart
Programming project: Modify the Card class in
chapter 4 programming projects. The Card
class should represent a standard playing card.
Create a class called DeckOfCards that stores
52 objects of the Card class. Include methods that
shuffle the deck, deal a card, and report the number
of cards left in the deck. The shuffle method should
assume that you have a full deck. Create a driver
class with a main method that deals each card from a
shuffled deck, printing each card as it is dealt.
Click
here for the ARRAYS/LISTS lecture notes.
Keep up with Mrs. White by
downloading the PPT Chapter 5
Enhancing Classes |
PPT Ch 6
Arrays
New Grading
Mandates (Countywide):
50% - Assessments and Seasonal Packets
20% - Homework
20% - Classwork/Labs
10% - Warmups
|