Docsity

Software Engineering: Complete Exam Guide, Study notes of Software Engineering

Toggle sidebar
bg1
U N
I
V
E
R S
I
T Y
E
X
A
M
P R
E
P
A
R
A
T
I
O N
โ€ข
B
.
T
E C H
(
C
S
E
-
A I
&
M L
)
S
E
M
E
S T
E
R
5
SO
F
TW
A
R
E
E
N
GI
N
EE
R
I
N
G
The
C
ompl
e
t
e
E
x
a
m
G
u
ide
โ€”
f
rom
l
ife
-
c
y
c
l
e
mo
de
ls
a
n
d
COCOMO
to
t
e
st
i
n
g
,
qu
a
l
i
ty
a
n
d
CASE
,
e
xpl
ai
n
ed
f
rom
z
e
ro
C
ours
e
c
o
de
:
P
EC
๎‚ˆ
C
S
E
๎‚ˆ311
G
๎›ฒ
|
๎›ฒ
C
a
t
eg
ory
:
P
ro
fe
ss
i
on
a
l
E
lec
t
i
v
e
C
ours
e
S
che
m
e
:
L
3
๎›ฒ
T
0
๎›ฒ
P
0
๎›ฒ
C
r
edi
ts
3
๎›ฒ
|
๎›ฒ
S
e
m
e
st
e
r
:
5
T
he
ory
p
a
p
e
r
:
75
m
a
r
k
s
๎›ฒ
|
๎›ฒ
C
l
a
ss
wor
k
:
25
m
a
r
k
s
๎›ฒ
|
๎›ฒ
T
i
m
e
:
3
h
ours
C
ov
e
rs
:
A
ll
4
un
i
ts
o
f
t
he
sy
ll
a
b
us
+
a
n
"
S
E
f
rom
Z
e
ro
"
ch
a
pt
e
r
C
O M P
I
L
E D
B
Y
He
m
a
nt
B
.
T
ech
๎‚
C
S
E
๎‚ˆ
AI
&
ML
๎‚‚
๎‚‹
S
e
m
e
st
e
r
5
E
v
e
ry
top
ic
h
a
s
:
a
s
i
mp
le
H
i
n
gli
s
h
e
xp
l
a
n
a
t
i
on
โ€ข
a
l
on
g
,
e
x
a
m
-
r
e
a
d
y
E
n
gli
s
h
a
nsw
e
r
๎‚Œ
70
๎‚
l
a
belled
di
a
g
r
a
ms
โ€ข
on
e
runn
i
n
g
c
a
s
e
stu
d
y
๎‚
L
ib
r
a
ry
Ma
n
a
ge
m
e
nt
S
yst
e
m
)
f
or
DFD
,
E
R
di
a
g
r
a
m
,
d
a
t
a
dic
t
i
on
a
ry
,
SRS
a
n
d
stru
c
tur
e
ch
a
rt
โ€ข
a
fe
w
sm
a
ll
so
l
v
ed
num
e
r
ic
a
l
s
๎‚
C
O
C
OMO
,
f
un
c
t
i
on
po
i
nts
,
c
y
cl
om
a
t
ic
c
omp
le
x
i
ty
,
a
v
a
il
a
bili
ty
)
๎‚Œ
40๎‚‰50
wor
d
not
e
s
f
or
Q
1
๎‚Œ
m
e
mory
tr
ick
s
โ€ข
a
n
a
l
ys
i
s
o
f
t
he
2022,
2023
a
n
d
2025
p
a
p
e
rs
P
r
e
p
a
r
ed
w
i
t
h
t
he
hel
p
o
f
AI
S
o
f
tw
a
r
e
E
n
gi
n
ee
r
i
n
g
๎‚
P
EC
๎‚ˆ
C
S
E
๎‚ˆ311
G
๎‚‚
๎‚‹
C
omp
le
t
e
E
x
a
m
G
u
ide
Pa
ge
1
o
f
170
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download Software Engineering: Complete Exam Guide and more Study notes Software Engineering in PDF only on Docsity!

