- AP Computer Science
Advanced Placement Computer Science (also called APCS) is the name of two distinct
Advanced Placement courses and examinations offered by theCollege Board tohigh school students as an opportunity to earn college credit for acollege -levelcomputer science course. AP Computer Science A [ [http://apcentral.collegeboard.com/apc/public/courses/teachers_corner/4483.html AP Computer Science A Home Page] , The College Board] is meant to be the equivalent of a first-semester course in computer science, while AP Computer Science AB [ [http://apcentral.collegeboard.com/apc/public/courses/teachers_corner/8153.html AP Computer Science AB Home Page] , The College Board] equates to a full year. The AP exam currently tests students on their knowledge of Java.AP Computer Science A
Advanced Placement Computer Science A emphasizes
object-oriented programming methodology with an emphasis on problem solving andalgorithm development. It also includes the study of data structures and abstraction, but these topics are not covered to the extent that they are covered in AP Computer Science AB.AP Computer Science AB
Advanced Placement Computer Science AB includes all the topics of AP Computer Science A, as well as a more formal and a more in-depth study of
algorithms ,data structures , anddata abstraction . For example,binary trees are studied in AP Computer Science AB but not in AP Computer Science A. The use of recursive data structures and dynamically allocated structures is fundamental to AP Computer Science AB.Due to low numbers of students taking AP Computer Science AB, it will be discontinued after the 2008-2009 year. [Cech, Scott J., [http://www.edweek.org/ew/articles/2008/04/09/32ap.h27.html "College Board Intends to Drop AP Programs in Four Subjects"] , Education Week, 4 April 2008]
Topic Outline
*Object-Oriented Program Design
**Problem Design
***Read and understand a problem's description, purpose, and goals.
***Specify the purpose and goals for a problem. (AB only)
***Apply data abstraction and encapsulation.
***Read and understand class specifications and relationships among the classes ("is-a ", "has-a " relationships).
***Decompose a problem into classes, define relationships and responsibilities of those classes. (AB only)
***Understand and implement a given class hierarchy.
***Identify reusable components from existing code using classes and class libraries.
**Class Design
***Design and implement a class.
***Design and implement a set of interacting classes. (AB only)
***Design an interface.
***Choose appropriate data representation and algorithms.
***Choose appropriate advanced data structures and algorithms. (AB only)
***Apply functional decomposition.
***Extend a given class using inheritance.
*ProgramImplementation
**Implementation techniques
***Methodology
****Object-oriented development
****Top-down development
****Encapsulation and information holding
****Procedural abstraction
**Programming constructs
***Primitive types vs. objects
***Declaration
****Constant declarations
****Variable declarations
****Class declarations
****Interface declarations
****Method declarations
****Parameter declarations
***Consoleoutput (System.out.print/println)
***Control
****Methods
****Sequential
****Conditional
****Iterations
****Recursion
**Java library classes (included in the A or AB-level AP Java Subset)
*Program Analysis
**Testing
***Test classes and libraries in isolation
***Identify boundary cases and generate appropriate test data
***Perform integration testing
**Debugging
***Categorize errors: compile time, runtime, logic
***Identify and correct errors
***Techniques: use a debugger, add extra output statements, hand-trace code
**Understand and modify existing code
**Extend existing code using inheritance
**Understand error handling
***Understand runtime exceptions
***Throw runtime exceptions (AB only)
**Reason about programs
***Precondition s andpostcondition s
***Assertions
***Invariants (AB only)
**Analysis of algorithms
***Informal comparisons of running times
***Exact calculation of statement execution counts
***Big-O notation (AB only)
***Worst-case and average-case time and space analysis (AB only)
**Numerical representations and limits
***Representations of numbers in different bases
***Limitations of finite representations (e.g.,integer bounds, imprecision offloating-point representations, andround-off error )
*StandardData Structures
**Simpledata types (int,boolean , double)
**Classes
**One-dimensionalarrays
**Two-dimensional arrays (AB only)
**Linked lists (singly, doubly, circular) (AB only)
**Stacks (AB only)
**Queues (AB only)
**Trees (AB only)
**Heaps (AB only)
**Priority queues (AB only)
**Sets (AB only)
**Maps (AB only)
*Standard Algorithms
**Operations on data structures listed above
***Traversals
***Insertions
***Deletions
***Iterators (AB only)
**Searching
***Sequential
***Binary
***Hashing (AB only)
**Sorting
***Selection
***Insertion
***Mergesort
***Quicksort (AB only)
***Heapsort (AB only)
*Computing in Context
**Major hardware components
***Primary and secondary memory
***Processors
***Peripherals
**System software
***Language translators/compilers
***Virtual machines
***Operating systems
**Types of systems
***Single-user systems
***Networks
**Responsible use of computer systems
***System reliability
***Privacy
***Legal issues andintellectual property
***Social and ethical ramifications of computer useAP Computer Science exam
The AP exam currently tests students on their knowledge of Java. From 1999 to 2003, the exam tested students on their knowledge of
C++ instead. Before 1999, the AP exam tested students on their knowledge of Pascal.Although there are two AP Computer Science tests (A and AB), the format for both is exactly the same, composed of two sections:
*Section I: Multiple Choice [1 hour and 15 minutes for 40 multiple-choice questions]
*Section II: Free-Response [1 hour and 45 minutes for 4 problems involving extended reasoning]GridWorld Case Study
The GridWorld Case Study is intended to be a substitute for writing a single large program as a culminating project. Due to obvious time restraints during the exam, the GridWorld Case Study is provided by the College Board [http://apcentral.collegeboard.com/apc/public/repository/GridWorldCode.zip] to students prior to the exam. They are expected to be familiar with the classes and interfaces (and how they interact) before taking the exam. The case study is divided into five sections, the last of which is only tested on the AB exam.
Roughly five multiple-choice questions in Sections I are devoted to the GridWorld Case Study, and it is the topic of one free response question in Section II.
Since the 2007-08 school year, the GridWorld Case Study has replaced the Marine Biology Case Study.
Grade distributions for AP Computer Science A
In the 2007 administration, 15,049 students took the exam from 2,068 schools. The mean score was a 2.84. The grade distribution for 2007 was:
Grade distributions for AP Computer Science AB
In the 2007 administration, 5,064 students took the exam from 1,163 schools. The mean score was a 3.38. The grade distribution for 2007 was:
References
External links
* [http://www.collegeboard.com/student/testing/ap/sub_compscia.html?compscia College Board: AP Computer Science A]
* [http://www.collegeboard.com/student/testing/ap/sub_compsciab.html?comsciab College Board: AP Computer Science AB]
* [http://www.collegeboard.com/student/testing/ap/compsci_a/case.html?compscia College Board: GridWorld Case Study]
Wikimedia Foundation. 2010.