SWD Final

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Software architecture design involves many software design methodologies and architecture styles a. True b. False

a. True

System and network configuration decisions are part of the physical view. a. True b. False

a. True

The CRC card method is used to identify the responsibilities of each class. a. True b. False

a. True

The Yellow Page of web service is an example of repository design. a. True b. False

a. True

The control flow in batch sequential is implicit a. True b. False

a. True

The control flow in pipe and filter is explicit. a. True b. False

a. True

The software submodules and their interfaces are described in the logical view. a. True b. False

a. True

There is tight dependency of agents on the data store in the repository architecture. a. True b. False

a. True

UML diagrams are used for system analysis and design. a. True b. False

a. True

Use case diagrams are generated in the early stages of the SDLC, whereas deployment diagrams are generated in the later stages of the SDLC. a. True b. False

a. True

There are two types of filters : ______ and __________. Select one: a. active and passive b. 1-way and 2-ways c. All of the others d. synchronous and asynchronous

a. active and passive

The multiplicity is described in ___________ Select one: a. class diagram b. composite diagram c. use cases diagram d. package diagram

a. class diagram

Which of the following is not valid in the context of Component Diagrams? Select one: a. initial node, final node b. provided and required interfaces c. Black-box and While-box view d. ports and connectors

a. initial node, final node

Select the incorrect statement Select one or more: a. Software architecture is concerned only with functional requirements. b. ADL is a programming language c. Deployment diagrams are used to support the physical view d. Activity diagrams are used to support the process view Mutichoice

b. ADL is a programming language a. Software architecture is concerned only with functional requirements.

Which are the benefits of nonbuffered event-based implicit invocation architecture Select one: a. Framework availability b. All of the others c. Reusability of components d. Independency and flexible connectivity

b. All of the others

Which is static diagram? Select one: a. Package diagram b. All of the others c. Class diagram d. Object diagram

b. All of the others

A message queue is a ______________ architecture between message senders and message receivers Select one or more: a. one-to-one b. one-to-many c. point-to-point d. many-to-one

c. point-to-point a. one-to-one

How many ways to make data flow in pipe and filter architecture? Select one: a. 2 ways: push-pull/ pull-push b. 2 ways: push / pull c. 4 ways: push-push/ pull-push/push-pull-pull d. 3 ways: push only/ pull only/ push and pull

d. 3 ways: push only/ pull only/ push and pull

Which of the followings is a typical design domain of the blackboard architecture? Select one: a. Compilers b. Business information system c. Virtual machine d. AI system

d. AI system

Which of the following notations is used to support the logical view? a. Sequence diagram b. Collaboration diagram c. State diagram d. All of the above

d. All of the above

A process control system must have the following process control data: Select one: a. Manipulated variable b. Controlled variable c. Input variable d. All of the others

d. All of the others

Which of the followings are the key components of an architectural style? Select one: a. Elements that perform functions required by a system b. Constraints that define how elements can be integrated to form the system c. Connectors that enable communication, coordination, and cooperation among elements d. All of the others e. Attributes that describe the advantages and disadvantages of the chosen structure

d. All of the others

Select the application scenario in which tight coupling is more appropriate than loose coupling: Select one: a. Web service b. Database application c. Graphic User Interface applications d. Asynchronous call-back

d. Asynchronous call-back

Which of the following notations is not used to support the logical view? Select one: a. State diagram b. Sequence diagram c. Collaboration diagram d. Deployment diagram

d. Deployment diagram

Which of the following is NOT the typical design domain of the asynchronous architecture? Select one: a. Java AWT and Swing b. Multiple agents in a distributed system c. Web server site application d. Hierarchical structure

d. Hierarchical structure

Select the correct statement Select one: a. In UML Sequence Diagram branches can be specified but not loops b. In UML Sequence Diagram there is no way to specify branches c. In UML Sequence Diagram there is no way to specify loops d. In UML Sequence Diagram both branches and loops can be specified

d. In UML Sequence Diagram both branches and loops can be specified

Which of the following notations is used to support the physical view? a. Sequence diagram b. Collaboration diagram c. State diagram d. None of the above

d. None of the above

Select the diagram is not used to support the logical view Select one: a. Sequence diagram b. Collaboration diagram c. State diagram d. None of the others

d. None of the others

Which is NOT a type of software architecture? a. Software Management Structure b. Software Static Structure c. Software Runtime Structure d. None of the others

d. None of the others

Select the disadvantage of virtual machine architecture Select one: a. Portability is very low. b. All of the others c. Complexity of software development is high. d. Slow execution of the interpreter due to the interpreter nature

