INSY 3306 ch 6-10

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/198

encourage image

There are no tags or description

Looks like no tags are added yet.

199 Terms

1
New cards

The external behavior of a system is described by _____.

functional models

2
New cards

An analyst depicts the static view of an information system with _____.

structural models

3
New cards

The two types of interaction diagrams are ______________ diagrams.

sequence and communication

4
New cards

A(n) _____ is an instantiation of a class.

object

5
New cards

A(n) _____ describes information about an object.

attribute

6
New cards

_____ are information that is sent to objects to tell it to execute one of its behaviors.

messages

7
New cards

Analysts use _____ to show the objects that participate in a use case and the messages that pass between the objects over time for one particular use case.

sequence diagrams

8
New cards

____________ occurs when an object sends a message to itself in a sequence diagram.

self-delegation

9
New cards

The acronym CRUD stands for _____.

create, read, update, delete

10
New cards

A behavioral state machine is a dynamic model that shows the different state through which a single _____ passes through its life in response to events, along with its responses and actions.

object

11
New cards

Each __________ can both send and receive messages.

object

12
New cards

The __________ of temporary objects is shown on sequence diagrams with an X at the end of the lifeline.

destruction

13
New cards

The _________ that an object passes through in response to events, together with its responses and actions.

behavioral

14
New cards

The __________ state in a behavioral state diagram represents the point at which the object begins to exist.

initial

15
New cards

In a behavioral state diagram, an event changes a value(s) that describes an object which in turn changes the object's _________________.

state

16
New cards

Events are the __________ that cause an object to move from one state to another.

triggers

17
New cards

An action is an atomic, non-decomposable process that cannot be ____________.

interrupted

18
New cards

An execution occurrence in a sequence diagram denotes when an object is _______ or __________ messages.

sending, receiving

19
New cards

If there is a message on the ________ diagram, there must be an association on the communications diagram, and vice versa.

sequence

20
New cards

The modeling focus of the interaction diagram is at the _____ level while the modeling focus on the class diagram is at the _____ level.

a. class, object

b. interaction, class

c. class, interaction

d. object, class

e. high, low

D. object, class

21
New cards

When arranging actors and objects on a sequence diagram, it is nice to list them _____.

a. in alphabetical order down the side of the diagram

b. in alphabetical order across the top of the diagram

c. in order in which they participate in the sequence down the side of the diagram

d. in order in which they participate in the sequence across the top of the diagram

e. actors and objects are not both shown on a sequence diagram

d. in order in which they participate in the sequence across the top of the diagram

22
New cards

Which of the following objects would be most likely to be destroyed at some point in time in a sequence diagram?

a. customer

b. order

c. order item

d. invoice

e. shopping cart

e. shopping cart

23
New cards

A systems analyst draws a lifeline with an X at the end. This lifeline represents _____.

a. a message that cannot be delivered

b. an object that is destroyed at a point in time

c. a message that is delivered at that point in time

d. an object that is complete at that point in time

e. an object that arrives at its final destination

b. an object that is destroyed at a point in time

24
New cards

The focus in a sequence diagram is on __________________

a. How actors interact with objects to realize a given use case

b. Messages sent by actors to other objects

c. when an object is being created

d. when messages are being destroyed

e. time ordering of messages being passed between objects

e. time ordering of messages being passed between objects

25
New cards

On a sequence diagram, an object name of Students:List would indicate that _____.

a. Students is an instance of the List class that contains individual student objects

b. List is an instance of the Students class

c. List is a method of the Students class

d. the Students and Lists objects are combined for that step in the sequence diagram

e. a message is being passed from the Students class to the List class

a. Students is an instance of the List class that contains individual student objects

26
New cards

The order of messages on a sequence diagram goes from ____ to _____.

a. right to left

b. bottom to top

c. left to right

d. top to bottom

e. left to right, top to bottom

d. top to bottom

27
New cards

When an object sends a message to itself in a sequence diagram that is referred to as _____.

