Search Header Logo

SOLID principles

Authored by Halyna Melnyk

Computers

University

Used 131+ times

SOLID principles
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Solid principles were promoted by which of these?

Robert Hook

Robert Rich

Robert Martin

Robert Downy

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The SOLID acronym in Solid principles was introduced by

Micheal Feathers

Micheal White

Micheal Father

Micheal Brown

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Concerning the solid principle which of these is odd?

Dependency Inversion Principle

Liskov Substitution Principle

Interface Segregation Principle

Single Reconstruction Principle

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A specific form of decoupling where conventional dependency relationships established from high-level, policy-setting modules to low-level, dependency modules are reversed for the purpose of rendering high-level modules independent of the low-level module implementation details.

• High-level modules should not depend on low-level modules; both should depend on abstractions

• Abstractions should not depend on details; details should depend on abstractions

What is the Open/Closed Principle?

What are the five principles?

What is the Liskov Substitution Principle?

What is the Single Responsibility Principle?

What is the Dependency Inversion Principle?

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

...is the notion that "objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program"


Liskov's notion of a behavioral subtype defines a notion of substitutability for mutable objects; that is, if S is a subtype of T, then objects of type T in a program may be replaced with objects of type S without altering any of the desirable properties of that program (e.g., correctness)

What is the Open/Closed Principle?

What are the five principles?

What is the Liskov Substitution Principle?

What is the Single Responsibility Principle?

What is the Dependency Inversion Principle?

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

"software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification"[Bertrand Meyer-1988]. That is, such an entity can allow its behavior to be modified without altering its source code.

What is the Open/Closed Principle?

What are the five principles?

What is the Liskov Substitution Principle?

What is the Single Responsibility Principle?

What is the Dependency Inversion Principle?

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

• Classes that implement interfaces should not be forced to implement methods they do not use. Another way of putting it is: use small interfaces, not fat ones

• Focuses on the cohesiveness of interfaces with respect to the implementors that use them

• Keep each implementation independent of interfaces that they do not use. If you need to change one interface, you shouldn't need to change the other

What is the Open/Closed Principle?

What is the Interface Segregation Principle?

What is the Liskov Substitution Principle?

What is the Single Responsibility Principle?

What is the Dependency Inversion Principle?

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers