| Definition | Term | % Correct |
|---|---|---|
| "General blueprint"/Template for creating above. Example: Door | Class | 88%
|
| Abstract entity that has data (properties and attributes) and can perform actions/methods. | Object | 86%
|
| Holds any value from -2^31 to (2^31)-1, inclusive | int | 83%
|
| Only holds two conditions: true or false. | Boolean | 80%
|
| Numbers with decimal or fractional values. | Real number | 69%
|
| Child/Subclass is a specialized form of parent/superclass, i.e. child/subclass has all data and actions/methods of parent/superclass; code will not have to be rewritten. Example: Student is a Person | Inheritance/Is a(n) | 67%
|
| Series of characters. Not really a primitive data type but a reference class | String | 67%
|
| Runs by: 1 - Declaring and initializing control variable, 2 - Checking if boolean expression is true (runs if true, terminates otherwise), 3 - After code is run, control variable is updated, 4 - Repeat 2. Common example: (int i = 0; i < n; i++) | {for} loop | 66%
|
| Any class can access it | public | 64%
|
| Runs if boolean expression evaluates to true. | {while} loop | 64%
|
| Can only be accessed by class defining it | private | 63%
|
| Whole numbers. Represented by int or long, for example. | Integer | 61%
|
| Name of information passed to method | Parameter | 56%
|
| When called, modifies data value of object. | {Mutator} method | 55%
|
| When called, reads specific data value of object. | {Accessor} method | 54%
|
| Represents Unicode character | char | 54%
|
| Can represent decimals | double | 52%
|
| When multiple methods have same name but with different parameters (static), or when subclass overrides method of its superclass such that new method has different functions (dynamic). | Polymorphism | 50%
|
| Collections of pre-written classes that can be used by programmer while developing program. | Libraries of objects | 48%
|
| Holds any value from -2^63 to (2^63)-1, inclusive | long | 46%
|
| Belongs to class instead of specific instance; all objects share same value. | static | 45%
|
| Special methods that allow creation of instantiations of objects to be created | Constructor | 44%
|
| Inclusion of both data and actions/methods into single component; access to such data and actions from outside of class is thereby restricted. | Encapsulation | 44%
|
| Above condition + subclasses | protected | 41%
|
| One object depends on other objects, cannot function otherwise; this increases maintenance overheads. Represented with dashed arrow. Example: Vehicle uses an Engine | Dependency/Uses | 39%
|
| One object belongs to another object and none other. Example: Department has a Teacher, who cannot belong to another department unless this Department no longer exists. | Aggregation/Has a(n) | 38%
|
| Value passed onto method via above | Argument | 38%
|
| Represents classes as three compartments: Name, data/variables, actions/methods. Also depicts connections between multiple classes. | UML class diagram | 34%
|
| "Inherits from" | extends | 32%
|
| Specific objects of above. Example: Screen door | Instantiation | 30%
|
| Dividing complex and large program into smaller sub-programs that can be implemented and tested on their own. These sub-programs may be reused in other programs. | Modularity | 27%
|
| Identifies an entity (as name suggests). Examples: name, gender, age | Identifier | 26%
|
| Value that is passed back when method is called | Return value | 24%
|
| Declared inside blocks/scope of code such as in methods/actions or loops. | Local variable | 23%
|
| Breaking down problem into related objects in order to reduce complexity | Decomposition | 22%
|
| Keyword that serves as basic building block. Examples: char, int, double, boolean | Primitive | 22%
|
| Includes method name, parameters, and types. Example: setPrice(int price) | Signature | 22%
|
| Values of data from class unique to each object. Example: age | Instance variable | 21%
|
| Contrary to solo developer, can handle larger projects with more ideas but effective communication is required. | Programming team | 16%
|
| Examples include support for non-English text, date and time formatting, complex symbols, and localized content. | Internationalization | 11%
|
| Data items passed to and from actions/methods. Can only be accessed inside the method that declares it. | Parameter variable | 8%
|
| Holds fixed number of elements of same type (length is established during array initialization). Example: int[] ages = new int[10]; | Static array | 7%
|