Quiz
Clean Coder, Session-9. Single Responsibility Principle
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (9)
1What is the secondary value of a software system?
- AHardness
- BBehavior
- CRigidity
- DSoftness
2Which of the following probably would lead to a break in SRP?
- ALess Fragile
- BLow Coupling
- CClass having too many dependencies.
- DLarge number of small modules.
3Ability of software to tolerate and facilitate on-going change is the:
- APrimary value of the system
- BSecondary value of the system
- CNot a value to be considered in the system
4Sustainable profitability is tied to the secondary value of the software system.
- ATrue
- BFalse
5Responsibilities are tied to
- Aindividuals
- Bactors
6Which of these software systems are more profitable in the long run?
- ALow primary value, high secondary value
- BHigh primary value and low secondary value
- CLow primary value and low secondary value
7According to SRP, a class should have only __________ reason to change..
- A1
- B2
- C3
- Dmany
8In 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 ?- A11
- B18
- C19
- D20
- E21
9Which of the values help to determine whether the code follows SRP?
To put it simply, SRP is all about __________________. Select all that apply.- AModules
- BParameters
- CUsers
- DRoles
- ECost
Information
- Description
- Clean Coder, Session-9. Single Responsibility Principle
- Author
- Arpit Garg
- Language
- English
- Views
- 75
- Tags
- Rating
- No ratings yet Rate this quiz