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

Chap 14 - 21

Uploaded by

Bùi Tuấn
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)
30 views8 pages

Chap 14 - 21

Uploaded by

Bùi Tuấn
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

Chapter 14

1. What is an information hiding object?

(b) A passive object that encapsulates data

2. What is a class interface?

(a) Specifies the externally visible operations of a class

3. Which of the following is NOT an object-oriented concept?

(d) Subroutine

4. Which of the following is a class that realizes an interface?

(c) The class is called by the interface.

5. Which of the following is an entity class?

(d) A data abstraction class

6. What does a state machine class encapsulate?

(c) A state transition table and the current state of the machine

7. Which of the following is unlikely to be a graphical user interface class?

(d) A pin

8. Which of the following is unlikely to be encapsulated in a business logic class?

(d) A dialog box

9. Which of the following is NOT allowed through inheritance?


(a) Subclass redefines attributes inherited from superclass.

10. Which of the following is true for an abstract class?

(a) It is used as a template for creating subclasses

11. In object-oriented design, polymorphism means that:

(a) Different classes may have the same operation name.

12. With polymorphism and dynamic binding, an object can:

(a) Invoke an operation of the same name on different objects.


Chapter 15
1. What is a server?

(a) A hardware/software system that provides one or more services for multiple clients

2. The basic client/single service architectural pattern states that:

(a) Multiple clients request services, and a service fulfills client requests.

3. In a Multi-tier Client/Service architectural pattern, which of the following is true about an


intermediate tier?

(c) An intermediate tier is both a client tier and a service tier.

4. How is Multiple Client/Multiple Service architectural pattern different from a Multiple


Client/Single Service architectural pattern?

(a) A client can send requests to multiple services.

5. How is a sequential service designed?

(a) One object that responds to requests from clients

6. How is a concurrent service designed?

(a) Multiple objects that respond to requests from clients

7. What is a database wrapper class?

(c) A class that encapsulates the details of how to access data in a database

8. When designing an entity class as a relational table, which of the following is NOT true?

(a) The relational table has multiple primary keys.

9. When mapping an aggregation hierarchy to a relational table, which of the following is


NOT true?

(a) The primary key of the part table is a foreign key of the aggregate table.

10. When mapping a generalization/specialization relationship to a relational database,


which of the following is NOT possible?

(a) The aggregate and part classes are designed as relational tables.
Chapter 16
1. What is a service-oriented architecture (SOA)?
(a) A distributed software architecture consisting of multiple autonomous services

2. Which of the following properties DOES NOT apply to a service?


(c) Fixed
3. In a SOA, which of the following is NOT true?
(a) A client communicates with a specific service provided on a fixed server configuration.
4. What is an object broker?
(a) An object that mediates interactions between clients and services
5. Why does a service register with a broker?
(a) So that service requesters can discover it
6. When is it particularly useful to use the Broker Handle pattern in place of the Broker
Forwarding pattern?

(a) If the client needs to have a dialog with the service


7. Yellow pages brokering is useful when a service requester:
(a) Knows the type of service required but not the specific service
8. What is a transaction?
(c) Consists of two or more operations that are indivisible
9. What is a compound transaction?
(c) The compound transaction is decomposed into atomic transactions.
10. With a Negotiation pattern, which of the following is NOT true?
(a) The service agent can offer a service in response to a client agent request.
Chapter 17
1. In a distributed component-based software architecture, which of the following statements is the
most complete description of component deployment?

(a) Component instances can be deployed to different nodes in a geographically distributed


environment after design and implementation.

2. What does a component interface consist of?

(a) The externally visible operations of a component

3. What does a component’s provided interface consist of?

(a) The operations that a component must fulfill

4. What does a component’s required interface consist of?

(a) The operations inside a component

5. What does a connector join?

(a) The required port of one component to the provided port of another component

6. What does a delegation connector join?

(a) An outer provided port to an inner provided port

7. What is broadcast message communication?

(c) A message sent to all recipients

