2026-08-04 14:06

Status:


ISE - Module 1 - The Software Development Lifecycle

==Overview of Software Engineering

  • What is software engineering?:
    • Software Engineering- the application of scientific principles to the design and creation of software

    • Uses a systematic approach to software development, to design, build, and test applications to satisfy said business requirements.

    • Initially, the creation of software lacked a formal creation process, however as software got more popular, there was a growing demand for software

    • This led to the software crisis which began in the mid 1960 s and lasted until the mid 1980s

    • The code ran over budget, was slow, buggy, and unmanageable

    • However, the application of software engineering principles to the software development process has fixed this issue to a good degree

    • There is standardized methods in software engineering and computer-aid software engineering (CASE) tools were developed

    • CASE - (Computer-aided software engineering)- helped to solve the above mentioned issues, there are generally 6 types

      1. Business Analysis
      2. Debugging Environments
      3. Validation Tools
      4. Configuration management
      5. Metrics & Measurement
      6. Project Management
    • Pasted image 20260804143844.png

    • The above image shows the different between software engineers and software developers

    • Software creation nowadays is guided by the Software Development Lifecycle SDLC which guides the software development process

    • It identifies discrete steps needed to develop software

  • Insiders’ Viewpoint: What is software engineering?:
    • What is Software Engineering- the process of using programming languages and engineering principles to build products, which can be apps, networking systems, and other such things

    • Software Engineering can be a broad term, including things like Front-End, Back-End, security, mobile, full-stack, machine learning, dev ops, and more

    • Software engineers might often times fix things like bugs, or work on systems, or design systems and such

    • Some consider it a “Creative Process” through designing, creating, developing, and then even maintain software through it’s whole entire life cycle

  • Introduction to SDLC:
    • Describe what the software development life cycle is

    • Explain the history of the software development life cycle

    • Discuss advantages of using the software development lifecycle

    • Software Development Life Cycle (SDLC)- the systematic process to develop high-quality software in a timely, and not too expensive manner

    • It aims to produce software that meets requirements

    • It defines phases with their own processes and deliverables

    • A cycle of planning, design, and development

    • Using the SDLC minimizes the risks of development and cost

    • It began to take shape in the mid-1960 s as the demand for software grew larger and larger

    • It led to a deliberate approach needed to manage complex projects and systems which require heavy computational resources

    • Initially required something called The Waterfall Method, but has become more iterative as demand would later require of it

    • Advantages of SDLC

      1. Improves efficiency and reduces risk, giving the team a guide to follow, rather than just an ad hoc approach
      2. Team members know what they should be working on and when, each phase is well defined so everyone knows what to do
      3. Due to these phases and structure, it facilitates communication amoung stake holders and developed
      4. It also allows for good team work between teams because each team knows whenever a piece of software would be ready to move on to the next phase
      5. Equally, the process, while structured, gives way to things like changes and early problem solving which allow for adaption based on consumer need
  • Phases of SDLC:
    • There are generally Six Phases of the SDLC

      1. Planning
      2. Design
      3. Development
      4. Testing
      5. Deployment
      6. Maintenance
    • Each phase is discrete meaning that each task from a previous or future phase does NOT overlap with another phase

    • Originally, the phases were linear but it later on has been adapted to also include a more adaptable approach shifting requirements can be accommodated

    • Planning- the needed documents required are gathered, analyzed, documented, and prioritzed setting out a strict vision of what we want the software to look and feel like

    • Things that need to be considered are users, purpose of the software, data needed and outputted, legal compliance, risk identification, quality assurance, and how to allocate the resources for proper creation

    • Things like labor and material costs are weighed against time constraints.

    • The Project teams are identified and each one is given their role

    • If there is issues in the planning phase a prototype or small replica of the software or app may be made to clarify requirements

    • After this planning phase gathers all of it’s documents, it gathers them into a Software Requirements Specification (SRS) which stores all of the requirements the software might need

    • Design- requirements are gathered from the SRS to develop an architecture

    • Several team members work together to design the architecture, which may be things like systems or things like graphical portions and other such aspects of development

    • This is all then gathered into a Design Document, which is then to be used in the next phase

    • Development- this is when the actual code gets written and the developers start to set up the overall product

    • The above hand Design Document is used to assign coding jobs to individuals to get different aspects done

    • It can often times involve things like programming languages, IDEs, and different software stacks

    • Testing- some companies have dedicated testing teams, but the overall point of this is to make sure that the code is stable, secure, and meets the SRS requirements outlined before

    • This basically means that you test the code to see if it does what you want, does it correctly, and then also does it safely

    • Generally, testing can be manual, automatic, or a hybrid

    • If a bug is found, it is reported, tracked, fixed, and then retested

    • Deployment- this is the phase where the product is actually made to be available to users, and released inside of the production environment

    • It can happen in stages as well, think of things like betas or a User acceptance testing environment aka Early Access

    • Maintenance is basically as it sounds, you make sure that the software keeps on running, fix any sort of bugs that may be found while the software is out in the world, and update it for modern security patches to. Or even add updates and other features.

  • Building Quality Software:
    • Common Software Engineering Processes:

      1. Requirements gathering
      2. Design
      3. Coding for quality
      4. Testing
      5. Releases
      6. Documenting
    • The software requirements specification (SRS) encompasses the process of collecting and documenting the set of requirements that the software needs to adhere to

    • It might include things like a set of use cases that describe business needs and user flow

    • Software requirements may be classified into four different categories, functional, External & User Interface (UI), System Features, and Nonfunctional

    • Design in then the process of transforming those requirements into a structure that is implementable using code

    • It translates the requirements into a language that developers can use to write the code, into a software solution

    • It breaks down requirements into sets of related components each with their own behaviors, boundaries, and components, which define the system architecture

    • It might also include things like how business and applications might take to each other, and defines the things like the type of databases used for the software creation

    • Coding for quality refers to the characteristics of the code such as maintainability, readability, testability, and it’s security

    • Quality Code- code that must fulfill the intended requirements of the software without any defects

    • It should also be well documented, and made to be efficient

    • This may be things like comments in the code, documentation files, things like following basic coding standards and practices, and other such things

    • Testing is the process of verifying that the software matches established requirements and is free of bugs

    • It’s purpose is to identify errors, gaps, or missing requirements

    • Properly tested and functional software ensures reliability, security, performance, and efficiency

    • There is different types of testing:

      • Unit Testing- very small and often done by the dev themselves, it tests the smallest component of code that can be isolated
      • Integration Testing- once that smaller unit of code is then tested, it can be integrated into the larger system of development, which is where this testing occurs.
      • System Testing- after the large product is then deemed as completed, this kind of testing takes place, making sure that the entire system is functional
      • User Acceptance Testing (UAT) or Beta Testing basically as it sounds, you give the code to a small group of users to test it out
    • When a piece of software is created, it is then released out to the public, with different release types

    • There is generally a Alpha, Beta, and General Availability they go in order

    • The alpha version is the first release, may contain errors, and is given only to a small group of people, it is a preview of the functioning system

    • The beta version is given to stakeholders outside of the development circle, the general purpose of it is to give the software to other outside users user testing

    • The general availability release is then the full stable release of the software

    • Software Documentation is then provided to both technical and non technical users of the software

    • System Documentation would be docs on how the system works of the given design choices inside of the system, sometimes for things like maintenance or further development depending on how open source the software is

    • Then, documentation for the user might be something like how to use the software, or how to install and set it up so that way it works as intended

  • Requirements:
    • Steps to gathering requirements-

      1. Identifying stakeholders
      2. Establishing goals and objectives
      3. Eliciting requirements from the stakeholders
      4. Documenting the requirements
      5. Analyzing and confirming the requirements
      6. Prioritizing
    • the stakeholders are the people working for the company that requests the development of the software product

    • It might be things like decision-makers, end-users, system admins, engineering, marketing, sales, and more

    • It is good to have a representative from every group that the product effects

    • Goals should be well defined, and are broad, long-term achievable outcomes you want to get done

    • Objectives on the other hand are actionable, measurable, and move towards your given defined goal

    • They are the stepping stones in the process of completing that goal

    • Eliciting, Documenting, Confirming are completed iteratively

    • Eliciting can be accomplished through things like surveys, questionnaires, and interviews

    • As these requirements for the software and how it should work emerge, they should be documented and made to be easily understandable by the whole team

    • You the basically double check them all to confirm and make sure they are all consistent

    • You then need to label all of these requirements and prioritize them based on what most needs to be inside of the given software, and what features are the most essential to use, common labels include Must-Have, Highly-Desired, Nice to Have

    • There may be THREE documents resulting from this process

      1. Software Requirements Specification (SRS)
      2. User Requirement Specification (URS)
      3. System Requirements Specification (SysRS)
    • The software requirements specification (SRS), generally tends to capture the functionalities the software should hold

    • It also might generally define how well the software should be running via the use of benchmarks for performance

    • It may contain things like Purpose and Scope, Constrained, Assumptions, dependencies, and Requirements

    • The purpose is who has access to the SRS and how they should generally use it

    • The scope however describes the software benefits, goals, and it’s given objectives

    • The requirements can be:

      • Functional - functions of how the software should behave
      • External - the behavior of how the software should act in relation to outside entities such as users or other hardware / software
      • System Features: functions of the system that the software is built upon
      • Non-Functional - which are things like, performance, safety, security, and quality
    • User Requirements (URS)- describe business need and end-user expectations, these are written as user stories or expectations that answer: Who is the User? What is the function that needs to be performed? Why does the user want this functionality?

    • Oftentimes this document is combined into the SRS document though

    • System Requirement Specification (SysRS)- outlines the requirements of the entire system

    • It can be used in tandem with the SRS, but is generally seen as more broad in nature

    • It contains things like system capabilities, interfaces and user characterisitics, and policy/regulation requirements

    • Might also let you know about the hardware exceptions as well