U N I V E R S I T Y E X A M P R E P A R A T I O N โ€ข B. T E C H ( C S E - A I & M L ) S E M E S T E R 5

SOFTWARE

ENGINEERING

The Complete Exam Guide โ€” from life-cycle models and COCOMO to

testing, quality and CASE, explained from zero

Course code: PEC๎‚ˆCSE๎‚ˆ 311 G | Category: Professional Elective Course Scheme: L 3 T 0 P 0 Credits 3 | Semester: 5 Theory paper: 75 marks | Class work: 25 marks | Time: 3 hours Covers: All 4 units of the syllabus + an "SE from Zero" chapter

C O M P I L E D B Y

Hemant

B.Tech ๎‚CSE๎‚ˆAI&ML๎‚‚ ๎‚‹ Semester 5

Every topic has: a simple Hinglish explanation โ€ข a long, exam-ready English answer ๎‚Œ 70 ๎‚ labelled diagrams โ€ข one running case study ๎‚Library Management System) for DFD, ER diagram, data dictionary, SRS and structure chart โ€ข a few small solved numericals ๎‚COCOMO, function points, cyclomatic complexity, availability) ๎‚Œ 40 ๎‚‰ 50 word notes for Q 1 ๎‚Œ memory tricks

  • analysis of the 2022, 2023 and 2025 papers Prepared with the help of AI

How to Use This Book

This book is written for a student who is meeting software engineering for the first time. It begins with what a software project is, explains every idea in simple language with everyday examples, and then gives you the long English answers you should write in the exam.

PEHLE SAMJHO ยท HINGLISH MEIN Ye book kaise padhni hai Software Engineering ka matlab hai software ko ek engineer ki tarah banana: plan karke, design karke, test karke, jaise ek civil engineer ghar banata hai. Is subject mein coding nahi, balki process, diagrams aur management hai.

  1. Pehle Chapter 0 (SE from Zero) padho: ek software project kaise chalta hai, aur DFD / ER diagram ke symbols. 30โ€“40 minute ka kaam.
  2. Har topic mein pehle "Pehle Samjho" (Hinglish box) padho. Ye dost ki tarah samjhata hai: ghar banana, shaadi ki planning, college project ke examples. Ye exam mein copy nahi karna.
  3. Phir "Exam Mein Ye Likho" wala English answer padho. Ye lamba aur explanatory hai, simple English mein, examples ke saath. Yahi exam mein likhna hai.
  4. Poori book mein ek hi example chalta hai: Library Management System. Iska DFD, ER diagram, data dictionary, SRS, structure chart sab bana ke dikhaya hai. Ek baar samajh gaye to har sawaal mein yahi example likh sakte ho.
  5. Diagrams is paper ki jaan hain. Har diagram ko khud copy pe banane ki practice karo.

What is inside every unit

Part What it contains Why it helps you Unit opening page What the unit is about and what has been asked in previous papers

You see the big picture first

Part A ๎‚‹ Key Definitions

Every term with an exam-ready English definition Definitions are the base of every answer and of Q 1 Part B ๎‚‹ Long Answers ๎‚ 15 marks)

What the examiner wants ๎‡— Hinglish explanation โ†’ long English model answer with diagrams and examples โ†’ marks guide

This is what you write in Questions 2 to 9

Part C ๎‚‹ Short Notes ๎‚Q 1 ๎‚‚

Ready-made notes of 40 ๎‚‰ 50 words For the compulsory Question 1 Part D ๎‚‹ Unit Revision

Tricks, formulas, diagrams to practise For quick revision

At the end there are three revision chapters: a Diagrams, Formulas and Numericals Master Chapter, a Models, People and Dates Master Chapter, and a Last-Night Revision chapter.

The coloured boxes

PEHLE SAMJHO ยท HINGLISH MEIN (light blue box) Hinglish mein samjhana. Sirf samajhne ke liye, exam mein copy mat karna.

Topic Feb 2022 Dec 2022

Nov 2023

Dec 2025 Book

