AP Study Guide | = | Student guidance and sample exam questions (by Fran Trees) + a chapter on algorithms needed for the AP CS Exam but not covered in the main text (by Cay Horstmann) |
Java Essentials + AP Study Guide | = | Complete coverage of AP CS Exam A and AB |
Big Java | = | Java Essentials + 6 advanced chapters (not needed for the AP CS Exam) |
Big Java + AP Study Guide | = | AP CS Exam A and AB + additional material that is useful for student projects |
The Study Guide is designed to assist high school students preparing for the AP Computer Science Examination. It is organized and designed to accompany Computing Concepts with Java Essentials, 3rd. ed., and Big Java, both by Cay Horstmann and published by John Wiley & Sons, Inc. This guide is organized to help students recognize and master those topics that will be tested on both the A and AB examinations. Where applicable, each chapter includes:
This section parallels the material in the textbook, adding additional examples and explanation of topics presented in the text. Students will find special emphasis here on topics that are likely to be tested.
Any topics in the AP CS Topic Outline or the AP Java subsets that are not covered in the text are presented in this section. In addition, Appendix A includes two additional textbook chapters that expand the coverage of data structures and algorithms needed for the AP exam.
This section alerts students to sections of the textbook that present useful features of the Java language. Although these sections are not required for the AP exam, they address features of Java programs that students are likely to encounter, or that they will need to progress in their programming ability.
Each chapter restates important concepts and provides specific suggestions for avoiding common errors.
Vocabulary used in the chapter is listed alphabetically here for student review and reference. Each key word is accompanied by the page number(s) where it is defined and/or discussed in the text.
This listing links the topics presented in the guide to the pages in the text where the same topics are covered.
A large number of practice questions, modeled after those on the AP exam, are included in each chapter. The questions use the multiple-choice and free-response formats that students will encounter on the exam. Answers to the practice questions are provided in Appendix D.
Any sections (and practice questions) that cover topics that will not be tested on the Computer Science A exam are clearly marked AB only. Students who are preparing for the AB exam should be sure to complete these sections.
Please contact
clicata@peoplespublishing.com Peoples Publishing Group 299 Market Street Saddle Brook, NJ 07663 Phone: 800.822.1080 Fax: 201.712.0345
this.sumOfGrades = sumOfGrades + gradewith
this.sumOfGrades = this.sumOfGrades + grade
Free Response Question #2 formula should be:
A = |x1*y2 + x2*y3 + x3*y1 - y1*x2 - y2*x3 - y3*x1|/2private class HashSetIterator implements Iterator { /** Constructs a hash set iterator that points to the first element of the hash set. */ public HashSetIterator() { current = null; bucket = -1; previous = null; previousBucket = -1; } public boolean hasNext() { if (current != null && current.next != null) return true; for (int b = bucket + 1; b < buckets.length; b++) if (buckets[b] != null) return true; return false; } public Object next() { previous = current; previousBucket = bucket; if (current == null || current.next == null) { // move to next bucket bucket++; while (bucket < buckets.length && buckets[bucket] == null) bucket++; if (bucket < buckets.length) current = buckets[bucket]; else throw new NoSuchElementException(); } else // move to next element in bucket current = current.next; return current.data; } public void remove() { if (previous != null && previous.next == current) previous.next = current.next; else if (previousBucket < bucket) buckets[bucket] = current.next; else throw new IllegalStateException(); current = previous; bucket = previousBucket; } private int bucket; private Link current; private int previousBucket; private Link previous; }
emailAddress += lastName.substring(0, lastName.length());with
emailAddress += lastName;
Thanks to Debbie Carter, Roger Casey, Bill Dunklau, Tim Gallagher, Dr. Mohamad A. Hindawi, Linda S. Lahti, Chris McCaffrey, and (your name might go here) for bug reports and suggestions!
Please report any remaining bugs in this edition on the bug report form.