ITM 207 Final Exam Theory
Questions with Complete
Answers
Declaration - Answer-A statement that associates an identifier with a variable, an action,
or some other entity within the language that can be given a name so that the
programmer can refer to that item by name
Assignment Statement - Answer-an action statement that says to evaluate the
expression on the right-hand side of the symbol and store that value into the place
named on the left-hand side
Named Constant - Answer-A location in memory, referenced by an identifier, that
contains a data value that cannot be changed
Key to the Processing - Answer-the data type determines how characters are to be
converted to a bit pattern (input) and how a bit pattern is to be converted to characters
(output)
Control Structures - Answer-Instructions that determine the order in which other
instructions in a program are executed
op-Down Solution - Answer-decomposes a general solution into more concrete
solutions to sub-problems
Object-Oriented Solution - Answer--ADTs needed in solution are determined
- ADTs are written only if not in library
-Data structure is encapsulated within the class that implements the ADT
- Main program is instructions to ADTs to perform the necessary tasks
Four Stages of Object Oriented Design Process - Answer-- Brainstorming
-Filtering
-Scenarios
- Responsibilities
Object-Oriented Design - Answer-a problem-solving methodology that produces a
solution to a problem in terms of self-contained entities called objects
Key Steps to Object-Oriented Design - Answer-1. Isolate the real-world objects in the
problem
2. Abstract the objects with like properties into groups(Classes)
Questions with Complete
Answers
Declaration - Answer-A statement that associates an identifier with a variable, an action,
or some other entity within the language that can be given a name so that the
programmer can refer to that item by name
Assignment Statement - Answer-an action statement that says to evaluate the
expression on the right-hand side of the symbol and store that value into the place
named on the left-hand side
Named Constant - Answer-A location in memory, referenced by an identifier, that
contains a data value that cannot be changed
Key to the Processing - Answer-the data type determines how characters are to be
converted to a bit pattern (input) and how a bit pattern is to be converted to characters
(output)
Control Structures - Answer-Instructions that determine the order in which other
instructions in a program are executed
op-Down Solution - Answer-decomposes a general solution into more concrete
solutions to sub-problems
Object-Oriented Solution - Answer--ADTs needed in solution are determined
- ADTs are written only if not in library
-Data structure is encapsulated within the class that implements the ADT
- Main program is instructions to ADTs to perform the necessary tasks
Four Stages of Object Oriented Design Process - Answer-- Brainstorming
-Filtering
-Scenarios
- Responsibilities
Object-Oriented Design - Answer-a problem-solving methodology that produces a
solution to a problem in terms of self-contained entities called objects
Key Steps to Object-Oriented Design - Answer-1. Isolate the real-world objects in the
problem
2. Abstract the objects with like properties into groups(Classes)