Please enable JavaScript to use CodeHS

AP CSA Labs Glossary

Flashcards

Course:

Module:

Search:

Loop General

A loop is a way to repeat code in your program.

Loop

Programming Style General

The way your code is written is the style. It covers the aspects of the code that goes beyond whether or not it just works.

Programming Style

Control Structure General

A control structure lets us change the flow of the code.

Control Structure loops if statements

Class Java

A class is a template, or a blueprint, from which Java objects are created. All Java programs start with a class.

Top Down Design Java

Top down design is a method for breaking a problem down into smaller parts.

Object Java

An object is a single instance of a Java class. An object has both state and behavior.

Javadoc Java

A specific standard for commenting Java programs. Javadoc is a format to follow when commenting in order to clearly explain your code.

Static method Java

A method called on the Class, rather than on a specific object of the Class.

Object Oriented Programming Java

Programming model that focuses on **objects** and the data and actions associated with the objects.

State Java

The state of an object is all of the object's associated data. It is the *state* that the object is in.

Behavior Java

The behavior of an object is what the object is able to do. It is the actions that can be performed by the object.

Instance Java

Instance is what you call a specific object constructed from a class. Instance and object generally refer to the same thing. An object is a specific instance of a class.

Instance Variable Java

A variable defined in a Class, for which each object of the class has its own copy.

Instance Method Java

An instance method is a method that defines the behavior of an object. It defines an action that the object can perform.

Static variable Java

A variable or attribute of a class that is shared between **all** instance of a class. Each instance **does not** get their own copy.

Data Structure Java

A particular way of organizing data in our programs.

Array Java

A data structure that stores a **fixed** number of elements, all of the same type, one after another like a list.

ArrayList Java

ArrayList is a Java class that is like an Array with extra powers. It can automatically resize and comes with other helpful methods.

Constant Java

A constant is a variable you define at the top of the program that doesn’t change. The reason to define constants is to store named variables that have relevant values for the program.

Method Java

A method is a way to teach the computer a new command

Constructor Java

A constructor is a special method of a Class that constructs a new object (a new instance) of the Class and sets the initial values for the instance variables.

Accessor Method Java

A method that enables user to obtain information about an object’s instance and static variables.

Mutator Method Java

A method that enables user to change the value of an object’s instance and static variables.

null Java

A keyword that indicates a reference object doesn’t point to any object data.

GUI (graphical user interface) General

A type of interface that uses interactive graphical elements such as windows, buttons, and icons.

Black box programming General

when programs are used and tested without the user necessarily understanding how each part of the program is working, but are able to understand what the final output or product will be.

Inheritance Java

When a subclass extends a superclass, the subclass inherits all of the static methods, static variables, and public instance methods of the superclass. This is called inheritance.

Subclass Java

A child class that inherits attributes and behaviors from a superclass (parent).

Subclass Java

If a class A extends the class B, then A is a subclass of B.

Superclass Java

If a class A extends the class B, then B is the superclass of A.

Polymorphism Java

An object can take on different forms depending on its implementation. Java can call the correct method even when an object is disguised as a more generic reference type

Steganography General

The art and science of concealing secret messages in such a way that no one apart from the intended recipient knows about the existence of the message. In digital information, Steganography is the practice of concealing a file, message, image, or video within another file, message, image, or video.

Bit General

Bit means "binary digit". A bit is a single digit in a binary number. A bit can either be 0 or 1.

RGB Color Encoding General

The RGB encoding scheme allows us to encode colors as numeric data. It defines the amount of Red, Green, and Blue light in a pixel. Each color channel can have a value between 0 and 255.

Method Java

Procedures that allow us to control and define the behavior of an object.

ArrayLists Java

A mutable list of object references. We can create ArrayLists by using the constructor new ArrayList<E>().

Pixel General

Images are made up of pixels, which are essentially a grid of values. Each value, or pixel, encodes the color at that position in the image.

Encode General

The process of converting information or data into a specific format that can be understood or processed by a computer.

Parameter Java

A variable that receives a value passed into a method from outside the method.

2D Array Java

A 2D Array is an array of arrays, used to represent tables, grids, and matrices.