Answers | 100% Verified Answers
Ojected-oriented design and analysis step: Describe object interactions.
How will polymorphism and inheritance work?
Ojected-oriented design and analysis step: Indentify the most important objects.
What problem needs to be solved?
Ojected-oriented design and analysis step: Describe the application.
How will people use the application?
Ojected-oriented design and analysis step: Gather requirements.
What are the responsibilities of the different objects?
Ojected-oriented design and analysis step: Create a class diagram.
What ideas should be focused on in the application?
What is an advantage of using programming libraries?
The save development time.
What is a programming language library?
A set of related modules; possibly precompiled.
Which aspect of a programming language would not likely affect the execution time (speed) of a
program?
The compiler.
Which language is built on object-oriented design principles?
Java
In which programming language is a constructor used?
Java
When should a use case be written?
After gathering requirements.
What does UML provide?
A way to visually model computing applications.
What is the correct rule regarding the number of elements a Python list may contain?
It must be a sequence of zero or more elements.
What does a use case diagram do?
, Provides an overview of several use cases.
What are two purposes of a use case diagram?
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?
The entity needs to exist outside the described system.
How does a hash-based index increase lookup speed?
By mapping an index to a speed table.
Which storage method ensures the fastest access to input data?
Dictionaries or Hash Table
What is the main factor that determines the speed of an algorithm?
The size of input.
Which execution time determines the overall efficiency of an algorithm?
Worst-case
What is being measured when a programmer measures how algorithm speed varies with the amount
of input?
Memory usage
Which two factors affect cost of an algorithm?
Time & Memory
What is one factor that affects cost of an algorithm?
Time
What is one factor that affects cost of an algorithm?
Memory
When analyzing algorithms
which case is the most important to consider?,Worst-case
What is an algorithm?
A finite set of steps for performing a task or solving a problem.
What does inheritance afford in object-oriented programming?
The ability to invoke attributes and methods from a base class.
What is a user-defined prototype for an object?