Arpit Garg
Test por , creado hace más de 1 año

Quiz for CleanCode Chapter 8

62
0
0
Arpit Garg
Creado por Arpit Garg hace casi 9 años
Cerrar

Chapter 8 SOLID

Pregunta 1 de 11

1

What is Software Design Document

Selecciona una de las siguientes respuestas posibles:

  • UML

  • TestCase

  • Data Flow Diagram

  • SourceCode

Explicación

Pregunta 2 de 11

1

What is the Software Product

Selecciona una de las siguientes respuestas posibles:

  • Documentation

  • SourceCode of Program

  • Running Executable Program

Explicación

Pregunta 3 de 11

1

"A design that works, but can’t be maintained. Something that is unstable, and hard to change." is sometimes called

Selecciona una de las siguientes respuestas posibles:

  • Big Bang Theory

  • Big Bucket

  • Black Hole

  • Big Ball of Mud

Explicación

Pregunta 4 de 11

1

the tendency of a system to be hard to change is called

Selecciona una de las siguientes respuestas posibles:

  • Rigidity

  • Fragility

  • Immobility

  • Viscosity

Explicación

Pregunta 5 de 11

1

When small code changes force system rebuilds it indicates

Selecciona una de las siguientes respuestas posibles:

  • High Coupling

  • Loose Coupling

  • High Cohesion

  • Low Cohesion

Explicación

Pregunta 6 de 11

1

When a small change in one module causes other unrelated modules to misbehave, its called

Selecciona una de las siguientes respuestas posibles:

  • Rigidity

  • Fragility

  • Immobility

  • Viscosity

Explicación

Pregunta 7 de 11

1

When a system's internal components cannot be easily extracted and reused in novel new environments, its called

Selecciona una de las siguientes respuestas posibles:

  • Rigidity

  • Fragility

  • Immobility

  • Viscosity

Explicación

Pregunta 8 de 11

1

What forms SOLID principles

Selecciona una o más de las siguientes respuestas posibles:

  • the Single Responsibility Principle

  • the Open-Closed Principle

  • the Liskov Substitution Principle

  • the Interface Segregation Principle

  • the Dependency Inversion Principle

  • the Reuse Release Equivalency Principle

  • the Common Closure Principle

  • the Common Reuse Principle

  • the Acyclic Dependencies Principle

  • the Stable Dependencies Principle

Explicación

Pregunta 9 de 11

1

Thus the sender does not depend upon the recipient. Nor does the recipient depend upon the sender. They both depend upon the message; and the message is an abstraction. The dependency opposes the Flow of control. This is the essence of OO.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 10 de 11

1

The essential quality of OO is the ability to invert key dependencies in order to protect high level policies from low level details. It helps in Dependency Management.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 11 de 11

1

A very simple but confusing puzzle.
A lady buys goods worth Rs.200 from a shop. (shopkeeper is selling the goods with zero profit). The lady gives him Rs.1000 note. The shopkeeper gets the change from the next shop and keeps Rs.200 for himself and returns Rs.800 to the lady. Later the shopkeeper of the next shop comes with the Rs.1000 note saying “duplicate” and takes his money back.
What is the loss of first shopkeeper?

Selecciona una de las siguientes respuestas posibles:

  • 1200

  • 1800

  • 800

  • 1000

Explicación