Chapter 8 SOLID

Descripción

Quiz for CleanCode Chapter 8
Arpit Garg
Test por Arpit Garg, actualizado hace más de 1 año
Arpit Garg
Creado por Arpit Garg hace alrededor de 9 años
67
0

Resumen del Recurso

Pregunta 1

Pregunta
What is Software Design Document
Respuesta
  • UML
  • TestCase
  • Data Flow Diagram
  • SourceCode

Pregunta 2

Pregunta
What is the Software Product
Respuesta
  • Documentation
  • SourceCode of Program
  • Running Executable Program

Pregunta 3

Pregunta
"A design that works, but can’t be maintained. Something that is unstable, and hard to change." is sometimes called
Respuesta
  • Big Bang Theory
  • Big Bucket
  • Black Hole
  • Big Ball of Mud

Pregunta 4

Pregunta
the tendency of a system to be hard to change is called
Respuesta
  • Rigidity
  • Fragility
  • Immobility
  • Viscosity

Pregunta 5

Pregunta
When small code changes force system rebuilds it indicates
Respuesta
  • High Coupling
  • Loose Coupling
  • High Cohesion
  • Low Cohesion

Pregunta 6

Pregunta
When a small change in one module causes other unrelated modules to misbehave, its called
Respuesta
  • Rigidity
  • Fragility
  • Immobility
  • Viscosity

Pregunta 7

Pregunta
When a system's internal components cannot be easily extracted and reused in novel new environments, its called
Respuesta
  • Rigidity
  • Fragility
  • Immobility
  • Viscosity

Pregunta 8

Pregunta
What forms SOLID principles
Respuesta
  • 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

Pregunta 9

Pregunta
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.
Respuesta
  • True
  • False

Pregunta 10

Pregunta
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.
Respuesta
  • True
  • False

Pregunta 11

Pregunta
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?
Respuesta
  • 1200
  • 1800
  • 800
  • 1000
Mostrar resumen completo Ocultar resumen completo

Similar

Python Quiz
karljmurphy
Angular
Kingsley Bawuah
Java & Programming Quizz
gouber
National 5 - Computing
Ryan Thompson
PSYC406 Final Exam Study Quiz (Ch.8)
Kendra Hewlett
Resistor Color Codes
That Yeti Dog Person
C H A P T E R 8
Kris S
Basic HTML Code
paula10eddy
MAPA DE PROCESOS DEL SOFTWARE A CONSTRUIR. GA1-220501092-AA1-EV03
My dream C.D.
Pears of Wisdom - Java Programming
Alex Poiry