ACTUAL Exam Questions and CORRECT
Answers
Java Programming Tip (The Sooner You Type Code) - CORRECT ANSWER - The sooner
you begin to type code, the longer the program will take to finish, because careful design of the
program must precede coding. This is particularly true of object-oriented programs.
Software Engineering - CORRECT ANSWER - The process of designing and writing
software
Software Life Cycle - CORRECT ANSWER - The different phases involved in the design
and development of a computer program
Specification Phase (Software Life Cycle) - CORRECT ANSWER - A statement of the
problem and a detailed description of what the program will do.
Design Phase (Software Life Cycle) - CORRECT ANSWER - Describe the details of the
various classes, methods, and data that will be used in the program
Implementation Phase (Software Life Cycle) - CORRECT ANSWER - The actual coding
of the program into Java
Testing Phase (Software Life Cycle) - CORRECT ANSWER - Test the program's
performance to make sure it is correct, recoding it or redesigning it as necessary.
Phases of the Software Life Cycle - CORRECT ANSWER - Specification, Design,
Implementation, Testing
Understanding the Problem Questions - CORRECT ANSWER - What exactly is the
problem to be solved?
, How will the program be used?
How should the program behave?
Java Effective Design (Looking for Nouns) - CORRECT ANSWER - Choosing a
program's objects is often a matter of looking for nouns in the problem specification.
Object Design Questions - CORRECT ANSWER - What role will the object perform in
the program?
What data or information will it need?
What actions will it take?
What interface will it present to other objects?
What information will it hide from other objects?
"Designing an Object" - CORRECT ANSWER - Designing the object's class
Object Type - CORRECT ANSWER - The class can be considered the object's type
Instance Variables are used to - CORRECT ANSWER - store the information that an
object needs to perform its role
Java Effective Design (Looking for Verbs) - CORRECT ANSWER - Choosing the
behavior of an object is often a matter of looking for verbs in the problem specification
Invoked - CORRECT ANSWER - called upon
Java Effective Design (Object Interface) - CORRECT ANSWER - An object's interface
should consist of just those methods needed to communicate with or to use the object