Definition | Term | % Correct |
---|---|---|
"General blueprint"/Template for creating above. Example: Door | Class | 85%
|
Abstract entity that has data (properties and attributes) and can perform actions/methods. | Object | 82%
|
Holds any value from -2^31 to (2^31)-1, inclusive | int | 80%
|
Only holds two conditions: true or false. | Boolean | 77%
|
Numbers with decimal or fractional values. | Real number | 63%
|
Series of characters. Not really a primitive data type but a reference class | String | 63%
|
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 | 61%
|
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) | 59%
|
Runs if boolean expression evaluates to true. | {while} loop | 59%
|
Any class can access it | public | 58%
|
Can only be accessed by class defining it | private | 57%
|
Whole numbers. Represented by int or long, for example. | Integer | 54%
|
Can represent decimals | double | 52%
|
Represents Unicode character | char | 51%
|
Name of information passed to method | Parameter | 51%
|
When called, modifies data value of object. | {Mutator} method | 47%
|
When called, reads specific data value of object. | {Accessor} method | 44%
|
Holds any value from -2^63 to (2^63)-1, inclusive | long | 44%
|
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 | 43%
|
Collections of pre-written classes that can be used by programmer while developing program. | Libraries of objects | 42%
|
Belongs to class instead of specific instance; all objects share same value. | static | 41%
|
Special methods that allow creation of instantiations of objects to be created | Constructor | 38%
|
Above condition + subclasses | protected | 37%
|
Value passed onto method via above | Argument | 33%
|
Inclusion of both data and actions/methods into single component; access to such data and actions from outside of class is thereby restricted. | Encapsulation | 33%
|
One object depends on other objects, cannot function otherwise; this increases maintenance overheads. Represented with dashed arrow. Example: Vehicle uses an Engine | Dependency/Uses | 30%
|
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) | 28%
|
"Inherits from" | extends | 28%
|
Represents classes as three compartments: Name, data/variables, actions/methods. Also depicts connections between multiple classes. | UML class diagram | 25%
|
Specific objects of above. Example: Screen door | Instantiation | 24%
|
Declared inside blocks/scope of code such as in methods/actions or loops. | Local variable | 20%
|
Value that is passed back when method is called | Return value | 20%
|
Breaking down problem into related objects in order to reduce complexity | Decomposition | 19%
|
Identifies an entity (as name suggests). Examples: name, gender, age | Identifier | 16%
|
Includes method name, parameters, and types. Example: setPrice(int price) | Signature | 16%
|
Values of data from class unique to each object. Example: age | Instance variable | 15%
|
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 | 14%
|
Keyword that serves as basic building block. Examples: char, int, double, boolean | Primitive | 14%
|
Contrary to solo developer, can handle larger projects with more ideas but effective communication is required. | Programming team | 9%
|
Examples include support for non-English text, date and time formatting, complex symbols, and localized content. | Internationalization | 5%
|
Holds fixed number of elements of same type (length is established during array initialization). Example: int[] ages = new int[10]; | Static array | 5%
|
Data items passed to and from actions/methods. Can only be accessed inside the method that declares it. | Parameter variable | 3%
|
Copyright H Brothers Inc, 2008–2024
Contact Us | Go To Top | View Mobile Site