Jump to page content

AP®

Home > College Board Tests > AP: Subjects > Computer Science AB > Sample Questions & Scoring Guidelines

Sample Questions & Scoring Guidelines

The exam covers the fundamentals of computer science taught in a data structures course. Both sections of the exam require students to demonstrate their ability to design, write, analyze, and document programs and subprograms. Java is used for the sections of the exam that require reading and writing of actual programs.

Multiple-Choice Questions

For sample multiple-choice questions that use Java, refer to the Course Description
AP Computer Science A & AB Course Description (.pdf/3MB)

Free-Response Questions

For sample free-response questions that use Java, refer to the Course Description(above).

The following free-response questions use Java and demonstrate the evaluation techniques that are currently used in evaluating the exam.

2008 Free-Response Questions - Computer Science AB (.pdf/236K)
2007 Free-Response Questions - Computer Science AB (.pdf/255K)
2006 Free-Response Questions - Computer Science AB (.pdf/148K)
2005 Free-Response Questions - Computer Science AB (.pdf/288K)
Erratum Notice (.pdf/70K)
2004 Free-Response Questions - Computer Science AB (.pdf/113K)

The free-response questions from 2001 through 2003 used C++ . They are provided to demonstrate the topics and the techniques that were used in these exams.

2003 Free-Response Questions - Computer Science AB (.pdf/199K)
2002 Free-Response Questions - Computer Science AB (.pdf/262K)
2001 Free-Response Questions (.pdf/454K)

Scoring Guidelines

2007 Scoring Guidelines (.pdf/159K)
2006 Scoring Guidelines (.pdf/563K)
2005 Scoring Guidelines (.pdf/155K)
2004 Scoring Guidelines (.pdf/137K)