==The Software Building Process and Associated Roles

  • Software Development Methodologies:
    • Common Development Methodologies-

    • A specific methodology is commonly used to assist the development team to clarify communication and facilitate information sharing among team members, determining also how and when this information is shared

    • There are three main approaches: waterfall, V-Shape, and Agile

    • Pasted image 20260804163940.png

    • Pasted image 20260804164650.png

    • Waterfall method- the original method implemented inside of the Software Development Life Cycle

    • It is a sequential method of software development, where the output of one phase directly then ties into the input of the next one

    • All planning such as architectural design and defining requirements is done upfront before any real work takes place

    • The customer usually does not see the product until it is in the testing phase

    • This can generally be slow, years between releases

    • Pasted image 20260804164251.png

    • Pasted image 20260804164719.png

    • V-Shape Model- The phases form the shape of a V basically

    • The Steps on the left hand side are called verification and on the right hand side, it is called validation

    • It is like the waterfall model in that it is sequential, meaning that each of the given inputs corresponds with the output

    • Generally the things on the same level would basically correspond to the thing on the same level, so for example, the system design would correspond to the system testing

    • Pasted image 20260804164458.png

    • Pasted image 20260804164800.png

    • Agile Model- this one basically focuses this entire process into a bunch of smaller cycles that continuously sort of work together into making the bigger cycle.

    • It is an iterative approach to development

    • Each phase is short and the teams work in cycles or sprints which are generally only 1-4 weeks long, and unit test happens very often

    • At the end of the look is a feedback portion, which basically further feeds into the next phase of the plan portion of the software development life cycle

    • Then, basically a mini MVP product is released after several cycles, and is sort of a mini taste of where the work has been going so far, letting further feedback work for the designed software

    • This one is the most popular and most used form of SDLC

  • Software Versions:
    • Software versions tell us a lot of programs and applications, users can determine the software version they are using by fucking just checking it I guess, okay IBM

    • Software numbers vary in both length, and meaning

    • Most version numbers however follow a similar format and follow a similar process

    • They indicate:

      • When the software was released
      • When it was updated
      • And if any minor changes or fixes were made to the software
    • Software versioning is how developers keep track of new software, updates, and patches

    • Version numbers be short or long, with 2, 3, or 4 sets

    • Each number set is generally divided by a person, an application with a 1.0 version number indicates it is the first release

    • Some software developed might use dates for their versioning, such as Ubuntu Linux Version 18.04. 2 which released in April of 2018, with the third number set being the actual change

    • Semantic Numbering:

      • Semantic numbering is the system to version keeping by having 4 parts separated by a period
      • The first number indicates something major, such as a new version to the software
      • The second number means that more minor changes were made to the software, just a small update or redesign
      • The third number indicates patches or minor bug fixes for that given smaller update
      • The fourth number usually indicates a build number, build date, and less significant changes
    • You can check the version of your software by having a brain and finding it in the software itself, the install site, the about section of the software, and such

  • Software Testing:
    • Software Testing the process of integrating quality checks throughout SDLC

    • The purpose of testing is to make sure that the software meets the given outlined requirements, and is error free

    • To test the software, the development team would write test cases which are used to verify functionality and requirements

    • They can be written in different stages of the SDLC, and may vary in method based on the thing that you are trying to test

    • A test case contains steps, inputs, data, and expected output

    • Lowkey just think of leetcode

    • Three Types of Testing:

      • Functional Testing
      • Non-Functional Testing
      • Regression Testing
    • Functional testing usually involves something called black box testing, which is a method of testing without looking at source code or internal structure

    • It is only concerned with inputs and outputs

    • This one is generally the most like how leetcode would be or how CMU was

    • It can be carried out manually, or via automated tools as well

    • The goal is to make sure the software is usable and accessible

    • It makes sure that edge cases are handled seamlessly

    • Non-Functional Testing- this basically checks for things like performance, security, scalability, and avaliablity

    • It makes sure that the application behaves well under stress, the instructions and user manuals clear are consistent with the given application’s behavior, the application behaves the same under a different OS or hardware requirement, and how secure the application might be

    • Regression Testing- also called maintenance testing confirms that a recent change to the application, such as a bug fix, does not adversely break the whole application or changes the entire way that it should function

    • It should occur whenever a new update is added or a bug fix occurs

    • You need to choose specific test cases to make sure this happens, which can be a difficult process

    • There are FOUR Testing Levels:

      • Unit
      • Integration
      • System
      • Acceptance/User
    • Unit testing as defined beforehand is testing a single module of code, generally at the function level, and is performed by the software developer during the build phase of the SDLC

    • This basically is saying make sure that the code runs, even if it doesn’t do what you want it to do, thats the kind of bug that it would be

    • Well, also make sure it does what you want it to do, at least on it’s own

    • Integration Testing- seeks to identify errors introduced when two or more modules are combined, making sure that they work well together and have not broken the given functionality of either or

    • It is another type of black-box testing

    • It exposes the smaller bugs that occur when those modules and units interact with each other

    • Might be things like your software not integrating well with the database, or the hardware, or another piece of software

    • System Testing- occurs after integration testing, and therefore is done on an entirely integrated system.

    • It is used to check the compliance of the system with the SRS that it would have

    • It becomes validating as the product that it was supposed to be, and is often times both functional and none-functional

    • it is done in a staging environment similar to the production environment

    • Acceptance Testing- it is formal testing with respect to user needs, requirements, and what they want. It generally sees to see if the software satisfies the things that your users would need.

  • Software Documentation:
    • Software Documentation is information about the software that describes what the product is and how to use it

    • It can be written, video, or graphical assets

    • It can be written for different people, like other developers, users, system admins, quality assurance / testers, and more

    • It can be divided into TWO categories, product documentation, and process documentation

    • Product documentation relates to the product functionality

    • Process Documentation Describes how to complete a task

    • Types of Product Documentation:

      • Requirements
      • Design
      • Technical
      • Quality Assurance
      • User
    • Requirements documentation is intended for the development team including developers, architects, and QA, it describes the expected features and functionality

    • Would include the SRS, URS, and SysRS

    • Design Documentation- is written by the architects and development team to explain how the software will be built to meet requirements

    • It consists of both conceptual and technical design documents

    • Technical documentation is things like comments which are written in the code to help developers read the code to understand how it works

    • Also could be papers documenting how the code works, or the developers ideas and thoughts during implementation

    • Quality Assurance Documentation- pertains to the testing team’s strategy progress, and metrics

    • This can be things like Test plans, test data, test scenarios, test cases, and more

    • User Documentation- intended for end-users and explain how to operate software or help install and troubleshoot the system, things like guides or FAQs

    • You must make sure that all of the given documentation you have is up to date, and reviewed every once in a while to ensure that it is accurate

  • Roles in Software Engineering Projects:
    • There are several different roles that are implemented in a given project and they might change based on things like company culture or type of SDLC method you got going on

    • The different kinds of project roles:

      • Project Manager / Scrum Master
      • Stakeholder
      • System / Software architect
      • UX designer
      • Developer
      • Tester / QA Engineer
      • Site reliability / Ops Engineer
      • Product Manager / Product Owner
      • Technical Writer / Information Developer
    • Traditionally called a Project Manage but a scrum master in agile method SDLC

    • They make sure that the project runs smoothly and make sure that the communication on the project goes well

    • They deal with things like planning, budgeting, scheduling, allocating personnel and resources, and executing the software plan

    • Stakeholder- the person for whom the actual product is being designed. They are the people who are interested or affected by the product

    • People like customers, end-users, and decision-makers

    • They define what they want from the team, and also give feedback on any software they might review or test

    • System / Software Architect Designs and describes the architecture of the project and communicates that to the rest of the team members

    • They design the inner characteristics of the inner structure and decide things like what database to use, what hardware, what IDE maybe, what stack, and other such things

    • UX Developer- UX basically means user experience, this would be the person who makes sure that the UI is easy to use, intuitive, and yet also still robust and appealing to the average person

    • Developer- this is the person that writes the code that actually powers the software

    • They would be the ones that implement the architecture in design docs, and also be the ones to implement the features outlined inside of the SRS requirements too, and the UX requirements too, so the UX dev only makes shit never codes it smh

    • Tester / QA Engineer pretty self explanatory, they make sure that the software meets requirements and works well without things like bugs and what not

    • They would be the ones to write test cases and provide feedback to development

    • Site Reliability engineer- bridges software development and operations, they track incidents and set up meetings to communicate about them

    • They also automate systems, procedures, and processes

    • They do things like troubleshooting and what not as well, ensuring reliability for the customer

    • Product Manager / Product Owner the vision of what the product should look like, they have an understanding of the requirements and end-user needs

    • They lead development efforts to create the software

    • Technical Writer / Information Developer- writes documentation for the end user