8. What are the communication characteristics of subscription/notification?

(a) A message sent to a specific recipient

9. During application deployment:

(c) Component instances are assigned to hardware nodes.

10. What is an advantage of localized autonomy in component-based design?

(a) If a component goes down, other components can continue to execute.


Chapter 18
1. What is the difference between an active object and a passive object?

(a) An active object has a thread of control; a passive object does not have a thread of control.

2. What is an event-driven input task?

(a) A task that receives inputs from an external device when it generates interrupts

3. What is a periodic task?

(a) A task that is activated by a timer event

4. What is a demand-driven task?

(a) A task that is activated by an internal message or event from another task

5. What is a control task?

(a) A task that executes a statechart


6. What is a user interaction task?

(c) A task that interacts with a user sequentially

7. Which of the following is true for a Centralized Control architectural pattern?

(a) It provides the overall control and sequencing of the system.

8. Which of the following is true for a Distributed Control architectural pattern?

(a) Control is divided among various control components.

9. Which of the following is true for a Hierarchical Control architectural pattern?

(a) It provides overall control by coordinating several control components.

10. Which of the following is NOT a case of event synchronization?

(a) User event


Chapter 19
1. What is a software product line (SPL)?
(a) A family of systems with some common components and some variable components

2. What is an optional use case?

(c) A use case that is required by some product line members but not others

3. What is a use case variation point?

(a) A location in the use case at which change can occur

4. What is a SPL feature?

(a) A requirement or characteristic that is provided by one or more SPL members

5. What is a SPL feature group?

(a) A group of features with a particular constraint on their usage in a SPL member

6. What is a kernel class in a SPL?

(c) A class that is required by all members of the SPL

7. What two categories of stereotypes are used in modeling SPL classes?

(a) Reuse and application role stereotypes

8. How are feature conditions used in a SPL state machine?


(c) To identify if a feature is selected or not in the state machine

9. What is a kernel system in a SPL?

(a) A member of the SPL composed of kernel classes and possibly some default classes

10. What does the SPL software architecture describe?

(c) The overall structure of the software product line


Chapter 20
1. What do software quality attributes address?

(a) Software nonfunctional requirements

2. What is maintainability?

(a) The extent to which software is capable of being changed after deployment

3. What is modifiability?
(a) The extent to which software is capable of being modified during and after initial development

4. What is testability?

(a) The extent to which software is capable of being tested before deployment

5. Traceability is the extent to which a product:

(a) Can be traced back to products of previous phases

6. What is scalability?

(a) The extent to which the system is capable of growing after its initial deployment

7. What is reusability?

(a) The extent to which software is capable of being reused

8. Which of the following is not performance-related?

(c) System availability

9. Which of the following is not addressed by a secure system?

(c) System scalability

10. Which of the following system problems does availability address?


(a) Single point of failure
Chapter 21
Which of these can be found in Common Object Request Broker Architecture (CORBA) Choose the
three correct answer

A. Interface definition language

B. Facilities

C. Object request broker

What does the component of ‘component diagram’ refer to?

A. an independent, encapsulated unit in the system.


What are two major styles of SOAP request?
A. document style
B. RPC style

Which of the following is a common messaging pattern in client/server relationships?


A. request-response.

Divide-and-conquer is a suitable methodology for architecture design


A. True
Architecture design is about choosing the right single architecture style for a project
A. False

The "+1" in Kruchten's 4+1 View Model refers to a scenario. What is a scenario?
a. a representation of a normal use case.

Which of these statements about Component Diagrams is true?

A. They clarify dependency relationships

The purpose of the software design phase is to produce asoftware requirement specification.

A. False

A whole/part relationship is a generalization/specification hierachy

A. False

Which of the following structrues describe the dynamic properties of software architecture?

A. Software runtime structure


Which of these UML diagrams are likely to be part of the process view? (select two)

A. Activity diagram

B. Sequence Diagram

What of these is an advantages of event-based architectured?

A. Event generators and event consumers are loosely coupled

You might also like