Exam 3 Flashcards

(101 cards)

1
Q

What defines a software failure?

A

Deviation between actual and expected results due to defects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What percentage of projects fail according to the 2020 Chaos Report?

A

19%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the typical number of defects in 1,000 lines of code?

A

5 to 15 defects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name two major system development methodologies.

A

Structured, Object-Oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is software testing difficult?

A

Impossible to test all cases due to combinatorial explosion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does “invisibility” in software mean?

A

Software is intangible, hard to visualize or communicate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the economic impact of bad software in the US?

A

Costs hundreds of billions per year.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Example of “program as a product and system”?

A

ERP system, Microsoft Office

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the SDLC?

A

The SDLC is a systematic process to plan, analyze, design, build, deliver, and maintain an information system that supports business needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the first phase in the SDLC?

A

The first phase is the Project Initial Study (Planning), where the feasibility and objectives of the project are evaluated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does system analysis focus on?

A

System analysis focuses on understanding the functionality the proposed system must provide to meet business requirements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is modularity in system design?

A

Modularity refers to breaking a system into smaller, manageable modules or components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a Gantt Chart used for in project management?

A

A Gantt chart is used to represent the schedule of a project, showing tasks, their durations, and dependencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the main output of the Project Initial Study?

A

Baseline Project Plan (BPP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the three key types of feasibility?

A

Technical, Economic, Operational

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What’s the purpose of a system request?

A

To justify the business value and request approval for a project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a common tool used to review the BPP?

A

Walkthrough

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does JAD stand for?

A

Joint Application Design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is a prototype?

A

A small-scale model of the system to gather user feedback

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Why avoid over-specification in requirements?

A

It limits flexibility and focuses on how, not what

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Give one intangible benefit of a system

A

Improved employee morale

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is a methodology in systems analysis?

A

A systematic approach using principles and procedures to complete tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Name three foundational works in structured methodology.

A
  1. Structured Analysis and System Specification – DeMarco
  2. Structured System Analysis – Gane & Sarson
  3. Structured Design – Yourdon & Constantine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is the purpose of system analysis?

A

To define functional requirements by breaking down the system into parts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What are the two major system models produced in system analysis?
Process model (DFD) and Data model (ERD)
26
What does a data flow represent in a DFD?
The movement of data from one point to another (data in motion).
27
What symbol is used for a data store in Gane and Sarson notation?
Open-ended rectangle
28
Can two data stores be connected directly in a DFD?
No, they must connect through a process.
29
What’s the unique reference number of the Context Diagram’s process?
0
30
What does a Context DFD show?
A high-level overview of the entire system with one process, external entities, and data flows.
31
What is shown in a Level 0 DFD?
Major processes, data flows, data stores, and external entities.
32
What is vertical balancing?
The consistency between parent and child DFDs by including all data flows and entities from parent DFD.
33
What should each process in a DFD be labeled with?
A verb and a unique reference number (e.g., 1, 2.1).
34
When is a Level 1 DFD created?
When a process in Level 0 DFD is still too complex and needs further decomposition.
35
What is a primitive process?
A process that performs a single task and cannot be decomposed further.
36
How many child processes should each parent have ideally?
Between 5 and 9 (7 ± 2).
37
Are external entities shown in Level 1 DFD?
No, external entities are not shown beyond Level 0 DFD.
38
What is the purpose of Process Specification?
To describe exactly what happens in a process and reduce ambiguity.
39
Which technique uses keywords like IF, THEN, DO, and DISPLAY?
Structured English
40
When do you NOT create a Process Specification?
For physical I/O processes, simple validation, or prewritten code.
41
What does a decision table help avoid?
Contradictions, redundancies, and impossible situations.
42
What shapes represent actions and conditions in a decision tree?
Actions = Squares; Conditions = Circles
43
What is a primitive process in DFD terms?
A process that performs a single task and is not decomposed further.
44
What are the three control structures in Structured English?
Sequential, Decision, Iteration
45
What is the first step in developing a decision table?
Determine the number of conditions and possible actions.
46
What is a data model?
A graphical representation of entities and their relationships.
47
What does ERD stand for?
Entity-Relationship Diagram.
48
Who developed the ER Model?
Peter Chen in 1976.
49
What is an entity?
A person, object, event, or concept important to the business.
50
What is an attribute?
A named property of an entity.
51
What is a UID?
Unique Identifier – uniquely identifies each instance of an entity.
52
What is cardinality?
Specifies how many instances of one entity relate to another.
53
When do we use an associative entity?
To resolve a many-to-many relationship.
54
What is a unary relationship?
A relationship where an entity is related to itself.
55
What does SDLC stand for?
System Development Life Cycle
56
What is the first phase of SDLC?
Project Initiation
57
What is the output of the system design phase?
Technical specifications for implementation
58
What is a relation in relational databases?
A two-dimensional table
59
Define attribute in relational terms.
A column in a table
60
What is a tuple?
A row in a table
61
What is a primary key?
A unique identifier for a row
62
What is the role of foreign keys?
To reference a primary key in another table
63
Can a primary key be NULL?
No
64
Who developed the relational model?
E.F. Codd
65
Name 3 types of data models.
Hierarchical, Network, Relational
66
What does SQL stand for?
Structured Query Language
67
What ensures entity integrity?
Primary keys must not be NULL
68
What is referential integrity?
Ensures foreign keys refer to valid primary keys
69
What model is the industry standard today?
Relational model
70
What is an ER model?
Conceptual data model using entities and relationships
71
What is mapping in database design?
Converting ER models to relational models
72
What is a unary relationship?
A relationship within the same entity
73
What’s an example of multi-valued attribute?
Languages spoken: English, Spanish, German
74
Can a table have multiple foreign keys?
Yes
75
What are the three main components of user interface design?
Input Design, Output Design, Dialogue Design.
76
Name two advantages of distributed computing architecture.
Improved performance and fault tolerance.
77
In a three-tier client/server architecture, what is the role of the application server?
It handles the business logic.
78
What is the primary goal of user interface design?
To facilitate efficient and accessible interaction between the user and the system.
79
Define Service-Oriented Architecture (SOA).
A design approach where services are provided to other components over a network, promoting modularity and reusability.
80
Object
Entity with identity, data (attributes), and behavior (methods)
81
Class
Blueprint for creating objects with shared structure/behavior
82
Encapsulation
Combining data and functions into one unit (object)
83
Inheritance
Subclass derives from superclass and inherits features
84
Reusability
Use of existing OO components in new systems
85
UML
Visual language for OO analysis/design
86
Structural Diagram
Shows static structure (e.g., Class Diagram)
87
Behavioral Diagram
Shows dynamic behavior (e.g., Use Case Diagram)
88
What is the goal of system analysis in OO?
To analyze and define the system’s functional and structural requirements.
89
What are the two main modeling techniques in OO system analysis?
Use Case Modeling (Functional) and Class Modeling (Structural).
90
What is a use case diagram?
A visual representation showing how actors interact with the system through use cases.
91
What is a use case description?
A detailed textual scenario showing the steps and variations of a user interaction.
92
What does an actor represent?
A person, group, or system that interacts with the system being developed.
93
What is a class model?
A structural model showing system classes and their relationships.
94
What does a class encapsulate?
Attributes (data) and behaviors (operations).
95
Name the 4 types of classes.
Entity, UI, Data Access, Control.
96
What relationship does “IS-A” represent in UML?
Generalization/Specialization.
97
What is multiplicity in class diagrams?
It defines how many objects of one class relate to another (e.g., 1..*, 0..1).
98
What is the purpose of CRC cards?
Identify class responsibilities and collaborating classes.
99
Give an example of a behavior for an Order class.
CalculateOrderTotal()
100
What is removed during noun list cleanup?
Synonyms, attributes, behaviors, printouts.
101