MEG 202 · Basic Software Engineering
Our notes
2 min readSoftware engineering
Software engineering applies engineering discipline to building software: planning, design, quality control and maintenance, so that software is reliable, on time and within budget. Errors in software have caused real disasters (the Ariane 5 rocket failure in 1996 came from a number conversion overflow).
The software development life cycle (SDLC)
- Problem definition and feasibility study: is it technically, economically and operationally possible?
- Requirements analysis: what the system must do (functional) and how well (performance, security, usability).
- Design: overall structure, modules, data structures, interfaces, algorithms.
- Implementation (coding).
- Testing: unit (each module), integration (modules together), system, acceptance (by the user).
- Deployment (installation) and user training.
- Maintenance: fixing faults, adapting to new needs; often the most expensive phase.
Models: the waterfall model (phases in sequence), the iterative/incremental and spiral models, and agile methods (short cycles, frequent feedback).
Systems analysis
A system is a set of interacting parts working toward a goal (a store's inventory, a plant's maintenance records). Systems analysis studies an existing system to understand problems and define requirements for a new one; systems design specifies the new one.
Fact-finding methods: interviews, questionnaires, observation, reading documents.
Tools:
- Data flow diagrams (DFDs): show how data moves between processes, stores and external entities.
- Flowcharts and decision tables.
- Entity-relationship diagrams for databases.
- Data dictionary: defines every data item.
Changeover methods: direct (switch at once), parallel (run old and new together), phased, pilot (one department first).
Data processing
- Batch processing: data collected and processed together at intervals (payroll at month end).
- Online / real-time processing: each transaction processed at once (ATM withdrawals, process control in a plant).
- Data validation at input: range checks, type checks, check digits, presence checks.
Application packages
Ready-made software for common tasks:
| Package type | Examples | Engineering use |
|---|---|---|
| Word processing | Microsoft Word, LibreOffice Writer | reports, specifications |
| Spreadsheets | Excel, LibreOffice Calc | calculations, tables, charts |
| Databases | Access, MySQL | inventory, maintenance records |
| Presentation | PowerPoint | seminars, defences |
| CAD/CAE | AutoCAD, SolidWorks, ANSYS | design and analysis |
| Mathematical | MATLAB, Python with NumPy | numerical methods, data analysis |
| Project management | MS Project | scheduling |
Off-the-shelf packages are cheap and quick to deploy; custom (bespoke) software fits exact needs but costs more and takes longer.
Exams usually ask
- Describe the stages of the software development life cycle.
- Explain the role of a systems analyst and the tools used.
- Compare batch and real-time processing; give examples of application packages.
Common mistake
Thinking the job ends when the program runs. Testing, documentation and maintenance are part of software engineering and often take more effort than coding.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Introduction to Computer Science, 9.1 Software Engineering Fundamentals
(opens openstax.org in a new tab)
OpenStax, Introduction to Computer Science, 9.1 Software Engineering Fundamentals, CC BY-NC-SA 4.0 · licence
-
Introduction to Computer Science, 9.2 Software Engineering Process
(opens openstax.org in a new tab)
OpenStax, Introduction to Computer Science, 9.2 Software Engineering Process, CC BY-NC-SA 4.0 · licence
-
Systems development life cycle
(opens en.wikipedia.org in a new tab)
Wikipedia, Systems development life cycle, CC BY-SA 4.0 · licence
-
Systems analysis
(opens en.wikipedia.org in a new tab)
Wikipedia, Systems analysis, CC BY-SA 4.0 · licence
-
NOUN CIT 212: Systems Analysis and Design
NOUN course book (PDF, about 3.3 MB). The systems development life cycle.
(opens nou.edu.ng in a new tab)
-
OpenStax, Introduction to Computer Science (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Introduction to Computer Science (whole free textbook), CC BY-NC-SA 4.0 · licence
Watch
-
S3:E1 Software Development Systems Analysis Methods and Models
16 min · ≈ 72 MB · about ₦40
(opens youtube.com in a new tab)
-
Software Development of information System
24 min · ≈ 108 MB · about ₦61
(opens youtube.com in a new tab)
-
TYPES OF SOFTWARE || APPLICATION SOFTWARE || SYSTEM SOFTWARE || UTILITY SOFTWARE || COMPUTER BASICS
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
Introduction To Software Development LifeCycle | What Is Software Development? | Simplilearn
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
Systems Analysis Overview (Lecture 1)
1 h 2 min · ≈ 279 MB · about ₦157
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.