0% found this document useful (0 votes)
434 views8 pages

Design Approaches (Part1) MCQ

The document discusses various topics related to software design, including top-down vs bottom-up design approaches, design quality attributes, modularization strategies, cohesion and coupling. Top-down design begins with high-level structure and progresses to more detail, while bottom-up focuses on reusable low-level utilities. Good design provides structure and divides a system into modules that are highly cohesive and loosely coupled. High cohesion means modules work together as a unit, while loose coupling means low interdependence between modules.

Uploaded by

Salma Yasser
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
434 views8 pages

Design Approaches (Part1) MCQ

The document discusses various topics related to software design, including top-down vs bottom-up design approaches, design quality attributes, modularization strategies, cohesion and coupling. Top-down design begins with high-level structure and progresses to more detail, while bottom-up focuses on reusable low-level utilities. Good design provides structure and divides a system into modules that are highly cohesive and loosely coupled. High cohesion means modules work together as a unit, while loose coupling means low interdependence between modules.

Uploaded by

Salma Yasser
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

1 – In top-down design approach the first level is _____?

A – Low level structure


B – High level structure
C – Medium level structure
D – None of the above
Answer (B)

2 – The last thing in top-down design approach ______?


A – Detailed Decision
B – format of particular data items
C – algorithms that will be used
D – All of the above
Answer (D)

3 – In Bottom-up design approach is about Make decisions about


reusable _____ utilities?
A – Low level
B – High level
C – Medium level
D – All of the above
Answer (A)

4 – In top-down design always need to give the system good _____?


A – Implementation
B – Structure
C – Analysis
D – None of the above
Answer (B)

5 – Bottom-up design is normally useful so that reusable components


can be created?
A – True
B – False
Answer (A)

6 – Which of the following is not one of the special types of design?


A – Architecture
B – User interface
C – Database
D – Protocol
Answer (C)
7 – Design Quality attributes can be classified into ____ types?
A – two
B – three
C – four
D – five
Answer (A)

8 – Product-oriented quality also known as ______?


A – Process Quality Attributes
B – Software Design Quality Attributes
C – Software Quality Attributes
D – None of the above
Answer (C)

9 – Process-oriented quality also known as ______?


A – Process Quality Attributes
B – Software Design Quality Attributes
C – Software Quality Attributes
D – None of the above
Answer (B)

10 – What are the two types of models are used for representing the
software quality attributes ?
A – Hierarchical, Structural Models
B – Hierarchical, Relational Models
C – Hierarchical, Software Process Models
D – None of the above
Answer (B)

11 – Hierarchical models that are used for representing the software


quality attributes divided into 3 aspects ____ , _____ ,and____ ?
A – Product Revision, Product Transition, Product Operations
B – Product Structure, Product Transition, Product Cost
C – Product Revision, Product Packaging, Product Operations
D – None of the above
Answer (A)
13 – How many General Design Principles?
A – two
B – three
C – four
D – five
Answer (D)

14 – Modularization is based on _____ Strategy?


A – Encapsulation
B – Divide & Conquer
C – Linear
D – None of the above
Answer (B)

15 – A distributed system is divided up into?


A – Classes
B – Subsystems
C – Clients & Servers
D – None of the above
Answer (C)

16 – A subsystem is divided up into?


A – Packages
B – Subsystems
C – Methods
D – None of the above
Answer (A)

17 – A class is divided up into?


A – Classes
B – Subsystems
C – Methods
D – None of the above
Answer (C)

18 – Always dividing the systems is preferable.


A – True
B – False
Answer (B), Because Too many modules makes integration complicated.
19 – Effective modular design is achieved by developing ______
modules with an aversion to ______?
A – highly cohesive, loose coupling
B – highly cohesive, bound coupling
C – Slightly cohesive, bound coupling
D – None of the above
Answer (A)

20 – ______ is the degree to which all elements of a module, class, or


component work together as a functional unit.
A – Cohesion
B – Coupling
C – Integration
D – None of the above
Answer (A)

21 – ______ is the degree of interdependence between two or more


classes, modules, or components.
A – Cohesion
B – Coupling
C – Integration
D – None of the above
Answer (B)

22 – _____ cohesion is good, and _____ cohesion is bad.


A – High, Low
B – Low, High
Answer (A)

23 – _____ coupling is bad, and _____ coupling is good.


A – Loose, Tight
B – Tight, Loose
Answer (B)

24 – We say that an entity is cohesive if it performs a single, well-


defined task.
A – True
B – False
Answer (A)
25 – The cohesion test can’t be applied to classes
A – True
B – False
Answer (B)

26 – The cohesion test can be applied to which of the following?


A – Classes
B – Methods
C – Package
D – System or Subsystem
E – All of the above
Answer (D)

27 –Which of the following is degree of Cohesion?


A– Desirable
B– Less Desirable
C– Undesirable
D– All of the above
Answer (D)

28 –Which of the following is not property of Less Desirable Cohesion?


A – Sequential
B – Coincidental
C – Logical
D – All of the above
Answer (B), Coincidental is Undesirable cohesion

29 – Modules that update a database, create a new file or interact with


the user are not functionally cohesive?
A – True
B – False
Answer (A), Because functional cohesive module should performs a single computation, and
returns a result, without having side-effects
30 – How many action that each function must perform In information
cohesion?
A– 1
B– 2
C– 4
D– 7
Answer (A)

31 – You should achieve _____ cohesion, only once you have already
achieved the preceding types of cohesion.
A – Procedural
B – Temporal
C – Sequential
D – Logical
Answer (C)

32 – In ____ Cohesion, Keep together several procedures that are used


one after another.
A – Procedural
B – Temporal
C – Sequential
D – Logical
Answer (A)

33 – In ____ Cohesion, Operations that are performed during the same


phase of the execution of the program kept together.
A – Procedural
B – Temporal
C – Sequential
D – Logical
Answer (B)

34 – A utility is designed to be reusable?


A – True
B – False
Answer (A) For example, the java.lang.Math class
35 – ____ Coupling, Occurs when one component covertly modifies
data that is internal to another component.
A – Data
B – Content
C – Common
D – Stamp
Answer (B)

36 – Content Coupling can be reduced by?


A – Provide Get & Set methods
B – Declare private variables
C – Encapsulate instance variables
D – All of the above
Answer (D)

37 – ____ Coupling, Occurs when using a global variable.


A – Data
B – Content
C – Common
D – Stamp
Answer (C)

38 – ____ Coupling, can be avoided using polymorphic operations.


A – Control
B – Content
C – Common
D – Stamp
Answer (A)

39 – ____ Coupling, Occurs when too much information is passed to a


function.
A – Data
B – Content
C – Common
D – Stamp
Answer (D)
40 – ____ Coupling, Occurs when 2 modules communicate by passing
parameters and no extra data are passed.
A – Data
B – Content
C – Common
D – Stamp
Answer (A)

41 – When modules are relatively small and simple, then they are__?
A – Highly Cohesive
B – Loosely coupled
C – Slightly Cohesive
D – None of the above
Answer (A)

42 – When interactions among modules (classes) are relatively simple,


they are __?
A – Highly Cohesive
B – Loosely coupled
C – Slightly Cohesive
D – None of the above
Answer (B)

You might also like