Please enable JavaScript to use CodeHS

AP Computer Science A (Mocha)

Students learn the basics of object-oriented programming with a focus on problem-solving and algorithm development. This course is designed to prepare students for the AP® Computer Science A test.

Overview & Highlights

Level
High School
Contact Hours
140
Timeframe
Year

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Introduction to Programming in Java with Karel the Dog
In this module, students learn the basics of java commands, control structures, and problem solving by solving puzzles with Karel.
Basic Java
In this module, students learn the basics of the Java programming language. This module covers printing, variables, types, as well as how to use the basic control structures in the Java language.
Methods
In this module, students learn how to define methods in their programs and use autograders to test if their methods are working correctly.
Classes and Object-Oriented Programming
In this module, students learn the basics of Object Oriented Programming in Java, which is a powerful programming paradigm. Students learn how objects store data and interact with each other in Java programs. Students design and implement classes and extend classes using inheritance.
Data Structures
In this module, students learn basic data structures in Java including arrays, ArrayLists, 2 dimensional arrays and HashMaps. Data structures will be used to design larger applications.
Blackjack
In this project, students develop the classic game BlackJack!
Battleship
In this project, students use Object Oriented design to implement the board game Battleship.
Algorithms and Recursion
In this module, students are introduced to fundamental searching and sorting algorithms including sequential search, binary search, insertion sort, selection sort, and mergesort, as well as the important concept of recursion.
AP Test Practice
In this module, students get a practice exam in the same format as the AP Computer Science in Java test.
Final Project
In this module, students take the skills they've learned throughout the course to create a final project.

113
Lessons
98
Videos
171
Exercises
30
Challenges
134
Offline Handouts

Demo Programs

Explore programs that your students will build throughout this course!

Course Resources

Here are a few examples of teacher resources and materials to use in the AP Computer Science A (Mocha) course

Industry-Relevant Certifications for High School Computer Science

The CodeHS Java Level 1 Certification offers high school students the opportunity to validate their mastery of Java, giving them a competitive advantage when entering college or the workforce.

Learn More

Professional Development

Teaching AP® Computer Science A

Learn how to lead a successful AP® Computer Science A class with CodeHS. The Teaching AP® Computer Science A professional development course prepares teachers to teach AP® Computer Science A with a focus on the Java programming language. Teachers will practice the skills they need to teach tricky concepts, debug programs, answer questions, and lead a blended classroom.

View Units CodeHS PD Options

Standards

AP Computer Science A (Mocha) is aligned with the following standards

Standards Framework View Alignment
AP Computer Science A View (99.7%)
Texas Computer Science 2 View (87.5%)
Virginia Computer Science Programming View (76.2%)

Customizable Assignments

Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.

Learn More

Actions for Teachers

Didn’t find what you were looking for? Here are a few links that might be useful to you.


AP® Computer Science A FRQ Center

This page lists resources for you and your students to practice AP® Computer Science A FRQs. It includes PDFs, pre-entered code, and autograded practice problems from past AP® CSA exams.

Learn More