==Summary & Highlights

### 1) Software engineering fundamentals

- **Software engineering** applies scientific principles to the design and creation of software.
    
- Software engineers are responsible for **designing, building, and maintaining** software systems.
    

### 2) Why the SDLC matters

Using the **Software Development Life Cycle (SDLC)** can improve efficiency and reduce risk by:

- Clarifying **who should work on what, and when**
    
- Improving communication between **customers, stakeholders, and the development team**
    
- Helping stakeholders understand **where they fit in the process**
    
- Supporting handoffs so cross-domain teams can move work to the **next phase**
    

### 3) Common software engineering processes

- Requirements gathering
    
- Design
    
- Coding
    
- Testing
    
- Releasing
    
- Documenting
    

### 4) Requirements and key documents

**Requirements gathering includes:**

- Identifying stakeholders
    
- Establishing goals and objectives
    
- Eliciting requirements
    
- Documenting, analyzing, prioritizing, and confirming requirements
    

**Common documents:**

- **SRS:** Captures system functionalities and benchmarks/service levels for performance.
    
- **URS:** Subset of the SRS that details user specification requirements.
    
- **SysRS:** Contains the same information as an SRS and may also include capabilities, interfaces, user characteristics, policy/regulatory/personnel requirements, performance and security requirements, and acceptance criteria.
    

### 5) SDLC methodologies

- **Waterfall**, **V-shape**, and **Agile** are different approaches to implementing the SDLC.
    

### 6) Testing overview

- **Functional testing:** Verifies inputs and expected outputs.
    
- **Non-functional testing:** Verifies attributes such as performance, security, scalability, and availability.
    
- **Regression testing:** Confirms changes (e.g., bug fixes) do not break existing functionality.
    

### 7) Documentation types

- Requirements documentation
    
- Design documentation
    
- Technical documentation
    
- Quality assurance documentation
    
- User documentation
    

### 8) Roles in software engineering projects

- Project manager / Scrum master
    
- Stakeholder
    
- System/software architect
    
- UX designer
    
- Developer
    
- Tester / QA engineer
    
- Site reliability / Ops engineer
    
- Product manager / Product owner
    
- Technical writer / Information developer

References