Discussion
Among the attributes of good object oriented design, two desirable and most important attributes are :
Answer: B
The key gives No. of children, response for a class.
These two attributes are metrics of the Chidamber and Kemerer object-oriented suite. 'Number of children' (NOC) counts the direct subclasses of a class and so measures the breadth of the inheritance hierarchy; 'response for a class' (RFC) counts the methods that can run in answer to a message sent to an object of the class and so measures coupling and complexity. A study of open-source C++ systems found these two to be the CK metrics that predicted defects significantly.
The other options each pair one of them with a term that is not a CK metric ('nature of the object', 'attributes of objects'), so option B is the only one made of two standard metrics. The ranking of these two as 'the most important' is not universal: other studies stress different CK metrics and the results depend on the data set, so this answer follows the official key and the metric names it uses.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development