Requirements analysis; partitioning Q 4 โ€” Q4(a) โ€” Q2. SRS (with case study) Q5(b) โ€” โ€” Q4(a) Q2. Data / functional modelling โ€” Q1(d) Q4(b) โ€” Q2. DFD; data dictionary Q1(c) Q 5 Q1(c), Q 4 ๎‚b)

Q1(d), Q1(e)

Q2.

Classical analysis methods โ€” โ€” โ€” Q4(b) Q2. Design concepts and principles; abstraction, information hiding, modularity

โ€” Q4, Q1(c)

Q 5 Q5(b) Q2.

Functional independence, cohesion, coupling, modular design

Q1(d), Q 5 ๎‚a)

โ€” Q 5 Q5(a) Q2.

Software architecture; architectural design and complexity

Q6(b) Q 7 Q7(a) Q6(a) Q3.

Transform flow, transaction flow, transform mapping โ€” โ€” Q7(b) Q1(b), Q 1 ๎‚f)

Q3.

Testing techniques; white-box vs black-box; equivalence partitioning

Q 7 โ€” Q 6 โ€” Q3.4, Q3. Verification and validation; unit testing; alpha and beta Q1(e) Q1(e), Q 6

Q1(e) Q6(b) Q3.

Recovery, stress, security, performance testing โ€” โ€” โ€” Q 7 Q3. Re-engineering, reverse engineering Q6(a) Q1(f) Q1(d) โ€” Q3. Quality concepts, SQA activities Q 8 โ€” โ€” โ€” Q4. Defect amplification; formal technical reviews Q1(f) โ€” Q 8 โ€” Q4. Software reliability (vs hardware) โ€” Q 8 Q1(f) Q1(c) Q4. ISO 9000 / ISO 9001 Q9(a) โ€” Q9(b) Q 9 Q4. Software configuration management โ€” โ€” โ€” Q 9 Q4. CASE and its building blocks Q9(b) Q 9 Q9(a) Q 8 Q4.

PEHLE SAMJHO ยท HINGLISH MEIN PYQ se kya pata chalta hai Chaar papers mein bahut kuch repeat hota hai. Ye topics pakke karo: CASE chaaron papers mein aaya hai! ISO 9000/9001 teen baar. DFD aur data dictionary har saal (kabhi Q1, kabhi 15 marks). Library Management ka DFD bhi maanga gaya tha. Software crisis, COCOMO, staffing / team structures, spiral / prototyping / RAD baar-baar aaye. Design concepts, cohesionโ€“coupling, architectural design, transform flow: Unit 2โ€“3 ke favourites. Alphaโ€“beta, verificationโ€“validation, re-engineering, reliability: Q 1 ke favourites.

A time plan for 3 hours

Time What to do First 10 minutes Read the paper; choose one question from each unit. Prefer questions with diagrams you have practised.

Time What to do About 25 minutes Question 1 : six short answers, about 4 minutes each (definition ๎‚ 2 ๎‚‰ 3 lines + example or tiny diagram). About 33 minutes per question

Four long answers , 15 marks each.

Last 10 minutes Label diagrams, underline keywords.

How to write a 15-mark answer in this subject

