AP Notes, Outlines, Study Guides, Vocabulary, Practice Exams and more!

AP Vocabulary Review Flashcards

Terms : Hide Images
9227021177OutputDisplaying information on the monitor0
9227021178CompileCheck a program for errors1
9227021180System.out.print(" ")A command that outputs its parameter to the monitor.2
9227021181DebuggingFinding and fixing errors in a program3
9227021182StringA java class that displays characters.4
9227021183System.out.println(" ")A command that outputs its parameter to the monitor followed by a new line.5
9227021184Escape CharactersSpecial characters in a string that display unique string characters.6
9227021185\"Prints a "7
9227021186\\Prints a \8
9227021187\tPrints a tab9
9227021188\nPrints a new line10
9227021189\'Prints a '11
9227021190//Creates a comment in program12
9227021191CommentA line in a program that will not be executed as code.13
9227021192InputPulling user information into the computer.14
9227021194DeclareTo create a variable in memory15
9227021195intA primitive data type that holds a whole number16
9227021196doubleA primitive data type that holds a decimal number17
9227021197charA primitive data type that holds a single character18
9227021198ConcatenationAdding Strings together19
9227021200castingChanging one data type into another20
9227021201x++Adds one to x21
9227021202x--Subtracts one from x22
9227021203x+=Adds a number to x23
9227021204x-=Subtracts a number from x24
9227021205x*=Multiplies a number to x25
9227021206x/=Divides x by a number26
9227021207Roundoff ErrorAn error that occurs when doing math with decimals in Java27
9227021208Math.random()A method that returns a random value between 0 and .999999996428
9227021209Math.abs()A method that returns the absolute value of the parameter29
9227021210Math.pow(x,y)A method that returns x to the y power30
9227021211Math.sqrt()A method that returns the square root of the parameters31
9227021212PersnicketyAn entirely too complicated word the Dovi said just to sound smart.32
9227021214Two dimensional arraysWhen you need to store a table of data - creates an array of arrays. Array with both rows and columns.33
9227021215Row - majorMeans that the row comes first.34
9227021217RunThe computer follows the directions35
9227021218CommandDirection that tells a computer what to do36
9227021222VariableA name for a spot in the computer's memory. This value can change while the program runs.37
9227021224The Scanner classThis class adds input to your Java programs38
9227021230Modular divisionGives the remainder when dividing two numbers39
9227021233GroupingIf you want your if to do more than one thing40
9227021235Boolean OperatorsAND && Both must be true OR || One or both must be true NOT ! Takes the opposite41
9227021238LoopRepeating code.42
9227021239While loopA loop of code until an initial boolean is false.43
9227021240ScopeThe block of code where a variable is declared. A local variable cannot be accessed outside the block of code in which it is declared.44
9227021241Tracing the loopThis means writing down what the loop does.45
9227021242Primitive DataHolds only one piece of data at a time. The variable holds the actual value. Example: int and double46
9227021243Class DataHolds more than one piece of data at a time and can hold data of different types. Has built in methods (tools).47
9227021244Garbage CollectionJava goes through and "cleans up" any unattached values in memory.48
9227021247ObjectIn Java, this is a variable of a class type. It can hold lots of data and has methods. It is different than a primitive type.49
9227021249The new commandThis is a Java command. It creates a new reference - this is when Java stores the memory address in the variable.50
9227021250ElementThe box of the array. Each box holds a value. All values are the same data type.51
9227021251IndexThe address of the elements. Starts at 0 and ends at (length -1).52
9227021252InitializeStores known values in an array.53
9227021253Initializer ListsAutomatically sets the values in an array.54
9227021254The for headerThe first line of a for loop.55
9227021257InsertionMeans putting a value into the middle of an array56
9227021258DeletionMeans removing a value from the middle of an array57
9227021259InheritanceDefines relationship between objects that share characteristics - the process where one class acquires the properties (methods and fields) of another.58
9227021260ExtendsThe keyword used to inherit the properties of a class. It links the child class to its parent.59
9227021261SuperThis calls methods/constructors from the parent class. If the parent class does not have the method, Java looks at the next parent class up the ladder. At the top, ALL classes inherit from Object.60
9227021263InterfaceThe ultimate to-do list - defines common features of behavior that could be used by any class or program that uses those behaviors. Contains the methods, no instance variables or code, and all methods are public abstract methods.61
9227021264Sub ClassClass that extends from and inherits code from a super class. Has access to both the state and behavior.62
9227021265Super ClassClass that contains the code with both state and behavior that can be extended by its subclasses.63
9227021266Method overridingMethods from the superclass that are overridden by the subclass.64
9227021267List interfaceA way for objects to be stored using standard behavior (behaviors: add, remove, etc.)65
9227021268Wrapper classesWraps a primitive in a class type. There is one for each of the primitive types.66
9227021269Is-A relationshipThis refers to inheritance or implementation. Expressed using keyword "extends".67
9227021270Has-A relationshipThis is an instance of one class that has a reference to an instance of another class or another instance of same class.68
9227021271SearchingFind an element in an array.69
9227021272SortingOrder the elements in an array.70
9227021273Linear searchA search that starts at beginning of the set, asks if this the correct value, moves to the next value in the set, and repeats.71
9227021274Selection sortA sort that finds the smallest value in the array, swaps it with the current position, and then moves the current position over one.72
9227021275Insert sortA sort we move through the array and insert each element in the correct position in the array.73
9227021276Binary searchA search that finds the middle of the set, checks if this is the value, and then moves based on a value that is too high or too low.74
9227021278Repetition - RecursiveMethod calls itself75
9227021279Merge sortA sort that divides the array into smaller and smaller pieces, then merges them in order. This sort is often written recursively.76
9227021280ArrayListA collection of objects.77
9227021282for-each loopA loop that moves through a collection of objects.78
9227021285Variables of a Class ObjectThe state (condition) of the object.79
9227021286Methods of a Class ObjectBehavior (actions) of the object.80
9227021287ClassA template for an object.81
9227021288InstantiationCreates an object in memory and gives it a name.82
9227021289ConstructorA special method that is called when an object is instantiated.83
9227021290PublicMeans it can be used by a program outside this file.84
9227021291PrivateMeans it can only be used by this class.85
9227021292Get MethodAn accessor method that allows a user to retrieve a value.86
9228210065Set MethodA mutator method that allows a user to change a value in a class.87
9227021293Method overloadingCreating multiple methods with the same name but different signatures.88
9227021294SignatureThe number, order, and type of parameters.89
9227021295StaticA modifier that is added to a method or a variable. It means only one copy exists for all objects of that class - all objects share this variable or method.90
9227021296ConstantA value that cannot change. The variable name is usually typed in all uppercase letters.91
9227021297Static methodsA method that belongs to the Class not to an object created. You do not need to create an object to use them.92
9227021298Void MethodsA section of code belonging to a class that is given a name, has parameters, and does not return a value.93
9227021299A parameterThe local variable in a method header that holds the data sent in.94
9227021300ArgumentThe data sent to a method that must match the parameter data type it is getting sent to.95
9227021301Primitive Types as ParametersWhen a method copies the value and stores it in the local parameter. Any changes made are lost when control returns to the calling function.96
9227021302Class Types as ParametersWhen a method copies the reference to the memory address and stores it in the local parameter. Since the reference points to the original spot in memory all changes are saved.97
9227021303The return commandSends a value back to the calling method.98
9227021304Return MethodsMethods that send back any type of primitive or class data.99
9227021305Overloaded methodsWhen a program has more than one method with the same name.100
9227021306SignatureNumber and types of parameters101
9227021307RecursionA method that repeats by calling itself.102
9227021308The stackThis is the location in memory where the interrupted method calls are stored. Once the base case is hit the program moves through this and carries out all the commands.103
9227021309Primitive DataHolds only one piece of data at a time. The variable holds the actual value. Example: int and double104
9227021311Garbage CollectionJava goes through and "cleans up" any unattached values in memory.105
9227021312OverloadedThis means the method has multiple uses depending on the type or number of parameters used.106
9227021313MethodsCode that is given a name and parameters that belong to a class. (Spells)107
9227021314ObjectA variable of a class type. It can hold lots of data and has methods. It is different than a primitive type.108
9227021316NewA Java command that creates a new reference - this is when Java stores the memory address in the variable.109
9227021319Initialize (array)Stores known values in an array.110
9227021321The For headerThe first line of a For loop.111
9227021322AlgorithmsA process that has an order, has clear instructions, has operations that can be done by a computer, produces a result, and stops in a finite amount of time112
9227021340If StatementA command that allows computers to make a decision in a program113
9227021341==What we use inside of an IF statement to test if something is equal.114
9227021342>What we use inside of an IF statement to test if something is greater than.115
9227021343>=What we use inside of an IF statement to test if something is greater than or equal to.116
9227021344<What we use inside of an IF statement to test if something is less than.117
9227021345<=What we use inside of an IF statement to test if something is less than or equal to.118
9227021346!=What we use inside of an IF statement to test if something is not equal to.119
9227021347scopeWhen variables exist only inside of the {} of a command120
9227021348while loopA command that repeats a section of code until a Boolean condition is false.121
9227021349DeMorgan's LawAllows you to factor into Boolean conditions122
9227021350Short Circuit EvaluationA built in feature of Java that stops evaluation if the first Boolean condition is true in an || and if the first Boolean condition is false in an &&123
9227021351Tracing CodeThe act of computing a code manually124
9227021352Truth TablesA representation of all possible Boolean outcomes.125
9227021353||Or126
9227021354&&And127
9227021356BooleanA condition that is either true or false128
9227021357Boolean VariableA primitive data type that only holds two values, either true or false.129
9227021359ElseA command that occurs when an If statement is false.130
9227021360else ifA command that tests a new Boolean condition when the first if statement is false.131

Need Help?

We hope your visit has been a productive one. If you're having any problems, or would like to give some feedback, we'd love to hear from you.

For general help, questions, and suggestions, try our dedicated support forums.

If you need to contact the Course-Notes.Org web experience team, please use our contact form.

Need Notes?

While we strive to provide the most comprehensive notes for as many high school textbooks as possible, there are certainly going to be some that we miss. Drop us a note and let us know which textbooks you need. Be sure to include which edition of the textbook you are using! If we see enough demand, we'll do whatever we can to get those notes up on the site for you!