SOLID principles

SOLID principles

University

17 Qs

quiz-placeholder

Similar activities

Programación II -Conceptos basicos

Programación II -Conceptos basicos

University

20 Qs

IT Essential Chapter 4 Overview of Preventive Maintenance

IT Essential Chapter 4 Overview of Preventive Maintenance

University

20 Qs

NET1L - Lesson 10 (Basic Router Configuration)

NET1L - Lesson 10 (Basic Router Configuration)

University

21 Qs

Quick Revision H466 #1

Quick Revision H466 #1

12th Grade - University

15 Qs

SE Practice Quiz

SE Practice Quiz

University - Professional Development

18 Qs

Sistem Basis Data 5

Sistem Basis Data 5

University

13 Qs

Module 3-Creating Vlans

Module 3-Creating Vlans

9th Grade - University

12 Qs

MCAC0019 Quiz (Based on MODULES & PACKAGES)

MCAC0019 Quiz (Based on MODULES & PACKAGES)

University

15 Qs

SOLID principles

SOLID principles

Assessment

Quiz

Computers

University

Medium

Created by

Halyna Melnyk

Used 129+ times

FREE Resource

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?

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?