Step What to write Approx. marks

  1. Introduction 3 ๎‚‰ 5 lines with a real example 1
  2. Definition Exact definition, underlined (give the author if known: Pressman, IEEE๎‚‚

2

  1. Diagram Model, process or structure diagram, neatly labelled 2 ๎‚‰ 3
  2. Explanation Headings with 3 ๎‚‰ 5 lines each; phases, steps or types 5 ๎‚‰ 6
  3. Example / table Library example, a comparison table or a small numerical 2
  4. Advantages and disadvantages

3 ๎‚‰ 5 points each 1 ๎‚‰ 2

  1. Conclusion 2 ๎‚‰ 3 lines 1

NOTE Golden rules for software-engineering answers

  1. A diagram in every answer. Life-cycle models, DFDs, ER diagrams, testing strategy, CASE layers: examiners give marks for them.
  2. Use the standard names: "classical waterfall model", "formal technical review", "cyclomatic complexity", "functional independence".
  3. Advantages and disadvantages for every model and technique.
  4. Comparison tables for pairs: cohesion vs coupling, verification vs validation, alpha vs beta, white vs black box, reverse vs forward engineering.
  5. One running example (the library system) makes your answers concrete.

How to write a Q 1 short answer

Write one line of definition, then two or three lines of explanation, and add one example or a tiny diagram. That is 40โ€“50 words.

  • Chapter 0 ๎‚‹ SE from Zero
    • Part A ๎‚‹ A Software Project from Start to Finish
    • Part B ๎‚‹ The Case Study and the Symbols
  • Unit 1 ๎‚‹ Introduction and Software Project Management
    • Part A ๎‚‹ Key Definitions
    • Part B ๎‚‹ Long-Answer Questions ๎‚ 15 Marks)
      • Q1.1 Software, its characteristics and applications; emergence of software engineering
      • Q1.2 Software crisis
      • Q1.3 Software life-cycle models: waterfall family
      • Q1.4 Evolutionary models: prototyping, incremental, spiral and RAD
      • Q1.5 Software project management, planning and metrics
      • Q1.6 Project size estimation metrics: LOC and function points
      • Q1.7 Estimation techniques: empirical techniques and COCOMO
      • Q1.8 Staffing level estimation, team structures and staffing
      • Q1.9 Risk analysis and management
      • Q1.10 Project scheduling and tracking
    • Part C ๎‚‹ Short Notes for Question 1 ๎‚ 40 ๎‚‰ 50 words each)
    • Part D ๎‚‹ Unit Revision: Tricks, Formulas and Diagrams
  • Unit 2 ๎‚‹ Requirements Analysis and Software Design
    • Part A ๎‚‹ Key Definitions
    • Part B ๎‚‹ Long Answers ๎‚ 15 / 7.5 marks)
      • Q2.1 Requirements analysis, analysis principles and partitioning
      • Q2.2 Software Requirements Specification ๎‚SRS๎‚‚
      • Q2.3 Analysis modelling: data, functional and behavioural modelling
      • Q2.4 Data flow diagrams and the data dictionary
      • Q2.5 Classical analysis methods and the mechanics of structured analysis
      • Q2.6 Design process, design principles and design concepts
      • Q2.7 Effective modular design: functional independence, cohesion and coupling
    • Part C ๎‚‹ Short Notes for Question 1 ๎‚ 40 ๎‚‰ 50 words each)
    • Part D ๎‚‹ Unit Revision: Tricks, Formulas and Diagrams
  • Unit 3 ๎‚‹ Architectural Design, Testing and Re-engineering
    • Part A ๎‚‹ Key Definitions
    • Part B ๎‚‹ Long Answers ๎‚ 15 / 7.5 marks)
      • Q3.1 Software architecture, architectural styles, analysing alternatives and architectural complโ€ฆ
      • Q3.2 Data design
      • Q3.3 Transform flow, transaction flow and transform mapping
      • Q3.4 Testing fundamentals and white-box (basis path) testing
      • Q3.5 Black-box testing, equivalence partitioning and white-box vs black-box
      • Q3.6 Testing strategies: verification and validation, unit, integration, validation testing, alpha aโ€ฆ
      • Q3.7 System testing: recovery, security, stress and performance testing
      • Q3.8 The art of debugging
      • Q3.9 Software re-engineering, reverse engineering, restructuring and forward engineering
    • Part C ๎‚‹ Short Notes for Question 1 ๎‚ 40 ๎‚‰ 50 words each)
    • Part D ๎‚‹ Unit Revision: Tricks, Formulas and Diagrams
  • Unit 4 ๎‚‹ Software Quality, Reliability, SCM and CASE
    • Part A ๎‚‹ Key Definitions
    • Part B ๎‚‹ Long Answers ๎‚ 15 / 7.5 marks)
      • Q4.1 Software quality concepts and SQA activities
      • Q4.2 Software reviews, defect amplification and formal technical reviews
      • Q4.3 Formal approaches to SQA and statistical SQA
      • Q4.4 Software reliability, availability, and hardware vs software reliability
      • Q4.5 ISO 9000 quality standards and ISO
      • Q4.6 Software configuration management
      • Q4.7 Computer-aided software engineering ๎‚CASE๎‚‚
    • Part C ๎‚‹ Short Notes for Question 1 ๎‚ 40 ๎‚‰ 50 words each)
    • Part D ๎‚‹ Unit Revision: Tricks, Formulas and Diagrams
  • Master Chapter 1 ๎‚‹ Formulas, Diagrams and Numericals Master Chapter
    • Part A ๎‚‹ All Formulas in One Place
    • Part B ๎‚‹ Ten Diagrams in 60 Seconds
    • Part C ๎‚‹ All Numericals at a Glance
  • Master Chapter 2 ๎‚‹ Models, People and Dates Master Chapter
    • Part A ๎‚‹ Which Life-cycle Model When
    • Part B ๎‚‹ People and Their Contributions
    • Part C ๎‚‹ Timeline of Software Engineering
    • Part D ๎‚‹ Memory Hooks
  • Master Chapter 3 ๎‚‹ Last-Night Revision
    • Part A ๎‚‹ Twenty Key Differences
    • Part B ๎‚‹ Most Expected Questions
    • Part C ๎‚‹ Two Model Papers with Answer Plans
    • Part D ๎‚‹ The Exam-Hall Checklist

