Deck 7: Software Engineering
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/54
Play
Full screen (f)
Deck 7: Software Engineering
1
Which of the following is the method proposed by UML for representing sequences of communication between objects?
A) Class diagram
B) Use case diagram
C) Sequence diagram
D) Generalization
A) Class diagram
B) Use case diagram
C) Sequence diagram
D) Generalization
C
2
Which of the following is the oldest approach to software development?
A) Component architecture
B) Waterfall model
C) Open-source development
D) Extreme programming
A) Component architecture
B) Waterfall model
C) Open-source development
D) Extreme programming
B
3
Which of the following is not a tool for designing modular systems?
A) Structure charts
B) Data dictionaries
C) Class diagrams
D) Sequence diagrams
A) Structure charts
B) Data dictionaries
C) Class diagrams
D) Sequence diagrams
B
4
Which of the following is most likely an example of a one-to-one relationship?
A) Subscribers and magazines
B) Birth dates and people
C) Planets and their moons
D) Dinner guests and table settings
A) Subscribers and magazines
B) Birth dates and people
C) Planets and their moons
D) Dinner guests and table settings
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following software engineering methodologies is the most rigid?
A) Incremental model
B) Waterfall model
C) Extreme programming
D) Evolutionary prototyping
A) Incremental model
B) Waterfall model
C) Extreme programming
D) Evolutionary prototyping
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
6
If a class diagram indicates a one-to-one relationship between class X and class Y,then
A) there will be only one object in the system of "type" X.
B) each object of "type" X will be associated with only one object of "type" Y.
C) there will be exactly one object of "type" X and exactly one object of "type" Y.
D) an object of "type" Y cannot occur without first constructing an object of "type" X.
A) there will be only one object in the system of "type" X.
B) each object of "type" X will be associated with only one object of "type" Y.
C) there will be exactly one object of "type" X and exactly one object of "type" Y.
D) an object of "type" Y cannot occur without first constructing an object of "type" X.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following appears to be the most functionally cohesive?
A) A module that handles all of a customers banking needs
B) A module that handles only transactions related to checking accounts
C) A module that only records deposits to checking accounts
D) A module that collects data for monthly statements
A) A module that handles all of a customers banking needs
B) A module that handles only transactions related to checking accounts
C) A module that only records deposits to checking accounts
D) A module that collects data for monthly statements
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is not a feature of UML?
A) Use case diagrams
B) Class diagrams
C) Dataflow diagrams
D) Sequence diagrams
A) Use case diagrams
B) Class diagrams
C) Dataflow diagrams
D) Sequence diagrams
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is most likely an example of a many-to-many relationship?
A) Subscribers and magazines
B) Birth dates and people
C) Planets and their moons
D) Dinner guests and table settings
A) Subscribers and magazines
B) Birth dates and people
C) Planets and their moons
D) Dinner guests and table settings
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following is not related to the others?
A) Structure chart
B) Imperative paradigm
C) Class diagram
D) Function
A) Structure chart
B) Imperative paradigm
C) Class diagram
D) Function
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is a form of glass-box testing?
A) Basis path testing
B) Boundary value analysis
C) Beta testing
A) Basis path testing
B) Boundary value analysis
C) Beta testing
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
12
The use of design patterns in software engineering was adopted from what other field?
A) Business administration
B) Architecture
C) Biology
D) Chemistry
A) Business administration
B) Architecture
C) Biology
D) Chemistry
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
13
The Pareto principle is traditionally applied during which phase of software development?
A) Requirements Analysis
B) Design
C) Implementation
D) Testing
A) Requirements Analysis
B) Design
C) Implementation
D) Testing
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following is a way of testing the design of a software system?
A) Entity-relationship diagram
B) Class diagram
C) Structure chart
D) Structured walkthrough
A) Entity-relationship diagram
B) Class diagram
C) Structure chart
D) Structured walkthrough
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following is least related to the Pareto principle?
A) When it rains, it pours.
B) Birds of a feather flock together.
C) Better late than never.
A) When it rains, it pours.
B) Birds of a feather flock together.
C) Better late than never.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following is a means of controlling the complexity of a software system?
A) CRC cards
B) Modularity
C) Specifications
D) Beta testing
A) CRC cards
B) Modularity
C) Specifications
D) Beta testing
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following is a stronger form of cohesion?
A) Functional cohesion
B) Logical cohesion
A) Functional cohesion
B) Logical cohesion
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is not represented in a class diagram?
A) Generalizations
B) The methods within a class
C) The attributes within a class
D) The number of instances each class will have
A) Generalizations
B) The methods within a class
C) The attributes within a class
D) The number of instances each class will have
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following is a notational system for representing object-oriented designs?
A) UML
B) Structure charts
C) Modular designs
D) Dataflow diagrams
A) UML
B) Structure charts
C) Modular designs
D) Dataflow diagrams
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following is an attempt to construct software from off-the-shelf components as is done in other engineering fields?
A) Extreme programming
B) Evolutionary prototyping
C) Component architecture
D) Open-source development
A) Extreme programming
B) Evolutionary prototyping
C) Component architecture
D) Open-source development
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
21
In each case below indicate whether the activity relates to glass-box testing or black-box testing.
A.___________________ Testing to see if the system performs in a timely manner
B.___________________ Designing test data to ensure that each instruction is executed at least
once
C.___________________ Testing to see if the software system meets the requirements
identified during original analysis
A.___________________ Testing to see if the system performs in a timely manner
B.___________________ Designing test data to ensure that each instruction is executed at least
once
C.___________________ Testing to see if the software system meets the requirements
identified during original analysis
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
22
In each case below indicate whether the activity is a form of glass-box testing or black-box testing.
A.___________________ Basis path testing
B.___________________ Boundary value analysis
C.___________________ Beta testing
A.___________________ Basis path testing
B.___________________ Boundary value analysis
C.___________________ Beta testing
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
23
Give two examples of recent advances in software engineering.
_____________________
_____________________
_____________________
_____________________
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
24
Copyright laws were established
A) to allow authors to distribute their work while maintaining certain ownership rights.
B) to allow authors to maintain ownership of their ideas.
C) to restrict access to publications to certain groups within society.
D) to allow ideas to be traced back to their origins.
A) to allow authors to distribute their work while maintaining certain ownership rights.
B) to allow authors to maintain ownership of their ideas.
C) to restrict access to publications to certain groups within society.
D) to allow ideas to be traced back to their origins.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
25
Answer the following questions in terms of the structure chart below.
A.What modules directly use the services of module E? ____________
B.The services of which modules are directly used by module A?
____________

