COP 3330 UCF Final Exam with
complete solutions latest version
Order the three steps of developing an object-oriented program (with 1 being the first
step). - CORRECT ANSWER-Understand the problem, Design the solution, Implement
the solution
What is a common method to identify the objects that compose a program? -
CORRECT ANSWER-Look for the nouns in the program description, use cases, or user
stories
A _____ variable is shared across all objects in the same class - CORRECT ANSWER-
Static
Given a problem description, which part of speech are the most likely candidates to be
transformed into objects when you start designing a solution? - CORRECT ANSWER-
Nouns
How does a static variable differ from an instance variable? - CORRECT ANSWER-
Static variables are shared across all objects, whereas each object has a separate copy
of an instance variable
What symbol is used in UML to denote inheritance? - CORRECT ANSWER-An unfilled
triangle
What are the main components of a class diagram? - CORRECT ANSWER-Behaviors,
Attributes, Names
Which of the following are benefits of inheritance? - CORRECT ANSWER-reduction of
duplicate code
When is a constructor called? - CORRECT ANSWER-When an object is instantiated
BRAINSCAPE1