ERRATA SHEET Multiple Choice Questions in Preparation for the AP Computer Science ("A" and "AB") Examination Fourth Edition  

Chapter 1, Qst 4-5         After program segment add after a call to function Go?

Chapter 1, Qst 14          Change the values of X to the range of X values

Chapter 2, Qst 12          Change GPA to CPA

Chapter 3, Qst 1            Change Qwerty(10)? to Qwerty(9)?

Chapter 3, Qst 2            Change K = 1 to K = 0

Chapter 3, Qst 7            Change A0 + A2 to A0 + A1

Chapter 4, Qst 6            Change void Test to void Test2

Chapter 4, Qst 8            Insert voids in front of function heading identifiers Sort

Chapter 4, Qst 10-11            In the definition heading change Payroll to Company

Chapter 5, Qst 5            Change apstring T; to apstring T = "";

Chapter 5, Qst 11            Change both const reference parameters to value parameters

Chapter 6, Qst 1-4        Change TEXT.TST to TEST.TXT

Chapter 7, Qst 10         Change ,GPA, and DOB to ,GPA, DOB, and ID Number

Chapter 8, Qst 10-11    Add returns in front of Search and BinarySearch function calls

Chapter 8, Qst 10    Add else return K; at the end of function Search3

Chapter 9, Qst I             Add const after function headings for I and II

Chapter 9, Qst 5           Change answer (C) to (C) 10 20

Chapter 9, Qst 6           Change E(Elevation, to E(Elevation),

Chapter 9, Qst 3           Change the public member function const Car &operator+=(double C); to void operator+=(double C);

Chapter 9, Qst 8           Change in (E) because a Car object to because a Calculator object

Chapter 9, Qst 1           Change the public member function void operator+=(double C); to const Car &operator+=(double C);

Chapter 9, Qst 15-16           Change in class constructor PiggyBank(double s) to PiggyBank(int s)

Chapter 10, Qst 12-13 Change QueueMystery("Greg") to QueueMystery(Q,"Greg")

Chapter 14, Qst 10       Change Sum = 0 to Sum = 1

Chapter 14, Qst 11       Change above will the Nth to above will compute the Nth

Chapter 15, Qst 4-5      Change AddSavings(Double S) to AddSavings(double S)

Chapter 15, Qst 11       Add the precondition precondtion: N > 1

Chapter 15, Qst 11       Add the precondition precondtion: N > 1

Chapter 15, Qst 24       Change the second for loop to for (K = S1.length();

Chapter 16, Qst 27       Change char UpCase1 to char UpCase

Chapter 17, Qst 2         Change char UpCase1 to char UpCase

Chapter 17, Qst 40       Change (E) II and IV to (E) II and IV only
 

 

  Page last updated 5-5-99