CHAPTER 0 ยท BEFORE YOU START

SE from Zero

What a software project is ๎‚Œ The journey of a project, step by step ๎‚Œ Who is who in a project ๎‚Œ The running case study: Library Management System ๎‚Œ The symbols of DFDs and ER diagrams ๎‚Œ Words you will meet again and again

Why this chapter

Software engineering is about how software is built, not about writing code. If you have never seen a real project, words like "requirements", "design", "SRS", "DFD" or "testing" may feel abstract. This chapter follows one small project from start to finish, so that every later topic has a picture in your mind.

PEHLE SAMJHO ยท HINGLISH MEIN Software engineering = ghar banane jaisa Ghar banana ho to seedha eent nahi lagate. Pehle zaroorat poochhte ho (kitne kamre), phir naksha (arโ€ chitect), phir budget aur time, phir banana, phir check (paani tapakta to nahi), aur baad mein maramโ€ mat. Software bhi aise hi banta hai:

  1. Requirements: user ko kya chahiye?
  2. Design: naksha: kaunse modules, kaunsa data.
  3. Coding: programs likhna.
  4. Testing: galtiyan dhundhna.
  5. Maintenance: chalte system ko sudharna. Aur in sab ke upar project management: kitna kharcha, kitna time, kitne log, kya khatre (risk).

CHAPTER 0 ยท PART B

The Case Study and the Symbols

3. The running case study: Library Management System

We will use this example throughout the book.

Users: members (students, teachers), librarian, admin. Main functions: add and remove books; register members; issue a book; return a book and calculate a fine if late; search the catalogue; produce reports (books issued today, overdue list). Main data: BOOK (book_id, title, author, status), MEMBER (member_id, name, phone), ISSUE (member_id, book_id, issue_date, due_date, return_date). Rules: a member may hold at most 3 books; loan period 14 days; fine โ‚น 2 per late day.

4. The symbols of DFDs and ER diagrams

DFD SYMBOLS ER DIAGRAM SYMBOLS

Student External entity (source/sink)

Issue book Process^ (bubble)

Books Data store

book_id Data flow (labelled arrow)

BOOK Entity (rectangle)

issues Relationship (diamond)

title Attribute (ellipse)

1 N Cardinality ๎‚ 1 ๎‚’1, 1 ๎‚’N, M๎‚’N๎‚‚

Fig. 0.2 ๎‚‹ Symbols used in data flow diagrams and ER diagrams

A data flow diagram (DFD) shows how data moves through the system: from external entities, through proโ€ cesses, into and out of data stores. An entityโ€“relationship (ER) diagram shows what data is stored and how the pieces of data are related. Both are explained fully in Unit 2, with the library example.

