Clean Coder, Session-9. Single Responsibility Principle

Question 1 of 9

Medal-premium 1

What is the secondary value of a software system?

Select one of the following:

  • Hardness

  • Behavior

  • Rigidity

  • Softness

Question 2 of 9

Medal-premium 1

Which of the following probably would lead to a break in SRP?

Select one of the following:

  • Less Fragile

  • Low Coupling

  • Class having too many dependencies.

  • Large number of small modules.

Question 3 of 9

Medal-premium 1

Ability of software to tolerate and facilitate on-going change is the:

Select one of the following:

  • Primary value of the system

  • Secondary value of the system

  • Not a value to be considered in the system

Question 4 of 9

Medal-premium 1

Sustainable profitability is tied to the secondary value of the software system.

Select one of the following:

  • True
  • False

Question 5 of 9

Medal-premium 1

Responsibilities are tied to

Select one of the following:

  • individuals

  • actors

Question 6 of 9

Medal-premium 1

Which of these software systems are more profitable in the long run?

Select one of the following:

  • Low primary value, high secondary value

  • High primary value and low secondary value

  • Low primary value and low secondary value

Question 7 of 9

Medal-premium 1

According to SRP, a class should have only __________ reason to change..

Select one of the following:

  • 1

  • 2

  • 3

  • many

Question 8 of 9

Medal-premium 1

In a new Engineering Hostels containing 100 rooms. Ankit was hired to paint the numbers 1 to 100 on the doors.
How many times will Ankit have to paint the number eight ?

Select one of the following:

  • 11

  • 18

  • 19

  • 20

  • 21

Question 9 of 9

Medal-premium 1

Which of the values help to determine whether the code follows SRP?
To put it simply, SRP is all about __________________. Select all that apply.

Select one or more of the following:

  • Modules

  • Parameters

  • Users

  • Roles

  • Cost

Icon_fullscreen

Clean Coder, Session-9. Single Responsibility Principle

Arpit Garg
Quiz by , created about 1 year ago

Clean Coder, Session-9. Single Responsibility Principle

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