Question
a. Keep methods coherent i. Write a method to get the last element of a list
b. Keep methods small ii. Maintain structure possible parallel when
c. Keep methods consistent iii. Breaking a method into smaller parts
d. Provide uniform coverage iv performs a single function or a group of closely related functions.
codes:
a b c d
a.
iv iii ii i
b.
ii i iv iii
c.
iii iv ii i
d.
ii iii iv i
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Match the following style rules for re-usability a. Keep methods coherent i. Write a method to get the last element of a list b. Keep methods small ii. Maintain structure...
Similar Questions
Discover Related MCQs
Q. The software _______ of a program or a computing system is the structure or structures of the system, which comprise software components, the externally visible properties of those components, and the relationships among them.
View solution
Q. Requirement Development, Organizational Process Focus, Organizational Training, Risk Management and Integrated Supplier Management are process areas required to achieve maturity level
View solution
Q. Which one of the following set of attributes should not be encompassed by effective software metrics?
View solution
Q. _______ are applied throughout the software process.
View solution
Q. What is true about UML stereotypes ?
View solution
Q. Which one of the following is not a source code metric?
View solution
Q. To compute function points (FP), the following relationship is used FP = Count - total x (0.65 + 0.01 x ∑(Fi))where Fi (i = 1 to n) are value adjustment factors (VAF) based on n questions. The value of n is
View solution
Q. Assume that the software team defines a project risk with 80% probability of occurrence of risk in the following manner:
Only 70 percent of the software components scheduled for reuse will be integrated into the application arid the remaining functionality will have to be custom developed: If 60 reusable components were planned with average component size as ' 100 LOC and software engineering cost for each LOC as $ 14, then the risk exposure would be
View solution
Q. Maximum possible value of reliability is
View solution
Q. 'FAN IN' of a component A is defined as
View solution
Q. Temporal cohesion means
View solution
Q. Match the following:
a. Good quality i. Program does not fail for a
specified time in a given
environment'
b. Correctness ii. Meets the functional
requirements
c. Predictable iii. Meets both functional and
non-functional requirements ,
d. Reliable iv. Process is under statistical
control
Codes
a b c d
View solution
Q. Match the following
List - I List - II
(a) Size-oriented metric (i) uses number of external interfaces as one of the measurement parameters
(b) Function-oriented metrics (ii) originally designed to be applied to business information system
(c) Extended Function Point Metrics (iii) derived by normalizing quality and/ or productivity measures by considering the size of the software.
(d) Function Point (iv) uses algorithm characteristics as of the measurement parameter
code:
(a) (b) (c) (d)
View solution
Q. In which testing strategy requirements established during requirements analysis are validated against developed software?
View solution
Q. Which process model is also called as classic life cycle model?
View solution
Q. Cohesion is an extension of :
View solution
Q. Which one from the following is highly associated activity of project planning?
View solution
Q. Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule?
View solution
Q. Verification :
View solution
Q. Which design metric is used to measure the compactness of the program in terms of lines of code?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Software Engineering? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!