Chapter 8 SOLID

Question 1 of 11

Medal-premium 1

What is Software Design Document

Select one of the following:

  • UML

  • TestCase

  • Data Flow Diagram

  • SourceCode

Question 2 of 11

Medal-premium 1

What is the Software Product

Select one of the following:

  • Documentation

  • SourceCode of Program

  • Running Executable Program

Question 3 of 11

Medal-premium 1

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

Select one of the following:

  • Big Bang Theory

  • Big Bucket

  • Black Hole

  • Big Ball of Mud

Question 4 of 11

Medal-premium 1

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

Select one of the following:

  • Rigidity

  • Fragility

  • Immobility

  • Viscosity

Question 5 of 11

Medal-premium 1

When small code changes force system rebuilds it indicates

Select one of the following:

  • High Coupling

  • Loose Coupling

  • High Cohesion

  • Low Cohesion

Question 6 of 11

Medal-premium 1

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

Select one of the following:

  • Rigidity

  • Fragility

  • Immobility

  • Viscosity

Question 7 of 11

Medal-premium 1

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

Select one of the following:

  • Rigidity

  • Fragility

  • Immobility

  • Viscosity

Question 8 of 11

Medal-premium 1

What forms SOLID principles

Select one or more of the following:

  • 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

Question 9 of 11

Medal-premium 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.

Select one of the following:

  • True
  • False

Question 10 of 11

Medal-premium 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.

Select one of the following:

  • True
  • False

Question 11 of 11

Medal-premium 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?

Select one of the following:

  • 1200

  • 1800

  • 800

  • 1000

Icon_fullscreen

Chapter 8 SOLID

Arpit Garg
Quiz by , created about 1 year ago

Quiz for CleanCode Chapter 8

Eye 37
Pin 0
Balloon-left 0
Tags
Arpit Garg
Created by Arpit Garg about 1 year ago
Close