A.What modules directly use the services of module E? ____________
B.The services of which modules are directly used by module A?
____________
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
26
In each case below indicate whether the phrase relates to coupling or cohesion.
A.___________________ The interaction between modules
B.___________________ Passing data from one module to another
C.___________________ Ensuring that a module performs a unique task in its entirety
A.___________________ The interaction between modules
B.___________________ Passing data from one module to another
C.___________________ Ensuring that a module performs a unique task in its entirety
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
27
In each of the following,indicate whether the information would be represented within a use case diagram,a class diagram,or a sequence diagram.
A.__________________ The methods within a class
B.__________________ The ways in which the system will interact with its environment
C.__________________ The manner in which its internal objects will interact
D.__________________ Relationships among classes
A.__________________ The methods within a class
B.__________________ The ways in which the system will interact with its environment
C.__________________ The manner in which its internal objects will interact
D.__________________ Relationships among classes
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
28
In each case below indicate whether the activity relates to a sequence diagram or a dataflow diagram.
A.___________________ Identifying messages passed between objects
B.___________________ Identifying how data items are combined to produce new items
C.___________________ Identifying how tasks are performed via object interactions
D.___________________ Identifying how information and leaves a system
A.___________________ Identifying messages passed between objects
B.___________________ Identifying how data items are combined to produce new items
C.___________________ Identifying how tasks are performed via object interactions
D.___________________ Identifying how information and leaves a system
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
29
Based on the structure chart below,in which module does the data item w originate?
____________