d. Slow execution of the interpreter due to the interpreter nature

Select correct statement Select one: a. Architectural designs should not consider performance attributes. b. The static and runtime structures are based on the same connector types. c. The static and runtime structures are based on the same element types. d. Static connectors at development time have attributes including direction, synchronization and sequence.

d. Static connectors at development time have attributes including direction, synchronization and sequence.

Which is NOT style of hierarchial architecture? Select one: a. main-subroutine b. master-slave c. layered d. event-based

d. event-based

Polymorphism implies the following Select one: a. the invocation of a method is determined at compile time b. the same attribute might have different meaning at run time c. All of the others d. the same operation might behave differently at run time

d. the same operation might behave differently at run time

Which of the following are benefits of OO design? a. Ease of code reuse b. Well-supported by programming tools c. Information hiding d. Real-world problems mapping e. All of the above

e. All of the above

Pipe-and-filter is one of the architecture styles a. True b. False

a. True

Prototyping can be used to support UI design, a. True b. False

a. True

Software architecture = software architecture styles a. True b. False

a. True

Different architecture structures have different element and connector types. a. True b. False

a. True

Element and connector attributes are derived from the project requirements. a. True b. False

a. True

Implicit notification is often used in blackboard architecture. a. True b. False

a. True

Select types of data-centered software architecture Select one or more: a. Pipe and filter b. Repository c. Batch sequential d. Blackboard

Blackboard

Java can be used to implement a pipe and filter design system. a. True b. False

a. True

Loose coupling is used between repository agents. a. True b. False

a. True

Component-based technology is a suitable technology to implement layered architecture. Select one: True False

True

Object-oriented design is a design methodology, a. True b. False

a. True

Which of the following is a typical design domain of blackboard architecture? a. AI system b. Business information system c. Compilers d. Virtual machine

a. AI system

Which of the following is not a valid type of message arrow in sequence diagram? Select one: a. Activation Message b. Asynchronous Messages c. Return d. Synchronous Messages

a. Activation Message

Which diagrams are used in logical view? Select one: a. All of the others b. Static diagrams c. Dynamic diagrams

a. All of the others

Select partition in blackboard architecture Select one or more: a. Blackboard b. Knowledge-source c. Repository d. Controller

a. Blackboard b. Knowledge-source d. Controller

Which of the following is NOT limitations of pipe & filter? Select one: a. It supports only sequential execution. b. It is not suitable for dynamic interactions. c. None of the others d. Overhead of data transformation among filters

a. It supports only sequential execution.

Which of the following structures describe the static properties of software architecture? a. Software code structure b. Software runtime structure c. Software deployment structure d. Software management structure

a. Software code structure c. Software deployment structure d. Software management structure

Who can be the stakeholders of development view? Select one: a. Software project manager, Programmers b. System designer, Programmers c. System Analyst, System designer

a. Software project manager, Programmers

Select the incorrect statement Select one: a. The control flow in pipe and filter is explicit. b. Java can be used to implement a pipe and filter design system. c. The control flow in batch sequential is implicit d. None of the others

a. The control flow in pipe and filter is explicit. b. Java can be used to implement a pipe and filter design system.

. Sequential flow control can be predetermined in pipe and filter. a. True b. False

a. True

10. Sequential flow control can be predetermined in batch sequential. a. True b. False

a. True

10. To conform to the open-closed principle the use of global variables should be minimized. a. True b. False

a. True

A UML diagram must provide a complete view of the entire software system. a. True b. False

a. True

ADL can produce target code. a. True b. False

a. True

Abstraction via inheritance is one effective way to achieve the open-closed principle. a. True b. False

a. True

Activity diagrams are used to support the process view, a. True b. False

a. True

Agents in the repository architecture normally do not talk with each other directly, except though the data store. a. True b. False

a. True

An activation in an object lifeline may have its own cycle message pointed back to itself in a sequence diagram. a. True b. False

a. True

An interaction overview diagram is based on all low-level interaction diagrams. a. True b. False

a. True

Architecture styles contribute to software quality attributes a. True b. False

a. True

Asynchronous message invocation can be expressed in sequence diagrams. a. True b. False

a. True

COBOL is widely used to implement batch sequential. a. True b. False

a. True

Component diagrams are based on object diagrams. a. True b. False

a. True

Component diagrams are used to support the development view, a. True b. False

a. True

Composite structure diagrams are based on object diagrams. a. True b. False

a. True

Concurrency control activity is part of the process view, a. True b. False

a. True

Conditional branching can be represented in sequence diagrams. a. True b. False

a. True