5. Words you will meet again and again

Word Simple meaning Software process The set of activities and steps used to build software Life-cycle model A particular arrangement of those activities (waterfall, spiralโ€ฆ) Requirement Something the system must do or a quality it must have SRS The document that lists all requirements Module A separate part of a program that does one job Metric A number that measures something (lines of code, defects) KLOC Thousand lines of code Person-month ๎‚PM๎‚‚ Work done by one person in one month Defect / bug An error in the software Baseline An approved version of a document or code, changed only through formal control CASE Computer-Aided Software Engineering: software tools that help build software

MEMORY TRICK The whole subject in one line

Plan it (Unit 1) โ†’ understand and design it (Unit 2) โ†’ build and test it (Unit 3) โ†’ make sure it is good and stays under control (Unit 4).

UNIT 1 ยท PART A

Key Definitions

Software Software is (1) instructions (computer programs) that when executed provide desired features, funcโ€ tion and performance; (2) data structures that enable the programs to manipulate information; and (3) documents that describe the operation and use of the programs (Pressman).

Software Engineering Software engineering is the application of a systematic, disciplined, quantifiable approach to the deโ€ velopment, operation and maintenance of software; that is, the application of engineering to software (IEEE).

Software Process A software process is a framework of activities, actions and tasks (communication, planning, modelโ€ ling, construction, deployment) required to build high-quality software.

Software Product A software product is the outcome of the software process: the programs, data and documentation deโ€ livered to the customer, such as an operating system or a library management application.

Software Crisis The software crisis was the situation, recognised in the late 1960 s, in which software projects were regularly late, over budget, unreliable, hard to maintain and did not meet user requirements, because development was unsystematic.

Software Life-cycle Model A software life-cycle model (process model) is a descriptive and diagrammatic representation of the software life cycle, showing the phases a software product passes through from inception to retireโ€ ment and the order in which they are carried out.

Prototype A prototype is a quickly built, partial working model of a system, with limited functions and perforโ€ mance, used to understand and confirm user requirements before the real system is built.

Software Project Management Software project management is the planning, organising, staffing, monitoring and controlling of a software project so that it is delivered on time, within budget and with the required quality.

Software Metric A software metric is a quantitative measure of some property of the software process, project or prodโ€ uct, e.g. lines of code, function points, defects per KLOC or effort in person-months.

Lines of Code ๎‚LOC๎‚‚

LOC is a size metric that counts the number of source code lines in a program, excluding comments and blank lines; it is usually expressed in KLOC (thousands of lines).

Function Point ๎‚FP๎‚‚

A function point is a size metric that measures software by the functionality it provides to the user, computed from the number of inputs, outputs, inquiries, internal files and external interfaces, adโ€ justed by 14 complexity factors.

COCOMO

COCOMO (Constructive Cost Model), proposed by Barry Boehm in 1981, is a heuristic estimation model that estimates the effort (person-months) and development time (months) of a project from its size in KLOC, for organic, semi-detached and embedded projects.

Staffing

Staffing is the project-management activity of determining how many people of which skills are needed over the project's duration, and of selecting, assigning and developing them.

Risk

A risk is an uncertain future event that, if it occurs, has a harmful effect on the project's cost, schedโ€ ule or quality. Risk exposure = probability of the risk ร— loss if it occurs.

Project Scheduling

Project scheduling is the activity of identifying the tasks of a project, their durations and dependenโ€ cies, assigning resources and fixing start and end dates, using tools such as work breakdown strucโ€ tures, activity networks (PERT/CPM) and Gantt charts.

Project Tracking

Project tracking is the continuous monitoring of actual progress, cost and effort against the schedule and plan, using milestones, meetings and reports, so that corrective action can be taken early.

Milestone

A milestone is a significant, verifiable event in a project, such as the approval of the SRS or the comโ€ pletion of integration testing, used to measure progress.

