CS 370 exam review Play This Game Live Now Join Live Game as a Player
It is acceptable to make B a subclass of A only if, for every public method with identical signatures in both A and B, the preconditions for A are no stronger than the preconditions for B and the postconditions for A are no weaker than the postconditions for B.
It is acceptable to make B a subclass of A only if, for every public method with identical signatures in both A and B, the preconditions for A are no stronger than the preconditions for B and the postconditions for A are no weaker than the postconditions for B.
What is the Liskov Substitution Principle?
Software entities, including code and data, should not be duplicated.
Software entities, including code and data, should not be duplicated.
What is the DRY Principle (Don't Repeat Yourself)?
You can pick your friends, and you can pick your nose, but you can’t pick your friend’s nose.
You can pick your friends, and you can pick your nose, but you can’t pick your friend’s nose.
What is the Law of Demeter?
A class should have only one reason to change.
A class should have only one reason to change.
What is the Single Responsibility Principle?
Many client-specific interfaces are better than one general-purpose interface.
Many client-specific interfaces are better than one general-purpose interface.
What is the Interface Segregation Principle?
Code and design should be easy for another programmer to understand.
Code and design should be easy for another programmer to understand.
What is readability?
Software should deal with unusual situations gracefully and avoid crashing.
Software should deal with unusual situations gracefully and avoid crashing.
What is robustness?
Software should perform correctly and efficiently when problems grow in size by several orders of magnitude.
Software should perform correctly and efficiently when problems grow in size by several orders of magnitude.
What is scalability?
Software defects can be found and fixed without introducing new defects.
Software defects can be found and fixed without introducing new defects.
What is maintainability?
New features can be added without breaking existing features.
New features can be added without breaking existing features.
What is extensibility?
These conditions document what should be true before and after executing a method.
These conditions document what should be true before and after executing a method.
What are preconditions and postconditions?
This quality means that few internal comments are needed to understand method code.
This quality means that few internal comments are needed to understand method code.
What is self-documenting code?
All code within a method should be at a similar __________.
All code within a method should be at a similar __________.
What is level of abstraction?
A method that does just one thing (and does it well) has this quality.
A method that does just one thing (and does it well) has this quality.
What is cohesion?
This principle states that a method should either change object state or return a value, but not both.
This principle states that a method should either change object state or return a value, but not both.
What is the Command-Query Separation Principle?
The process of revising code to make it more elegant without changing its functionality.
The process of revising code to make it more elegant without changing its functionality.
What is refactoring?
Planning Poker is a game for accomplishing this software development task.
Planning Poker is a game for accomplishing this software development task.
What is estimation?
These cards are used to design classes and their relationships.
These cards are used to design classes and their relationships.
What are Class-Responsibility-Collaborator (CRC) cards?
Git is an example of this general category of tools.
Git is an example of this general category of tools.
What is a Version (or Revision) Control System?
A contrast to the Waterfall Model, this kind of software development process involves brief iterations through the entire software development cycle
A contrast to the Waterfall Model, this kind of software development process involves brief iterations through the entire software development cycle
What is agile software development?
Like an interface, this kind of class cannot be instantiated.
Like an interface, this kind of class cannot be instantiated.
What is an abstract class?
Both of these Java keywords should be used when defining a constant.
Both of these Java keywords should be used when defining a constant.
What are static and final?
This term describes when a class has two methods with the same name but different parameters.
This term describes when a class has two methods with the same name but different parameters.
What is overloading?
This process means that the Java runtime environment, when asked to invoke a method on an object. looks at the actual class of the object to find the method implementation to execute.
This process means that the Java runtime environment, when asked to invoke a method on an object. looks at the actual class of the object to find the method implementation to execute.
What is dynamic method invocation?
This property allows objects of different classes to share a common type.
This property allows objects of different classes to share a common type.
What is subtype polymorphism?
This principle states: Abstractions should not depend on details. Details should depend on abstractions. Or: Code to interfaces, not classes.
This principle states: Abstractions should not depend on details. Details should depend on abstractions. Or: Code to interfaces, not classes.
What is the Dependency Inversion Principle?
Team 1 |
|
|
|
|
Team 2 |
|
|
|
|
Team 3 |
|
|
|
|
Team 4 |
|
|
|
|
Team 5 |
|
|
|
|
Team 6 |
|
|
|
|
Team 7 |
|
|
|
|
Team 8 |
|
|
|
|
Team 9 |
|
|
|
|
Team 10 |
|
|
|
|
What Would You Like To Risk?
Team 1 |
|
|
|
|
Team 2 |
|
|
|
|
Team 3 |
|
|
|
|
Team 4 |
|
|
|
|
Team 5 |
|
|
|
|
Team 6 |
|
|
|
|
Team 7 |
|
|
|
|
Team 8 |
|
|
|
|
Team 9 |
|
|
|
|
Team 10 |
|
|
|
|
Go To The Final Question
Final Score:
Team 1 |
|
|
|
|
Team 2 |
|
|
|
|
Team 3 |
|
|
|
|
Team 4 |
|
|
|
|
Team 5 |
|
|
|
|
Team 6 |
|
|
|
|
Team 7 |
|
|
|
|
Team 8 |
|
|
|
|
Team 9 |
|
|
|
|
Team 10 |
|
|
|
|
Edit This Game:
|
|