Deployment diagrams are used to support the physical view, a. True b. False

a. True

In which architecture style, each data transformation subsystem or module cannot start its process until its previous subsystem completes its computation. Select one: a. None of the others b. Batch sequential architecture c. Process Control architecture d. Pipe and Filter architecture

b. Batch sequential architecture

___________ represents the whole/part relationship between classes. In __________, the parts of a class have the same lifespan as their owner. Select one: a. Association / association b. Composition / composition c. Aggregation / aggregation d. Inheritance / inheritance

b. Composition / composition

__________ software architecture is characterized by a centralized data store that is shared by all surrounding software components. Select one: a. MVC b. Data-centered c. Hierachical d. Data flow

b. Data-centered

Which kind of object is represented by a component in component diagram? Select one: a. All of the others b. Deployed reusable binary c. Source code d. Executable object

b. Deployed reusable binary

A UML diagram must provide a complete view of the entire software system. a. True b. False

b. False

A class is said to be cohesive if it supports as many associated responsibilities as possible. a. True b. False

b. False

A part involved in an aggregation relationship should be born and terminate at the same moment as its owner. a. True b. False

b. False

ADL is a programming language, a. True b. False

b. False

ADL is used only for software architecture specification. a. True b. False

b. False

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

b. False

C is a popular OO programming language. a. True b. False

b. False

Deployment decisions should be reflected in early architecture designs. a. True b. False

b. False

Divide-and-conquer is not a suitable methodology for architecture design. a. True b. False

b. False

Repository architecture design must also be object-oriented design. a. True b. False

b. False

Rule-based knowledge is installed in the blackboard component of the blackboard architecture. a. True b. False

b. False

Sequence diagrams do not describe loops in a message exchange process. a. True b. False

b. False

Software architecture design is based on the software requirement a. True b. False

b. False

Software architecture is a static software structure description a. True b. False

b. False

Software architecture is concerned only with functional requirements. a. True b. False

b. False

Software quality attributes must satisfy functional requirements a. True b. False

b. False

The constituent elements of software architecture are software elements and their connections. a. True b. False

b. False

The facts or hypotheses are stored in the knowledge source component of a blackboard system. a. True b. False

b. False

The purpose of the software design phase is to produce a software requirement specification a. True b. False

b. False

The set of classes in a design is nailed down when the analysis class diagram is finished. a. True b. False

b. False

There are data sharing (shared data) among all subsystems in a data flow system. a. True b. False

b. False

Two modules in a data flow system can change their order without any constraints.

b. False

Select the features of OO methodology? Select one: a. Concurrency b. Inheritance c. Exchangeability d. Interactivity

b. Inheritance

Which of the following are nor benefits of pipe and filter? a. Concurrency b. Interactive c. Incremental d. Exchangeable e. None of the above f. All of the above

b. Interactive

Which of the followings are not benefits of batch sequential? a. Concurrency b. Interactive c. Incremental d. Exchangeable e. None of the above f. All of the above

b. Interactive

__________ refers to the universal accessibility and the ability to exchange data with internal components and the outside world. Select one: a. Portability b. Interoperability c. Maintainability d. Scalability

b. Interoperability

The advantage of message-driven architecture over event-driven architecture Select one: a. Complexity of the system design and implementation b. Loose coupling between message producers and consumers c. Capacity of message queue d. Asynchronous invocation

b. Loose coupling between message producers and consumers

Select the applicable domains of repository architecture Select one: a. The system can have a set point—the goal the system will reach at its operational level. b. None of the others c. Systems that need to maintain an output data at a stable level d. Embedded software systems involving continuing actions

b. None of the others

Which of the following is NOT benefit of pipe & filter? Select one: a. Concurrency b. Performance c. Modifiability d. Reusability

b. Performance

Which of data flow architecture is commonly applied in embedded software system? Select one: a. Pipe and Filter Architecture b. Process Control Architecture c. All of the others d. Batch Sequential

b. Process Control Architecture

The _______ view describes installation, configuration, and deployment of the software application. Select one: a. development b. process c. physical d. scenario

c. physical

Select incorrect statement Select one: a. Software architecture is a static software structure description b. Software architecture design is based on the software requirement specification. c. Pipe-and-filter is one of the architecture styles. d. Architecture styles contribute to software quality attributes.

b. Software architecture design is based on the software requirement specification.

Which of the following structures describe the dynamic properties of software architecture? a. Software code structure b. Software runtime structure c. Software deployment structure d. Software management structure

b. Software runtime structure