Software Engineering Software engineering is (1) the application of a systematic, disciplined, quantifiable approach to the deโ€ velopment, operation and maintenance of software, that is, the application of engineering to software; and (2) the study of approaches as in (1) (IEEE Standard 610.12).

Software engineering is a layered technology:

Tools Methods Process

Quality focus

Tools CASE tools that support the process and methods (automated support). Methods Technical how-to: analysis, design, coding, testing. Process Framework of activities that holds the layers together. Quality focus The foundation: commitment to quality ๎‚TQM, Six Sigma).

Fig. 1.1 ๎‚‹ Software engineering as a layered technology

3. Characteristics of software

  1. Software is developed or engineered; it is not manufactured in the classical sense. Costs are concentrated in engineering; producing extra copies costs almost nothing.
  2. Software does not "wear out", but it does deteriorate. Hardware follows a bathtub curve: high failure rate early (manufacturing defects), low during its useful life, rising again as it wears out. Software ideally follows a flattened curve, but in reality each change introduces new defects, causing spikes, and the failure rate slowly rises.

Time

Failure rate

O

HARDWARE๎‚’ bathtub curve

infant mortality

useful life

wear out

Time

Failure rate

O

SOFTWARE๎‚’ idealised and actual

change โ†’ spike actual (rising)

idealised

Fig. 1.2 ๎‚‹ Failure curves for hardware and software

  1. Most software is still custom-built, although component-based reuse (libraries, frameworks) is growing.
  2. Software is intangible and complex: it cannot be seen or touched, so progress is hard to measure.
  3. Software is flexible: it can be changed easily, which also makes it easy to change badly.

4. Characteristics (attributes) of good software

Attribute Meaning Library example Correctness / functionality Does what the requirements say Fine is calculated correctly

Attribute Meaning Library example Reliability Works without failure over time Does not crash during issue Efficiency Uses time and memory economically Search returns in 1 second Usability Easy to learn and use Clear screens for the librarian Maintainability Easy to correct and enhance Adding SMS alerts is easy Portability Runs on different platforms Works on Windows and Linux Integrity / security Protects data from unauthorised access Only the librarian edits records Reusability, interoperability Parts reusable; works with other systems Uses the college's student database

5. Software applications

System software OS, compilers, drivers (^) Application software billing, payroll

Engineering / scientific CAD, simulation

Embedded washing machine, car Product-line MS Office, Tally

Web / mobile apps Swiggy, IRCTC

AI software chatbots, recognition

Open-world / cloud SaaS, IoT

Software applications categories

Fig. 1.3 ๎‚‹ Categories of software applications

System software (operating systems, compilers); application software (business programs like billing); engiโ€ neering and scientific software (CAD, simulation); embedded software (in washing machines, cars); product- line software (MS Office, Tally); web and mobile applications (IRCTC, Swiggy); artificial-intelligence software (chatbots, image recognition); and open-world computing (cloud, IoT, network sourcing).

6. Evolving role of software

1950 s

Hardware-oriented, batch, custom software

1960 sโ€“70s Multi-user, real-time, databases; software crisis

1980 s

Distributed systems, PCs, CASE tools

1990 s

Object-oriented, Internet, clientโ€“server

2000 s

Web, mobile, agile methods

2010 s+

Cloud, AI, DevOps, apps everywhere

Fig. 1.4 ๎‚‹ Evolution of software

MARKS KE HISAAB SE KAISE LIKHEIN 15 marks: definitions 2 ยท layered technology 1 ยท characteristics with failure curves 4 ยท good-software atโ€ tributes table 3 ยท applications 1 ยท emergence 3 ยท conclusion 1. Define SE (Q1, 2.5 marks): IEEE definition + "systematic, disciplined, quantifiable" + one line on why needed. Process vs product (Q1, 2.5 marks): definitions + 3-row table. Underline: programs + data + documents , systematic, disciplined, quantifiable , developed, not manuโ€ factured , does not wear out but deteriorates , NATO 1968.

