Please enable JavaScript to use CodeHS

CS Practice

AP CS A Vocab

Master the vocabulary you need for AP Computer Science A. Match definitions to Java terms from classes and objects to recursion and Big O.

AP CS A ~10 min High school
The Big Idea

Why vocabulary matters

AP Computer Science A is built on a precise set of terms. Knowing what words like class, object, method, and constructor mean is the first step to reading and writing Java programs.

The game below gives you a definition and four possible terms. Active recall like this is one of the fastest ways to move vocabulary from short-term memory into long-term memory.


Interactive

Try it: AP CS A Vocab

Click the term that matches the definition. If you get it right, a new question appears.


How It Works

Key concepts to watch for

Pay attention to the difference between a class (the blueprint) and an object (an instance built from that blueprint). A method is behavior, while a constructor creates the object.

Also notice terms that describe relationships between classes. Inheritance lets a class reuse code from another class. Polymorphism lets the same method name behave differently in different classes. Encapsulation bundles data and keeps some details private.


Real World

Why this matters

Computer scientists use the same vocabulary to talk about code, read documentation, and explain ideas in interviews. When you know the terms, you can focus on solving problems instead of translating words.

Many AP CS A exam questions assume you can instantly recognize these terms. Practicing now will save time on test day and make your first Java programs easier to understand.


Check Yourself

Quick quiz

1. Which term describes a method that calls itself?

2. Which term is a blueprint for creating objects?

3. Which term hides implementation details and shows only functionality?


Keep exploring

Keep practicing with more programming concept tutorials.

Part of the CS Practice tutorial series.