Purchase Solution

Cohesion: An example with some questions

Not what you're looking for?

Ask Custom Question

Which of the systems shows better design principles?
A. System 1
B. System 2

What is the main reason for your answer to question 17?
A. modularity.
B. coupling.
C. cohesion.
D. none of the above.

Which of the above is an example of procedural cohesion?
A. Ex. 1
B. Ex. 2
C. Ex. 3
D. Ex. 4

Which of the above is an example of functional cohesion?
A. Ex. 1
B. Ex. 2
C. Ex. 3
D. Ex. 4

Which of the above is an example of sequential cohesion?
A. Ex. 1
B. Ex. 2
C. Ex. 3
D. Ex. 4

Rank these examples from worst to best.
A. Ex. 4 (worst), Ex. 1, Ex. 3, Ex. 2 (best)
B. Ex. 3 (worst), Ex. 2, Ex. 4, Ex. 1 (best)
C. Ex. 1 (worst), Ex. 3, Ex. 2, Ex. 4 (best)
D. Ex. 2 (worst), Ex. 4, Ex. 1, Ex. 3 (best)

Which system shows greater fan out?
A. System 1
B. System 2

Which system is a better design, all other things being equal?
A. System 1
B. System 2

Refer to the following program descriptions:
(1) Rearrange the Lender List (LL) in increasing order.

(2) DO WHILE I is between 1 and (number of lenders in the LL)-1
Set LOW to index of smallest value in LL
Interchange LL(I) with L(LOW)
ENDDO

Which program description is at a higher level of abstraction?
A. (1)
B. (2)

Program description (2) is suitable for a:
A. requirements definition.
B. conceptual design document.
C. technical design document.
D. program design document.

See attached file for full problem description.

Attachments
Purchase this Solution

Solution Summary

Solution provides a good understanding of the concept Cohesion by answering some questions.

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Javscript Basics

Quiz on basics of javascript programming language.