____________
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
30
In each case below indicate whether the activity is primarily top-down or bottom-up.
A.___________________ Building software from previously constructed components
B.___________________ Dividing a module into smaller modules to obtain greater cohesion
C.___________________ Designing a dataflow diagram by successively adding more
specificity
A.___________________ Building software from previously constructed components
B.___________________ Dividing a module into smaller modules to obtain greater cohesion
C.___________________ Designing a dataflow diagram by successively adding more
specificity
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
31
In an object-oriented design using UML,__________ diagrams are used to represent classes and their
basic relationships,whereas _____________ diagrams are used to represent communication between
objects.
basic relationships,whereas _____________ diagrams are used to represent communication between
objects.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
32
Identify two forms of inter-module coupling.
______________________
______________________
______________________
______________________
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
33
Requirements analysis provides a __________________ of a proposed software product whereby the user needs,features,and services are identified and recorded in a document called a ________________ .
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
34
____________ is a notational system for representing object-oriented designs.It includes standards for
representing _______________ diagrams that show how users interact with the proposed system as well
as ______________diagrams that show how objects within the proposed system will interact.
representing _______________ diagrams that show how users interact with the proposed system as well
as ______________diagrams that show how objects within the proposed system will interact.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
35
In each case below indicate whether the activity relates to a structure chart or a class diagram.
A.___________________ Identifying actions to be performed
B.___________________ Identifying the types of objects in a system
C.___________________ Identifying relationships between "types" of objects
D.___________________ Identifying how activities performed by different functions relate to
one another
A.___________________ Identifying actions to be performed
B.___________________ Identifying the types of objects in a system
C.___________________ Identifying relationships between "types" of objects
D.___________________ Identifying how activities performed by different functions relate to
one another
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
36
Give an example of a one-to-many relationship.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
37
As a general rule,one should strive to ____________________ (maximize or minimize)coupling
between modules and to ____________________ (maximize or minimize)cohesion within modules.
between modules and to ____________________ (maximize or minimize)cohesion within modules.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
38
Identify the stage of software development in which each of the following activities is performed.
A._____________________ Programming is conducted.
B._____________________ Class diagrams are drawn.
C._____________________ User needs are analyzed.
A._____________________ Programming is conducted.
B._____________________ Class diagrams are drawn.
C._____________________ User needs are analyzed.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
39
State the Pareto principle in the context of software engineering.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
40
Prototyping occurs in two forms.In one,called __________________ prototyping the original
prototype is slowly enhanced to become the final product.In the other,called _______________
prototyping,the original prototype is used as an "experimental" system that is ultimately discarded.
prototype is slowly enhanced to become the final product.In the other,called _______________
prototyping,the original prototype is used as an "experimental" system that is ultimately discarded.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
41
Describe the control coupling represented by the following structure chart.


Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
42
Explain the distinction between open-source development and beta testing.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
43
In what sense is the object-oriented paradigm ideal for implementing design patterns?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
44
Describe the process of a structured walkthrough.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
45
Describe the data coupling represented by the following structure chart.


Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
46
Explain the distinction between structure charts and class diagrams.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
47
Identify two legal techniques that have been applied to protect a software developer's ownership rights.
_____________________
_____________________
_____________________
_____________________
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
48
Explain the role of each of the following forms of documentation: user documentation,technical documentation,and system documentation.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
49
Explain some of the ways in which software engineering has benefited from the development of the object-oriented paradigm.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
50
Identify two distinctions between software engineering and other traditional fields of engineering.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
51
Give an argument supporting the statement that modularity is the most important principle in software engineering.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
52
Explain why inheritance may not be the best way of implementing generalizations among classes.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
53
For the following class diagram:
A.What kind of relationship is noted between Customer and Account? __________
B.What kind of relationship is noted between Bank and Account? __________
C.What kind of relationship is noted between Checking and Account? __________
D.What are the instance variables of Account? __________
E.What are the instance variables of Checking? __________
F.What are the methods of Savings? __________
G.What instance variable could be added to Customer? __________

A.What kind of relationship is noted between Customer and Account? __________
B.What kind of relationship is noted between Bank and Account? __________
C.What kind of relationship is noted between Checking and Account? __________
D.What are the instance variables of Account? __________
E.What are the instance variables of Checking? __________
F.What are the methods of Savings? __________
G.What instance variable could be added to Customer? __________
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
54
In what sense is the software life cycle different from the life cycle of other products?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck