Java Games: Flashcards, matching, concentration, and word search.

AP CSP Unit 2

AB
VariablesIt is like a box that can hold one value at a time, such as one word, one costume, or one list (which can contain many things).
Local Variablecan be set or used only in the environment in which it is defined.
Global VariableA global variable is a variable that is usable by all scripts in the program
PredicateA hexagon-shaped reporter that asks a true/false question
BooleansA binary variable, having two possible values called “true” and “false.”.
ConditionalsThe if and if-else blocks because they control the code based on a true-or-false condition.
Initializing variablesSetting an initial value for a variable.
IndexThe position number of the item in the list.
ElementAnother name for an item in a list.
SublistA list used as an item of another list.
Data typeWhat kind of data something is
Primitive Data TypeThey are data types that are built-in to the developer program, in snap: numbers, text (words and sentences), Booleans (true or false), lists
Abstract Data TypeIt is a custom data type that's meaningful to your program. It's not built into the language; you develop it as you code.
ConstructorIt constructs one example of the data structure. By naming the pieces of the structure, the constructor makes it certain that every time you use it, you build the structure in the right order.
SelectorThey each select one piece of the data structure. The constructor and selector together implement the quiz item abstract data type.
Data AbstractionThe creation and use of abstract data types in a program.
TableTwo-dimensional data structure with rows and columns. If you've used a spreadsheet program, what it displays is a table.
TraversingMeans looking at each item of the list. “For each” is iterative. That is, it's repetitive.
RangeIt is the type of data that it accepts as input.
DomainIt is the type of data that it reports as output.
SequencingFollowing steps in order
SelectionMeans deciding which part of an algorithm to run based on whether a condition is true or false.
IterationCode that repeats in a loop
Nested conditional statementAn if or if else statement inside another if else statement.
StringAn ordered sequence of characters.
Software libraryA collection of procedures that can be used in programs.
APIAn application program interface documents what a programmer needs to know about using a library: it's a description of each procedure's purpose, inputs, and outputs (but not its algorithms).
Creative CommonsA specific family of copyright licenses that allow others to use, share, maybe sell, and maybe revise your work.
Free SoftwareMeans software that anyone can copy, use, modify, and redistribute, including commercially, provided that any modifications must be under the same license.
Open SourceSoftware is a more general term that means that you make the program's source (human-readable) code available to anyone. You may still restrict how people can use the program.
Open AccessScholarly research reports are available for free download, rather than requiring the permission of a journal publisher.


Technology Teacher
Blue Hills Regional Vocational High School

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities