
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































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
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
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.
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
2
3 ๎ 5 points each 1 ๎ 2
NOTE Golden rules for software-engineering answers
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.
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
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:
CHAPTER 0 ยท PART B
The Case Study and the Symbols
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.
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.
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 (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
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
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
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).
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
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.
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.
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
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๎