a. recursive-messaging

b. self-messaging

c. self-delegation

d. recursive-delegation

e. none of these

c. self-delegation

28
New cards

The first step in building a sequence diagram is to _____.

a. set the context

b. identify which objects will participate

c. set the lifeline for each object

d. add the focus of control to each object's lifeline

e. validate the sequence diagram

a. set the context

29
New cards

In a communication diagram, a(n) _____ between actors and objects is shown with an undirected line.

a. procedure calls

b. data flow

c. association

d. message

e. relationship

c. association

30
New cards

A behavioral state machine is a dynamic model that shows the different state through which a single _____ passes through its life in response to events, along with its responses and actions

a. object

b. actor

c. use case

d. sequence diagram

e. communication diagram

a. object

31
New cards

A set of rules are used for performing the verification and validation walkthrough of behavioral model. One of the rules is: if there is a message on the sequence diagram, there must be _________________on the communications diagram, and vice versa.

a. a communication

b. a message

c. a behavior

d. a dependence

e. an association

e. an association

32
New cards

A set of rules are used for performing the verification and validation walkthrough of behavioral model. One of the rules is: all entries in a CRUDE matrix imply _____________ being sent from an actor or object to another actor or object

a. a message

b. a transition

c. an association

d. a guard condition

e. a behavior

a. a message

33
New cards

A set of rules are used for performing the verification and validation walkthrough of behavioral model. One of the rules is: all _______________ contained in a behavior state machine must be associated with a message being sent on a sequence and communication diagram, and it must be classified as a (C)reate, (U)pdate, or (D)elete message in a CRUDE matrix.

a. messages

b. behaviors

c. transitions

d. associations

e. dependences

c. transitions

34
New cards

Modeling the real world in behavioral models is relatively easy.

false

35
New cards

As behavioral models are developed, it is likely that the use cases and structural models will have to be modified.

false

36
New cards

A sequence diagram can only be drawn to represent a single scenario in a use case.

false

37
New cards

Actors and objects are placed on a sequence diagram in no particular order.

false

38
New cards

When an object sends a message to itself, it is called self-messaging.

false

39
New cards

It is possible for an object to create another object, resulting in the message going directly to the object, not its lifeline.

true

40
New cards

If you are interested in the time ordering of the messages in a system, you should use a communication diagram.

false

41
New cards

Both the communication diagram and the sequence diagram can show return messages.

false

42
New cards

A message with the information [aStudent exists] will be sent only when this condition is true.

true

43
New cards

The first step in drawing a communication diagram is to identify which objects and associations between the objects participate in the communication.

false

44
New cards

In a CRUD matrix, C represents Create.

true

45
New cards

When creating a CRUD matrix, you should use the letter U to represent Underline.

false

46
New cards

CRUD matrices are created by creating a matrix that lists the classes across the top and down the side.

false

47
New cards

Conditions on conditional messages in communication diagrams are placed in [ ] symbols.

true

48
New cards

Adding messages is the last step in building a communication diagram?

false

49
New cards

If a class represents only temporary objects, then there should be a D in the column of the CRUD matrix.

True

50
New cards

CRUD matrices are useful in the step "Set the Context" of building a collaboration diagram?

false

51
New cards

In a behavioral state diagram, an event changes a value(s) that describes an object which in turn changes the object's state.

true

52
New cards

An activity in a behavioral state diagram represents the movement of an object from one state to another.

false

53
New cards

In a behavioral state diagram, an action is non-atomic in nature while an activity is atomic and cannot be interrupted.

false

54
New cards

A rectangle with rounded corners is used to represent an initial state on a behavioral state diagram.

false

55
New cards

On a behavioral state diagram, an arrow is used to represent a transition.

true

56
New cards

Events are the triggers that cause an object to move from one state to another.

true

57
New cards

An action is an atomic, non-decomposable process that cannot be interrupted.

true

58
New cards