LONG ANSWER 1.2 ยท 15 MARKS Software crisis What is the software crisis? Why does it occur? Give reasons and explain how software engineering helps to solve it. (Dec 2025 Q2(b); Feb 2022 Q2(a)) PROBABILITY๎‚’ HIGH Explain 15 MARKS

WHAT THE EXAMINER WANTS Definition and history (late 1960 s, NATO 1968); symptoms with examples; causes (at least eight) with a diโ€ agram; famous failures; remedies through software engineering; current status ("chronic affliction"); a conclusion.

PEHLE SAMJHO ยท HINGLISH MEIN Software crisis = "software ka bura daur" 1960 s mein computers tez aur saste ho rahe the, par software peeche reh gaya: projects late, budget se 2โ€“3 guna kharcha, bugs bhare, aur kai to kabhi complete hi nahi hue. Kyun? Bina plan ke, bina design ke coding; requirements saaf nahi; bade-bade programs ko akele-akele "jugaad" se banana; testing kam; aur baad mein badlaav karna bahut mushkil. Ilaaj: software ko engineering ki tarah banana: process model, saaf requirements (SRS), design, estimaโ€ tion, testing, quality standards aur CASE tools.

E X A M M E I N Y E L I K H O ยท Software crisis

1. Definition and background

Software Crisis The software crisis is the term used, from the late 1960 s, for the widespread failure of software projects to be delivered on time, within budget and with acceptable quality, caused by the rapidly increasing size and complexity of software and the lack of systematic methods to develop it.

In the 1960 s, hardware became much more powerful and cheaper, and software was expected to do far more. Developers continued to use informal, individual programming styles, and projects began to fail on a large scale. The term "software crisis" was used at the NATO Software Engineering Conference of 1968 , which also launched the term "software engineering". Edsger Dijkstra referred to it in his 1972 Turing Award lecture.

2. Symptoms of the software crisis

Over budget: projects cost far more than estimated. Late delivery: schedules slip by months or years.

Low quality: software is unreliable, full of bugs, and fails in use. Does not meet requirements: the delivered product is not what the user needed. Hard to maintain: code is difficult to understand, correct or extend. Inefficient: poor use of computing resources. Never delivered: some projects are cancelled after large investment.

Examples: IBM's OS/360 (1960s) was years late and far over budget, which Fred Brooks described in The Mythical Man-Month ; the Therac-25 radiation machine (1985โ€“87) gave fatal overdoses because of software erโ€ rors; the Ariane 5 rocket (1996) exploded because of a software overflow error.

3. Causes (reasons) of the software crisis

Rising complexity

Poor requirements

No proper methods

Bad estimation and planning Changing requirements

Poor quality and testing

Hard to maintain

Hardware advanced faster

Software crisis late, over budget, unreliable

Fig. 1.5 ๎‚‹ Causes of the software crisis

  1. Rapid growth in size and complexity of software, while methods remained informal.
  2. Poor requirements: vague, incomplete or misunderstood user needs.
  3. Lack of systematic methods: no proper life-cycle model, design methods or documentation (exploratory "code and fix" style).
  4. Poor estimation and planning: unrealistic schedules and budgets; adding people to a late project makes it later (Brooks' law).
  5. Changing requirements during development without control.
  6. Inadequate testing and quality assurance.
  7. Poor maintenance practices: most cost goes into maintaining badly structured code.
  8. Skill shortage and poor communication between users, managers and developers.
  9. Hardware advances outpaced software: demand rose faster than the ability to build software.

4. How software engineering addresses the crisis

Problem Software engineering remedy Unsystematic development Life-cycle models: waterfall, prototyping, spiral ๎‚Q1.3, Q1.4๎‚‚ Unclear requirements Requirements engineering, SRS, prototyping ๎‚Unit 2 ๎‚‚ Poor estimates Metrics ๎‚LOC, FP๎‚‚, COCOMO, scheduling ๎‚Q1.6๎‚‰Q1.10๎‚‚ Complex, unmaintainable code Structured and modular design, cohesion and coupling ๎‚Unit 2 ๎‚‚ Many defects Systematic testing strategies and reviews ๎‚Unit 3, Q4.2๎‚‚