Podcast
Questions and Answers
What is the key to the Open Closed Principle?
What is the key to the Open Closed Principle?
- Polymorphism
- Inheritance
- Abstraction (correct)
- Encapsulation
What is the Open Closed Principle?
What is the Open Closed Principle?
- A module should be closed for both extension and modification.
- A module should be closed for extension but open for modification.
- A module should be open for both extension and modification.
- A module should be open for extension but closed for modification. (correct)
What does the LogOn function depend on according to the example?
What does the LogOn function depend on according to the example?
- .NET framework
- Mainframe computer
- Ethernet connection
- Modem interface (correct)
What does the Liskov Substitution Principle state?
What does the Liskov Substitution Principle state?
What does the Dependency Inversion Principle aim to achieve?
What does the Dependency Inversion Principle aim to achieve?
What is the purpose of the Open Closed Principle?
What is the purpose of the Open Closed Principle?
What does the Liskov Substitution Principle state?
What does the Liskov Substitution Principle state?
How does the Open Closed Principle relate to abstraction?
How does the Open Closed Principle relate to abstraction?
According to the example, what does the LogOn function depend on?
According to the example, what does the LogOn function depend on?
What is the aim of the Dependency Inversion Principle?
What is the aim of the Dependency Inversion Principle?
According to the Open Closed Principle, a module should be open for _______ but closed for modification.
According to the Open Closed Principle, a module should be open for _______ but closed for modification.
Abstraction is the key to the _______ Closed Principle.
Abstraction is the key to the _______ Closed Principle.
The Liskov Substitution Principle states that subclasses should be substitutable for their _______ classes.
The Liskov Substitution Principle states that subclasses should be substitutable for their _______ classes.
The Dependency Inversion Principle aims to invert the conventional dependencies and have high-level modules depend on _______ modules.
The Dependency Inversion Principle aims to invert the conventional dependencies and have high-level modules depend on _______ modules.
The LogOn function depends only upon the _______ interface, according to the example.
The LogOn function depends only upon the _______ interface, according to the example.
Flashcards are hidden until you start studying