AP Computer Science A
Advanced Placement (AP) Computer Science A (also known as AP CompSci, AP CompSci A, APCS, APCSA, or 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 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 equal to a full year, was discontinued following the May 2009 exam administration.
AP Computer Science 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.
The units of the exam are as follows:
|3||Boolean Expressions and if Statements||15–17.5%|
|9||Inheritance and Polymorphism||5–10%|
Case studies and labs
Historically, the AP exam used several programs in its free-response section to test students' knowledge of object-oriented programs without requiring them to develop an entire environment. These programs were called Case Studies.
Students such as Thadius Schultheis and Caspian Jolly Van Bodgraven helped revolutionize the program.
This practice was discontinued as of the 2014–15 school year and replaced with optional labs that teach concepts.
Case studies (discontinued)
Case studies were used in AP Computer Science curriculum starting in 1994.
Big Integer case study (1994-1999)
The Big Integer case study was in use prior to 2000. It was replaced by the Marine Biology case study.
Marine Biology case study (2000-2007)
The Marine Biology 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.
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 (2008-2014)
GridWorld is a computer program case study written in Java that was used with the AP Computer Science program from 2008 to 2014. 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 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.
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.
GridWorld has been discontinued and replaced with a set of labs for the 2014–2015 school year.
- 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.
- 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.
- 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.
Instead of the discontinued case studies, the College Board created three new labs that instructors are invited to use, but they are optional and are not tested on the exam. There are no question on the specific content of the labs on the AP exam, but there are questions that test the concepts developed in the labs. The three labs are:
- The Magpie Lab
- The Elevens Lab
- The Picture Lab
The AP exam in Computer Science was first offered in 1984.
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. Since 2003, the AP Computer Science exam has tested students on their knowledge of computer science through Java.
The exam is composed of two sections, formerly consisting of the following times:
- 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, however, 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]
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 distributions since 2003 were:
|% of scores 3 or higher||61.2%||57.5%||56.0%||58.5%||56.6%||57.3%||62.1%||64.9%||63.9%||63.5%||67.1%||61.2%||64.3%||64.3%||67.2%||67.7%||69.9%||70.4%||67%|
|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 ||57,937||60,519 ||65,133||69,685||70,580||63,980|
AP Computer Science AB
The discontinued AP Computer Science AB course 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.
Grade distributions for AP Computer Science AB
The AP Computer Science AB Examination was discontinued as of May 2009. The grade distributions from 2003 to 2009 are shown below:
|% of scores 3 or higher||76.0%||63.3%||69.2%||70.6%||71.2%||73.1%||76.0%|
- AP Computer Science A Home Page, The College Board
- "Important Announcement about AP Computer Science AB". AP Central. The College Board. 2008. Archived from the original on April 9, 2008.
- 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.
- "AP Computer Science A Course and Exam Description, Effective 2020" (PDF). AP Central. Retrieved September 24, 2020.
- "GridWorld Case Study". AP. The College Board. Archived from the original on February 26, 2012.
- Horstmann, Cay. "GridWorld". horstmann.com. Accessed September 15, 2008.
- Horstmann, Cay. "Extending GridWorld". Extending GridWorld. Retrieved 22 February 2016.
- "New Computer Science A Lab Requirement". Retrieved 10 July 2014.
- STUDENT GRADE DISTRIBUTIONS (PDF), College Board, 2005, retrieved January 30, 2017
- STUDENT GRADE DISTRIBUTIONS (PDF), College Board, 2006, retrieved January 30, 2017
- STUDENT GRADE DISTRIBUTIONS (PDF), College Board, 2007, retrieved January 30, 2017
- STUDENT GRADE DISTRIBUTIONS (PDF), College Board, 2009, retrieved January 30, 2017
- "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.
- Total Registration. "2016 AP Exam Score Distributions". www.totalregistration.net. Retrieved 2016-07-01.
- Total Registration. "2017 AP Exam Score Distributions". www.totalregistration.net. Retrieved 2017-06-12.
- https://secure-media.collegeboard.org/digitalServices/pdf/research/2018/Student-Score-Distributions-2018.pdf[bare URL PDF]
- Total Registration (June 14, 2019). "2019 AP Exam Score Distributions". www.totalregistration.net. Retrieved 2019-06-17.
- "STUDENT SCORE DISTRIBUTIONS" (PDF). Retrieved June 9, 2021.
- Total Registration (2021-07-17). "2021 AP Exam Score Distributions". www.totalregistration.net. Archived from the original on 2021-07-08. Retrieved 2021-07-18.
- Total Registration (2022-06-23). "2022 AP Exam Score Distributions". www.totalregistration.net. Retrieved 2022-06-23.
- "PROGRAM SUMMARY REPORT" (PDF). College Board. Retrieved 27 October 2015.
- "PROGRAM SUMMARY REPORT" (PDF). College Board. Retrieved 6 March 2018.
- Cech, Scott J., "College Board Intends to Drop AP Programs in Four Subjects", Education Week, 9 April 2008
- "2003: Computer Science AB Grade Distributions". AP Central. College Board. Retrieved January 30, 2017.
- "2004: Computer Science AB Grade Distributions". AP Central. College Board. Retrieved January 30, 2017.
- "2008 Computer Science AB Grade Distribution". College Board. Archived from the original on 20 June 2009. Retrieved 5 March 2012.