AP Computer Science Chapter 3
AP Computer Science Chapter 3 vocabulary
Terms in this set (44)
Floating point data type, stored using 64 bits.
Integer data type, stored using 32 bits.
Used to represent two values, true and false. Can't be changed to any other data type.
The character string that appears inside double quotation marks ("Example.")
A Java operation that uses a type or class name in parenthesis to convert and return a value of one data type into another.
A conversion that may result in a loss of important information (Ex. converting a double to int)
A characteristic of Java that means programmers can't assign a value to a variable that is inconsistent with its declared type (Ex. int number = 3.5;)
Used in Java to place comments without altering input.
Used in Java to determine a remainder.
Operator Precedence Hierarchy
The order in which operators are evaluated in an expression.
Common values such as numbers and characters.
Represented by final int and then identified by all caps to represent a variable that can't be changed. (Ex. final int CONSTANT = 500)
Used to identify a constant within a program.
A Java reserved word that indicates no value is returned.
Used to identify that the main method is being used and is where processing begins.
Used when needed to print an entire line of text and then proceed automatically to the next line in the output.
This kind of class or interface is inherited by all subclasses and is accessible anywhere.
A Java reserved word for a visibility modifier. This kind of method and variable can only be accessed in the class which they're declared.
Reserved word that describes methods and variable. Can be referenced without an instance of the class.
Gives a value to a variable (Ex. number = 10)
Name for a location in memory used to hold a data value.
Used to represent and print special characters that are frequently used for other purposes in Java. (Ex. ")
Defines an object. Establishes the kind of data an object of that type will hold and defines the methods that represent the behavior of such objects or the operations that can be performed on them.
Basic part of Java program. It often represents a real object in a problem area, such as a bank account. Each has a state and a set of behaviors.
Group of programming statements that is given a name so that we can use them when we need it. When called, its statements are executed. Defines an object's behavior.
The given variable that is used to represent and identify an object within a program.
Identified by + and is used to add one string to another.
Each object protects and manages its own information.
The definition of one class can be based on another class that already exists (classes can be created from other classes).
The idea that we can refer to objects of different but related types in the same way. It's a big help with designing solutions to problems that deal with multiple objects.
Values that an object stores internally, representing its state. May be primitive data or other objects.
The state of being of an object. Basic characteristics that currently define the object.
Activities associated with the object.
Which data type is used to process individual characters?
Who invented a form of Algebra based on logical statements that are either true of false?
What are the 4 data types that will be tested on the AP Exam?
int, double boolean, string
What are Constants?
Values that don't change
What is a self-commenting variable?
a Variable whose name describes what the variable is used for
What 2 data types are used by java for real numbers?
What are the 4 real number operations?
Is real number remainder division possible in java?
What are java's 4 integer types?
byte, short, int, long
How many bytes are used by an int?
What is the largest value of a byte?
YOU MIGHT ALSO LIKE...
AP Computer Science Chapter 2
AP Computer Science Chapter 2
AP Computer Science Vocab (1)
OTHER SETS BY THIS CREATOR
Database chapter 1
Personal Fitness Final Review
THIS SET IS OFTEN IN FOLDERS WITH...
Ch. 3 APCS
APCS Ch. 4
Java: An Introduction to Computer Science and Programming Chapter 1 Vocabulary
APCS Ch 5