AP Computer Science A
Advanced Placement Computer Science A (also called AP Java) is an AP Computer Science course and examination offered by the College Board to high school students as an opportunity to earn college credit for a college-level computer science course. AP Computer Science A[1] is meant to be the equivalent of a first-semester course in computer science. The AP exam currently tests students on their knowledge of Java. AP Computer Science AB, which was equivalent to a full year, was discontinued following the May 2009 exam administration.[2]
AP Computer Science A
Advanced Placement Computer Science A emphasizes object-oriented programming methodology with an emphasis on problem solving and algorithm development. It also includes the study of data structures and abstraction, but these topics were not covered to the extent that they were covered in AP Computer Science AB. The Microsoft-sponsored program Technology Education and Literacy in Schools (TEALS) aims to increase the number of students taking AP Computer Science classes.[3]
AP Computer Science AB
AP Computer Science AB was discontinued after the 2008-2009 year
Advanced Placement Computer Science AB included all the topics of AP Computer Science A, as well as a more formal and a more in-depth study of algorithms, data structures, and data abstraction. For example, binary trees were studied in AP Computer Science AB but not in AP Computer Science A. The use of recursive data structures and dynamically allocated structures were fundamental to AP Computer Science AB. Due to low numbers of students taking the AP Computer Science AB exam, it was discontinued after the 2008-2009 year.[4]
AP Computer Science A Topic outline
Topics covered by the course include:[5][6]
- Object-Oriented Program Design
- Program 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.
- Program Design
- Program Implementation
- Implementation techniques
- Methodology
- Object-oriented development
- Top-down development
- Encapsulation and information holding
- Procedural abstraction
- Methodology
- Programming constructs
- Primitive types vs. objects
- Declaration
- Console output (System.out.print/println)
- Control
- Methods
- Sequential
- Conditional
- Iterations
- Recursion
- Java library classes (included in the A or AB-level AP Java Subset)
- Implementation techniques
- 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
- Preconditions and postconditions
- 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 of floating-point representations, and round-off error)
- Testing
- Standard Data Structures
- Simple data types (int, boolean, double)
- Classes
- One-dimensional arrays
- Two-dimensional arrays
- 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
- 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 and intellectual property
- Social and ethical ramifications of computer use
- Major hardware components
AP Computer Science exam
Since 2003, the AP Computer Science exam has tested students on their knowledge of computer science through Java. Before 1999, the AP exam tested students on their knowledge of Pascal. From 1999 to 2003, the exam tested students on their knowledge of C++ instead. The AP exam in Computer Science was first offered in 1984.
The exam is 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]
As of 2015, the Multiple Choice section was extended by 15 minutes while the Free-Response section was reduced by 15 minutes for the following:
- Section I: Multiple Choice [1 hour and 30 minutes for 40 multiple-choice questions]
- Section II: Free-Response [1 hour and 30 minutes for 4 problems involving extended reasoning]
Case Studies and labs
Historically, the AP exam has used several programs in its free-response section to test students' knowledge of object-oriented programs without requiring them to develop an entire environment. This practice has been discontinued as of the 2014-15 school year. There will be no question on the specific content of the labs on the AP exam. Instead, there will be questions that test the concepts developed in the labs. The College Board has instead created three new labs which instructors are invited to use, but they are optional and are not tested on the exam. These are three labs:[7]
(1) The Magpie Lab (2) The Elevens Lab (3) The Picture Lab
Discontinued Case Studies
Marine Biology Case Study
The Marine Biology Simulation Case Study (MBCS) was a program written in C++ until 2003, then in Java, for use with the A and AB examinations. It served as an example of object-oriented programming (OOP) embedded in a more complicated design project than most students had worked with before. It replaced the Big Integer case study that was in use prior to 2000.
The case study was designed to allow the College Board to quickly test a student's knowledge of object oriented programming ideas such as inheritance and encapsulation while requiring students to understand how objects such as "the environment", "the fish", and the simulation's control module interact with each other without having to develop the entire environment independently, which would be quite time consuming. The case study also gives all students taking the AP Computer Science exams with a common experience from which to draw additional test questions.
On each of the exams, at least one free-response question was derived from the case study. There were also five multiple-choice questions that are derived from the case study.
This case study was discontinued from 2007, and was replaced by GridWorld.
GridWorld Case Study
GridWorld is a computer program case study written in Java that was used with the AP Computer Science program from 2008 to 2014.[8] It serves as an example of object-oriented programming (OOP). GridWorld succeeded the Marine Biology Simulation Case Study, which was used from 2000–2007. The GridWorld Case Study was used as a substitute for writing a single large program as a culminating project. Due to obvious time restraints during the exam, the GridWorld Case Study was provided by the College Board to students prior to the exam. Students were expected to be familiar with the classes and interfaces (and how they interact) before taking the exam. The case study was divided into five sections, the last of which was only tested on the AB exam. Roughly five multiple-choice questions in Section I were devoted to the GridWorld Case Study, and it was the topic of one free response question in Section II. The GridWorld framework was designed and implemented by Cay Horstmann, based on the Marine Biology Simulation Case Study. The narrative was produced by Chris Nevison and Barbara Cloud Wells, Colgate University.
GridWorld has been discontinued and replaced with a set of labs for the 2014-2015 school year.
- Actors
- The GridWorld Case Study employs an Actor class to construct objects in the grid. The Actor class manages the object's color, direction, location, what the object does in the simulation, and how the object interacts with other objects.
- Actors are broken down into the classes "Flower", "Rock", "Bug", and "Critter", which inherit the Actor class and often override certain methods (most notably the Act method). Flowers can't move, and when forced to Act, they become darker. Flowers are dropped by Bugs and eaten by Critters. Rocks are also immobile and aren't dropped or eaten. Bugs move directly ahead of themselves, unless blocked by a rock or another bug, in which case the Bug will make a 45 degree turn and try again. They drop flowers in every space they occupy, eat flowers that are directly on their space of grid, and are consumed by Critters. Critters move in a random direction to a space that isn't occupied by a Rock or other Critter and consume Flowers and Bugs.
- Extensions
- The Case Study also includes several extensions of the above classes. "BoxBug" extends "Bug" and moves in a box shape if its route is not blocked. "ChameleonCritter" extends "Critter" and does not eat other Actors, instead changing its color to match the color one of its neighbors. "Crab Critter" moves left or right and only eats Actors in front of it, but otherwise extends the "Critter" class.
- Students often create their own extensions of the Actor class. Some common examples of student created extensions are Warden organisms and SimCity-like structures, in which objects of certain types create objects of other types based on their neighbors (much like Conway's Game of Life). Students have even created versions of the games Pac-Man, Fire Emblem, and Tetris.[9]
- Known issues
- The version that is available at the College Board website, GridWorld 1.00, contains a bug (not to be confused with the Actor subclass Bug) that causes a SecurityException to be thrown when it is deployed as an applet. This was fixed in the "unofficial code" release on the GridWorld website. Also, after setting the environment to an invalid BoundedGrid, it will cause a NullPointerException.
Grade distributions for AP Computer Science A
In the 2014 administration, 39,278 students took the exam. The mean score was a 2.96 with a standard deviation of 1.55. The grade distribution since 2003 was:
Score | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012[10] | 2013[11] | 2014[12] | 2015[13] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5 | 17.1% | 18.6% | 17.9% | 21.9% | 19.3% | 21.7% | 23.2% | 26.3% | 24.9% | 23.6% | 26.6% | 21.3% | 24.4% |
4 | 24.5% | 23.6% | 23.2% | 22.2% | 22.8% | 21.7% | 25.7% | 24.7% | 24.8% | 24.3% | 26.6% | 23.1% | 24.6% |
3 | 19.6% | 15.3% | 14.9% | 14.4% | 14.5% | 13.9% | 13.2% | 13.9% | 14.2% | 15.6% | 13.9% | 16.8% | 15.3% |
2 | 9.2% | 9.4% | 9.9% | 7.7% | 9.5% | 9.0% | 8.2% | 7.9% | 7.9% | 7.7% | 7.0% | 7.7% | 7.1% |
1 | 29.6% | 33.1% | 34.0% | 33.7% | 33.9% | 33.7% | 29.8% | 27.1% | 28.2% | 28.7% | 25.9% | 31.1% | 28.6% |
Mean | 2.90 | 2.85 | 2.81 | 2.91 | 2.84 | 2.89 | 3.04 | 3.15 | 3.10 | 3.06 | 3.21 | 2.96 | 3.09 |
Students | 14,674 | 14,337 | 13,924 | 14,662 | 15,049 | 15,537 | 16,622 | 20,120 | 22,176 | 26,103 | 31,117 | 39,278 | 48,994 [14] |
Grade distributions for AP Computer Science AB
AP Computer Science AB Examination has been discontinued as of May 2008.
In the 2008 administration, 4,995 students took the exam.[15] The mean score was a 3.52. The grade distribution for 2008 was:
Score | Percent |
---|---|
5 | 38.9% |
4 | 19.1% |
3 | 15.1% |
2 | 9.0% |
1 | 18.0% |
AP Computer Science Principles
A new exam, titled Advanced Placement Computer Science Principles is going to be available in the 2016-2017 school year. It is designed not to be a replacement for AP Computer Science A, but rather as a parallel option that will focus on computational thinking and fluency.
References
- ↑ AP Computer Science A Home Page, The College Board
- ↑ AP Computer Science AB Home Page
- ↑ Bishop, Todd (2012-07-27). "Geek of the Week: Kevin Wang is putting computer scientists into high schools". GeekWire. Archived from the original on 2015-07-05. Retrieved 2015-07-05.
- ↑ Cech, Scott J., "College Board Intends to Drop AP Programs in Four Subjects", Education Week, 9 April 2008
- ↑ "Computer Science A Course Description" (PDF). College Board. Fall 2010. pp. 8–10. Retrieved 5 March 2012.
- ↑ "Computer Science A Computer Science AB Course Description" (PDF). College Board. May 2009. pp. 10–13. Retrieved 5 March 2012.
- ↑ "New Computer Science A Lab Requirement". Retrieved 10 July 2014.
- ↑ Horstmann, Cay. "GridWorld". horstmann.com. Accessed September 15, 2008.
- ↑ Horstmann, Cay. "Extending GridWorld". Extending GridWorld. Retrieved 22 February 2016.
- ↑ "AP Computer Science A 2012 Score Distribution" (PDF). College Board. Retrieved 12 January 2014.
- ↑ "AP Computer Science A 2013 Score Distribution" (PDF). College Board. Retrieved 12 January 2014.
- ↑ "Student Score Distribution" (PDF). College Board. Retrieved 28 February 2015.
- ↑ "2015 AP Exam Score Distributions". Total Registration. Retrieved 8 July 2015.
- ↑ "PROGRAM SUMMARY REPORT" (PDF). College Board. Retrieved 27 October 2015.
- ↑ "2008 Computer Science AB Grade Distribution". College Board. Archived from the original on 20 June 2009. Retrieved 5 March 2012.
External links
- College Board: AP Computer Science A
- Board: GridWorld Case Study (web.archive.org because no longer a functional page)