Chapter Nine - Object-Oriented Design and High-Level Programming Languages Flashcards

1
Q

object

A
  • object that makes sense within the context of the problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

object class (class)

A
  • group of similar objects (e.g. groups of students; all are the same, but have difference characteristics, e.g. height, gender…)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

fields

A
  • the class contains these; they represent the properties and behaviors of the class. (can contain data VALUES or METHODS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

method

A
  • NAMED ALGORITHM that manipulates the DATA VALUES in the OBJECT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

encapsulation (2 definitions)

A
  • IMPLEMENTATION DETAILS of a class are kept HIDDEN from the user&raquo_space; get information (e.g. getName, getEmailAddress)
  • language feature that enforces INFORMATION HIDING
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

compiler

A
  • programs that TRANSLATE programs written in HIGH-LEVEL LANGUAGE into MACHINE CODE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

interpreter

A
  • program that TRANSLATES and EXECUTES the statements in SEQUENCES (vs. assembler & compiler which produces machine code as output; interpreter translates statement then IMMEDIATELY executes it)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

bytecode

A
  • STANDARD MACHINE LANGUAGE for Java
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Boolean expression

A
  • returns TRUE or FALSE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

strong typing

A
  • each VARIABLE is assigned a TYPE, only variables of that TYPE can be stored in the variable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

data type

A
  • description set of VALUES and OPERATIONS that can be applied to values of that type. (e.g. int, range of values depends on how much memory is assigned; operations: + - / *…)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

declaration

A
  • associates IDENTIFIER with VARIABLE/action something else
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

reserved word

A
  • word in a language that has a special meaning; cannot be used as identifier (e.g. int, double)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

case sensitive

A
  • capitals and lowercase are considered different words (C++, Java, Python)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

control structure

A
  • instruction that controls the ORDER in which other INSTRUCTIONS are EXECUTED
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

asynchronous

A
  • NOT occurring at the SAME TIME as computer processing (e.g. mouse click); asynchronous processing = event-driven processing
17
Q

instantiate

A
  • create an object from a class
18
Q

inheritance

A
  • one CLASS INHERITS DATA/METHODS from another
19
Q

polymorphism

A
  • programming languages ability to handle two methods of same name in an inheritance hierarchy