Professional Documents
Culture Documents
Ap Computer Science A Course Overview
Ap Computer Science A Course Overview
There are two computer science offerings, and students can take either AP Computer Science A Course Content
course in any order or concurrently:
■ AP Computer Science A focuses on computing skills related to The course content is organized into ten commonly taught units:
programming in Java. ■ Unit 1: Primitive Types
■ AP Computer Science Principles provides students with a broad
■ Unit 2: Using Objects
introduction to computer science and how it relates to other fields.
■ Unit 3: Boolean Expressions and if Statements
The courses underscore the importance of communicating solutions
appropriately and in ways that are relevant to current societal needs. ■ Unit 4: Iteration
AP Computer Science courses can help address traditional issues of ■ Unit 5: Writing Classes
equity, access, and broadening participation in computing while
providing a strong and engaging introduction to fundamental areas of ■ Unit 6: Array
the discipline. ■ Unit 7: ArrayList
■ Unit 8: 2D Array
AP Computer Science A Course Overview
■ Unit 9: Inheritance
COMPUTER LANGUAGE The following computational thinking practices describe what skills
students should develop during the course:
The course requires that solutions of problems be written in the Java
■ Program Design and Algorithm Development: Determine
programming language. Because the Java programming language is
required code segments to produce a given output.
extensive, the AP Computer Science A Exam covers a subset of Java.
■ Code Logic: Determine the output, value, or result of given
LAB REQUIREMENT program code given initial values.
The AP Computer Science A course must include a minimum of 20 ■ Code Implementation: Write and implement program code.
hours of hands-on, structured lab experiences to engage students in
■ Code Testing: Analyze program code for correctness, equivalence,
individual or group problem solving. Each course includes a substantial
and errors.
lab component in which students design solutions to problems, express
their solutions precisely, test their solutions, identify and correct errors, ■ Documentation: Describe the behavior and conditions that
and compare possible solutions. The College Board has developed produce identified results in a program.
AP Computer Science A Exam Structure
Exam Components
The CheckDigit class is shown at right. You will write two /** Returns true if numWithCheckDigit is valid, or false
methods of the CheckDigit class. * otherwise, as described in part (b).
* Precondition: The number of digits in numWithCheckDigit
* is between two and seven, inclusive.
(a) Complete the getCheck method, which computes the check * numWithCheckDigit >= 0
digit for a number according to the following rules. */
public static boolean isValid(int numWithCheckDigit)
{
■ Multiply the first digit by 7, the second digit (if one exists) by 6, the /* to be implemented in part (b) */
}
third digit (if one exists) by 5, and so on. The length of the method’s
int parameter is at most six; therefore, the last digit of a six-digit /** Returns the number of digits in num. */
public static int getNumberOfDigits(int num)
number will be multiplied by 2. {
/* implementation not shown */
■ Add the products calculated in the previous step. }
Educators: apcentral.collegeboard.org/courses/ap-computer-science-a
Students: apstudents.collegeboard.org/courses/ap-computer-science-a