Deck 6: Programming Languages
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/42
Play
Full screen (f)
Deck 6: Programming Languages
1
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
B
2
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
C
3
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
A
4
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 42 flashcards in this deck.
Unlock Deck
k this deck
5
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 42 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 42 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following is not related to the others?
A) Structure chart
B) Imperative paradigm
C) Class diagram
D) Procedure
A) Structure chart
B) Imperative paradigm
C) Class diagram
D) Procedure
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
8
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 42 flashcards in this deck.
Unlock Deck
k this deck
9
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 42 flashcards in this deck.
Unlock Deck
k this deck
10
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 42 flashcards in this deck.
Unlock Deck
k this deck
11
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 42 flashcards in this deck.
Unlock Deck
k this deck
12
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
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
13
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 42 flashcards in this deck.
Unlock Deck
k this deck
14
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 42 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 42 flashcards in this deck.
Unlock Deck
k this deck
16
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 42 flashcards in this deck.
Unlock Deck
k this deck
17
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 42 flashcards in this deck.
Unlock Deck
k this deck
18
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
Unlock Deck
Unlock for access to all 42 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 42 flashcards in this deck.
Unlock Deck
k this deck
20
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
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
21
Explain the distinction between structure charts and class diagrams.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
22
Describe the data coupling represented by the following structure chart. 

Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
23
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 42 flashcards in this deck.
Unlock Deck
k this deck
24
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 42 flashcards in this deck.
Unlock Deck
k this deck
25
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 42 flashcards in this deck.
Unlock Deck
k this deck
26
State the Pareto principle in the context of software engineering.
__________________________________________________________________________
__________________________________________________________________________
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
27
Describe the control coupling represented by the following structure chart. 

Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
28
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 42 flashcards in this deck.
Unlock Deck
k this deck
29
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 42 flashcards in this deck.
Unlock Deck
k this deck
30
Identify two distinctions between software engineering and other traditional fields of engineering.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
31
Give an example of a one-to-many relationship.
____________________________________________________________
____________________________________________________________
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
32
In what sense is the software life cycle different from the life cycle of other products?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
33
Identify two legal techniques that have been applied to protect a software developer's ownership rights.
_____________________
_____________________
_____________________
_____________________
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
34
Based on the structure chart below, in which module does the data item w originate?
____________

Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
35
Explain the distinction between open-source development and beta testing.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
36
Give two examples of recent advances in software engineering.
_____________________
_____________________
_____________________
_____________________
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
37
Describe the process of a structured walkthrough.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
38
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 42 flashcards in this deck.
Unlock Deck
k this deck
39
Give an argument supporting the statement that modularity is the most important principle in software engineering.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
40
In what sense is the object-oriented paradigm ideal for implementing design patterns?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
41
Explain why inheritance may not be the best way of implementing generalizations among classes.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
42
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 42 flashcards in this deck.
Unlock Deck
k this deck