A guard condition is a Boolean expression, which allows a transition to occur only if a condition is satisfied.

true

59
New cards

A final state in a behavioral state diagram is shown using a small filled circle.

false

60
New cards

Identification of the initial, final and states of the object is the final steps of building a behavioral state diagram.

false

61
New cards

The following symbol represents the destruction of a temporary object in a sequence diagram.

true

62
New cards

An execution occurrence in a sequence diagram denotes when an object is sending or receiving messages.

true

63
New cards

An execution occurrence in a sequence diagram is represented using thick dashed lines with arrows that are placed on top of the life lines.

false

64
New cards

Return messages in a sequence diagram are often shown using dashed lines with arrows labeled with the return value.

true

65
New cards

For sequence, communication and behavioral state diagrams, a frame indicates the context of the diagram.

true

66
New cards

One of the guidelines for creating sequence diagram is: Place the initiator of the scenario on the right of diagram.

false

67
New cards

The communication diagram is used for modeling process flow.

false

68
New cards

Only create behavioral state machine for "complex" objects.

true

69
New cards

Using detail and descriptive names for states when creating behavioral state machine.

false

70
New cards

Every actor and object included on a sequence diagram must be included as an actor and an object on a communication diagram, and vice versa.

true

71
New cards

If there is a message on the sequence diagram, there must be an association on the communications diagram, and vice versa.

true

72
New cards

Some entries in a CRUDE matrix does not imply a message being sent from an actor or object to another actor or object.

false

73
New cards

System analysts use behavioral models to depict the internal structural or static view of an information system.

false

74
New cards

System analysts use structural models to depict the internal structural or static view of an information system.

true

75
New cards

1. The design phase of the SDLC creates a(n) _____.

a. blueprint for the future system

b. picture of the as-is system

c. understanding of who, what, when, and where the future system will be

d. understanding of why build the system

e. none of these

a. blueprint for the future system

76
New cards

Review

2. To avoid the classic design mistake of "reducing the design time," the analyst should _____.

a. increase the schedule to include learning time

b. move proposed changes into future versions

c. not switch or upgrade unless there is a compelling need for specific features

d. not use a design tool that appears too good to be true

e. use timeboxing

e. use timeboxing

77
New cards

3. To avoid the classic design mistake of "feature creep," the analyst should _____.

a. not switch or upgrade unless there is a compelling need for specific features

b. increase the schedule to include learning time

c. move proposed changes into future versions

d. not use a design tool that appears too good to be true

e. use rapid application development techniques or timeboxing

e. use rapid application development techniques or timeboxing

78
New cards

4. When an analyst discovers that a set of classes have a similar set of attributes and methods, it may make sense to _____ out the similarities into a separate class.

a. refine

b. abstract

c. factor

d. partition

e. separate

c. factor

79
New cards

5. A(n) _____ is the equivalent to a subsystem.

a. collaboration

b. partition

c. layer

d. factor

e. abstraction

b. partition

80
New cards

6. The _____ layer contains, among other things, the classes that represent the fundamental data types.

a. problem domain

b. system architecture

c. human-computer interaction

d. data management

e. foundation

e. foundation

81
New cards

7. The _____ layer addresses how the software will execute on specific computers and networks.

a. foundation

b. system architecture

c. human-computer interaction

d. data management

e. problem domain

e. problem domain

82
New cards

8. The layer that keeps the user interface implementation separate from the application or problem domain classes is the _____ layer.

a. foundation

b. system architecture

c. human-computer interaction

d. data management

e. problem domain

c. human-computer interaction

83
New cards

9. The _____ layer addresses the issues involving the persistence of the objects contained in the system.

a. foundation

b. system architecture

c. human-computer interaction

d. data management

e. problem domain

d. data management

84
New cards

10. Which of the following is not a fundamental way to approach the creation of a new information system?

a. develop a custom application in-house

b. rely on an external vendor to build the system

c. purchase a software package and customize it

d. rely on end-users to develop it themselves

e. all of these are ways to create new information systems

d. rely on end-users to develop it themselves

85
New cards

11. To avoid the classic design mistake of "silver bullet syndrome," the analyst should _____.

a. increase the schedule to include learning time

b. move proposed changes into future versions

c. not switch or upgrade development tools unless there is a compelling need

d. not use a design tool that appears too good to be true

e. use rapid application development techniques or timeboxing

d. not use a design tool that appears too good to be true

86
New cards

12. There are three methods to create a new system. They are _____.

a. buy a package, external vender, external service provider

b. develop custom application in-house, external service provider, and external vender

c. external service provider, rely on a developer, and external vender

d. in-house custom application, buy a package, and external vender

e. in-house custom application, external service provider, and external vender

d. in-house custom application, buy a package, and external vender

87
New cards

13. The following are all classic design mistakes EXCEPT _____.

a. feature creep

b. including design time

c. reducing design time

d. silver bullet syndrome

e. switching tools in mid-project

b. including design time

88
New cards

14. The following are all strengths of a custom development design strategy EXCEPT _____.

a. builds technical skills

b. greater creativity

c. greater flexibility

d. lower risk

e. none of these

d. lower risk

89
New cards

15. The following are all strengths of a packaged software design strategy EXCEPT _____.

a. it may be bought and installed in a short time

b. many business needs are not unique

c. the package is already tested and generally proven to work

d. there is an exact match of functionality to requirements

e. none of these

d. there is an exact match of functionality to requirements

90
New cards

16. An advantage of custom development is that the organization can _____.

a. accept functionality that is not a perfect fit

b. build technical skills and functional knowledge

c. install in a short period of time

d. remove all risk from the project

e. save money on the purchase

b. build technical skills and functional knowledge

91
New cards

17. An advantage of purchasing packaged software is that the organization can _____.

a. accept functionality that is not a perfect fit

b. build technical skills and functional knowledge

c. have developers climb the knowledge ladder

d. make strategic changes during implementation

e. save money on the purchase

e. save money on the purchase

92
New cards

18. A disadvantage of purchasing packaged software is that the organization may _____.

a. accept functionality that is not a perfect fit

b. build technical skills and functional knowledge

c. make strategic changes during implementation

d. remove all risk from the project

e. save money on the purchase

a. accept functionality that is not a perfect fit

93
New cards

19. The process of building new systems by combining packaged software, existing legacy systems, and new software written to integrate everything together is called _____.

a. customization

b. formal methodology

c. outsourcing

d. systems integration

e. workaround

d. systems integration

94
New cards

20. Manipulating certain parameters to refine the way features work in a software package is called _____.

a. a workaround

b. adjustment

c. customization

d. feature adjustability

e. parameterizing

c. customization

95
New cards

21. The decision on which design strategy to use depends on _____.

a. how unique the business need is

b. the expertise of the project manager

c. the urgency of the project

d. the amount of in-house experience

e. all of these

e. all of these

96
New cards

22. A(n) ______ matrix can be used to organize the pros and cons of the design alternatives so that the best solution will be chosen in the end.

a. alternative

b. cost-benefit

c. feasibility

d. design

e. evaluation

a. alternative

97
New cards

23. Which one in the following is a development strategy?

a. Rational Unified development

b. offshore development

c. packaged software

d. Agile development

e. Rapid prototyping

c. packaged software

98
New cards

24. Which one in the following is NOT a factor for selecting a design strategy?

a. Business need

b. In-house experience

c. Project skills

d. Time frame

e. Software quality

e. Software quality

99
New cards

25. Which one in the following is NOT a layer of a software architecture.

a. Foundation

b. Problem Domain

c. Data management

d. Data structure

e. Human-computer Interface

d. Data structure

100
New cards

26. Which the following class should be designed in layer Foundation.

a. Date

b. DataInputStream

c. Button

d. Student

e. URLConnection

a. Date