Select the correct statement about pipe/filter architecture Select one: a. All of the others b. There are two types of filters: active and passive. c. A passive filter pulls in data and pushes out the transformed data d. A passive filter works with a passive pipe that provides read/write mechanisms for pulling and pushing.

b. There are two types of filters: active and passive.

Select correct statement about blackboard architecture style: Select one: a. The facts or hypotheses are stored in the knowledge source component of a blackboard system b. Typical design domain of blackboard architecture is AI system c. Rule-based knowledge is installed in the blackboard component of the blackboard architecture. d. Knowledge sources can only work in sequential mode.

b. Typical design domain of blackboard architecture is AI system

The ____________ software architecture style views the entire software system as a series of transformations on successive sets of data, where data and operations on it are independent of each other. Select one: a. data-centered b. data flow c. distributed d. message-driven

b. data flow

Which style of architecture are often applied in traditional programming? Select one: a. layered b. master-slave c. event-based d. main-subroutine

b. master-slave

Polymorphism implies the following Select one: a. All of the others b. the same operation might behave differently at run time c. the invocation of a method is determined at compile time d. the same attribute might have different meaning at run time

b. the same operation might behave differently at run time

Select the incorrect statement Select one: a. Each message in P2P architecture has only one consumer b. The message queue architecture is a point-to-point structure between producer and consumer. c. A P2P messaging architecture includes: publisher, subcribers and message topic d. P2P and Publisher-Subcriber architecture is two type of buffered asynchronous communication architecture.

c. A P2P messaging architecture includes: publisher, subcribers and message topic

Select correct statement Select one: a. A direct method in cocation connector is more flexible in supporting changing specifications than message-based connector. b. All of the others c. A protocol-based connector can better support interactions between heterogeneous elements. d. Waterfall is the better process for designing software architectures.

c. A protocol-based connector can better support interactions between heterogeneous elements.

Select applicable domains of pipe and filter architecture Select one: a. Applicable whenever the data format on the data streams is simple and stable b. Applicable whenever the system can be broken into a series of processing steps over data streams. c. All of the others d. Suitable for producer/consumer type of problems

c. All of the others

Select the incorrect statement Select one or more: a. Sequence diagrams do not describe loops in a message exchange process. b. Abstraction via inheritance is one effective way to achieve the open-closed principle. c. C is a popular OO programming language. d. The CRC card method is used to identify the responsibilities of each class. mutichoice

c. C is a popular OO programming language. a. Sequence diagrams do not describe loops in a message exchange process.

Which of the following is not a benefit of repository architecture? a. Independent agents b. Reusable agents c. Concurrency d. Loose coupling

c. Concurrency

Which of the followings is NOT the benefit of repository architecture? Select one: a. Independent agents b. Reusable agent c. Concurrency d. Loose coupling

c. Concurrency

Which of the following relationship is not part of package diagram? Select one: a. Access b. Merge c. Export d. Import

c. Export

Which of the following are features of OO methodology? a. Concurrency b. Interactivity c. Inheritance d. Exchangeability

c. Inheritance

Which of the followings is NOT built with hierarchy architecture? Select one: a. TCP/IP b. Web services c. N-Tiers architecture d. JVM

c. N-Tiers architecture

Which kind of UML diagram is a snapshot of class diagram at runtime ? Select one: a. State diagram b. Sequence diagram c. Object diagram d. Activity diagram

c. Object diagram

Which is the most suitable diagram to describe the life cycle of objects ? Select one: a. Object diagram b. Package diagram c. State-machine diagram d. Class diagram

c. State-machine diagram

A part involved in a/an ____________ relationship should be born and terminated at the same moment as its owner. Select one: a. inheritance b. aggregation c. composition d. association

c. composition

The ______ derives from the logical view and describes the static organization of the system modules. Select one: a. logical view b. process view c. development view d. physical view

c. development view

The publish-subscribe messaging architecture is a ________ architecture where publisher clients send messages to a message topic that acts like a bulletin board. Select one: a. proxy b. switch-like c. hub-like d. repeater-like

c. hub-like

The rule-based knowledge is installed in the ___________ component of the blackboard architecture. Select one: a. control b. All of the others c. knowledge source d. blackboard

c. knowledge source


Kaugnay na mga set ng pag-aaral

Small Parts: Scrotum (Notes pg. 68 - 81)

View Set

Information Storage and Management v5

View Set

Ap Lit poetic devices and romantic poetry

View Set

Quiz 3: The Constitutional Convention

View Set

Dolgozat 10. évfolyam 36-43. leckék

View Set

Market Efficiency & Behavioral Finance

View Set

2-15 Insurance Course (Chapters 5 - 9)

View Set