Clean Coder, Session-9. Single Responsibility Principle

Description

Clean Coder, Session-9. Single Responsibility Principle
Arpit Garg
Quiz by Arpit Garg, updated more than 1 year ago
Arpit Garg
Created by Arpit Garg almost 9 years ago
50
0

Resource summary

Question 1

Question
What is the secondary value of a software system?
Answer
  • Hardness
  • Behavior
  • Rigidity
  • Softness

Question 2

Question
Which of the following probably would lead to a break in SRP?
Answer
  • Less Fragile
  • Low Coupling
  • Class having too many dependencies.
  • Large number of small modules.

Question 3

Question
Ability of software to tolerate and facilitate on-going change is the:
Answer
  • Primary value of the system
  • Secondary value of the system
  • Not a value to be considered in the system

Question 4

Question
Sustainable profitability is tied to the secondary value of the software system.
Answer
  • True
  • False

Question 5

Question
Responsibilities are tied to
Answer
  • individuals
  • actors

Question 6

Question
Which of these software systems are more profitable in the long run?
Answer
  • Low primary value, high secondary value
  • High primary value and low secondary value
  • Low primary value and low secondary value

Question 7

Question
According to SRP, a class should have only __________ reason to change..
Answer
  • 1
  • 2
  • 3
  • many

Question 8

Question
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 ?
Answer
  • 11
  • 18
  • 19
  • 20
  • 21

Question 9

Question
Which of the values help to determine whether the code follows SRP? To put it simply, SRP is all about __________________. Select all that apply.
Answer
  • Modules
  • Parameters
  • Users
  • Roles
  • Cost
Show full summary Hide full summary

Similar

German GCSE Vocab
naomisargent
unit 1 f321 chemistry ocr
methmip
GCSE Music (Edexcel) Quiz
corelledavis
CUMULATIVE FREQUENCY DIAGRAMS
Elliot O'Leary
Themes in Macbeth
annasc0tt
John Montague
David Caprani
An Inspector Calls: Mrs Sybil Birling
Rattan Bhorjee
Physics Unit 2 - Force, Acceleration And Terminal Velocity
Ryan Storey
Psychology subject map
Jake Pickup
Biology - the digestive system
Oliviax
Final Exam
Ms. Wong-Lee