Solutions
How will polymorphism and inheritance work? Correct Answer -
Ojected-oriented design and analysis step: Describe object
interactions.
What problem needs to be solved? Correct Answer - Ojected-
oriented design and analysis step: Indentify the most important
objects.
How will people use the application? Correct Answer -
Ojected-oriented design and analysis step: Describe the application.
What are the responsibilities of the different objects? Correct
Answer - Ojected-oriented design and analysis step: Gather
requirements.
What ideas should be focused on in the application? Correct
Answer - Ojected-oriented design and analysis step: Create a
class diagram.
What is an advantage of using programming libraries? Correct
Answer - The save development time.
What is a programming language library? Correct Answer - A
set of related modules; possibly precompiled.
Which aspect of a programming language would not likely affect the
execution time (speed) of a program? Correct Answer - The
compiler.
, Which language is built on object-oriented design principles?
Correct Answer - Java
In which programming language is a constructor used? Correct
Answer - Java
When should a use case be written? Correct Answer - After
gathering requirements.
What does UML provide? Correct Answer - A way to visually
model computing applications.
What is the correct rule regarding the number of elements a Python
list may contain? Correct Answer - It must be a sequence of
zero or more elements.
What does a use case diagram do? Correct Answer - Provides
an overview of several use cases.
What are two purposes of a use case diagram? Correct Answer -
To document how to use system.; To visualize the fuctional
requirements of a system.
What is necessary for an entity to be considered an actor in a use
case? Correct Answer - The entity needs to exist outside the
described system.
How does a hash-based index increase lookup speed? Correct
Answer - By mapping an index to a speed table.
Which storage method ensures the fastest access to input data?
Correct Answer - Dictionaries or Hash Table