Docsity

Introduction to Software Engineering, Summaries of Software Engineering

Toggle sidebar
bg1
Introduction to SE
1. Software Engineering
Definition: Software engineering is the systematic, disciplined, and quantifiable approach to the design,
development, operation, and maintenance of software.
Why Software Engineering Matters
Software projects can face several common problems:
Unclear or changing requirements.
Underestimation of effort, cost, and schedule.
Poor communication with stakeholders.
Inadequate testing and quality problems.
Inadequate documentation.
Lack of configuration control, such as poor version management.
2. Why Software Engineering Matters in the Era of AI
Artificial intelligence can generate code quickly, but software engineering is still needed to make sure
software is correct, secure, maintainable, efficient, and aligned with real user requirements.
AI-generated code can contain bugs, security vulnerabilities, incorrect assumptions, or unnecessary
complexity, so it must be reviewed and tested.
Software engineering provides structured requirements, system design, testing, version control,
documentation, and quality assurance around AI-assisted development.
AI can speed up implementation, but engineers still need to decide what should be built, why it should
be built, and how the system should behave.
Human judgment remains important for requirements, architecture, trade-offs, ethical decisions, and
handling unexpected real-world situations.
Strong software engineering practices help teams use AI productively without losing reliability, security,
or maintainability.
3. Essential Attributes of Good Software
Maintainability: Software should be easy to maintain and modify. Code should be readable by other
programmers. Good comments, clear design, and UML can improve maintainability.
Dependability and Security: Software should be reliable, protected, and safe. It should consider the CIA
triad: Confidentiality, Integrity, and Availability. Software failures can sometimes cause damage beyond the
software itself.
Efficiency: Software should use system resources efficiently and avoid unnecessary memory use or
processor cycles. Important concerns include responsiveness and processing time.
Acceptability: Software should be compatible with its intended environment, easy to use, and able to fulfill
the user's requirements.
Software Engineering – Study Notes
pf3
pf4
pf5

Partial preview of the text

Download Introduction to Software Engineering and more Summaries Software Engineering in PDF only on Docsity!

Introduction to SE

1. Software Engineering

Definition: Software engineering is the systematic, disciplined, and quantifiable approach to the design, development, operation, and maintenance of software.

Why Software Engineering Matters

Software projects can face several common problems:  Unclear or changing requirements.  Underestimation of effort, cost, and schedule.  Poor communication with stakeholders.  Inadequate testing and quality problems.  Inadequate documentation.  Lack of configuration control, such as poor version management.

2. Why Software Engineering Matters in the Era of AI

Artificial intelligence can generate code quickly, but software engineering is still needed to make sure software is correct, secure, maintainable, efficient, and aligned with real user requirements.  AI-generated code can contain bugs, security vulnerabilities, incorrect assumptions, or unnecessary complexity, so it must be reviewed and tested.  Software engineering provides structured requirements, system design, testing, version control, documentation, and quality assurance around AI-assisted development.  AI can speed up implementation, but engineers still need to decide what should be built, why it should be built, and how the system should behave.  Human judgment remains important for requirements, architecture, trade-offs, ethical decisions, and handling unexpected real-world situations.  Strong software engineering practices help teams use AI productively without losing reliability, security, or maintainability.

3. Essential Attributes of Good Software

Maintainability: Software should be easy to maintain and modify. Code should be readable by other programmers. Good comments, clear design, and UML can improve maintainability. Dependability and Security: Software should be reliable, protected, and safe. It should consider the CIA triad: Confidentiality, Integrity, and Availability. Software failures can sometimes cause damage beyond the software itself. Efficiency: Software should use system resources efficiently and avoid unnecessary memory use or processor cycles. Important concerns include responsiveness and processing time. Acceptability: Software should be compatible with its intended environment, easy to use, and able to fulfill the user's requirements.

4. Software Quality: Usefulness and Usability Usefulness (Utility): Does the software do what the user actually needs it to do? It deals with functionality and purpose. Usability: How easy, efficient, and pleasant is it for the user to interact with the software? It deals with the user interface (UI) and user experience (UX). 5. Fundamental Software Engineering Activities

1. Specification

Main question: What should the system do?  Common supporting techniques mentioned in the notes: user stories, SRS (Software Requirements Specification), and prototypes.

2. Development

Main focus: Design and implement the system.  Typical outputs/activities include design models, source code, and the build process.

3. Validation

Main question: Does the software meet the user's needs?  Test planning, test cases, and test reports are important parts of validation.

4. Evolution

Main focus: Change the software after or during delivery as needs change.  Examples include change requests, releases, and patches.

6. Framework Activities A common software process flow in the notes is: Communication → Planning → Modelling → Construction → Deployment

Communication

 Understand stakeholder needs, requirements, expectations, and constraints.

Planning

 Decide what work needs to be done, when it will be done, and what resources are required.

Modelling

 Represent requirements and system design using suitable models before implementation.

Construction

 Implement the software and test the implementation.

Deployment

 Deliver the software to users and gather feedback for future changes.

11. Ethical Responsibilities in Software Engineering Confidentiality: Respect private information and intellectual property (IP). Competence: Do not misrepresent or lie about your skills and abilities. Integrity: Be honest about limitations, risks, problems, and progress. Respect for Users: Avoid harm and design systems with safety and fairness in mind. Quality: Follow relevant standards and testing practices, and document important causes and results. 12. Handling a Bug Found Just Before Release Question: What should a team do if it detects a bug only one day before release? Key idea: The decision depends mainly on the severity and priority of the problem, along with the release risk.  If the bug is very serious or severe, fixing the bug before release may be necessary.  If the issue is small or minor, the team may release and provide a later update/patch, depending on the impact and release policy.  The team should assess the impact on users, security, reliability, and the release schedule before deciding. 13. Supporting Concepts

CIA Triad

Confidentiality: Only authorized people or systems should have access to information. Integrity: Information should remain accurate and protected from unauthorized modification. Availability: Authorized users should be able to access the system and information when needed.

Technical Debt

 Technical debt is the future maintenance cost created when a team chooses a quick or imperfect technical solution instead of a more sustainable one.  Technical debt is not automatically bad, but unmanaged technical debt can make future changes slower and more expensive.

Verification and Validation

Verification: Checks whether the software is being built correctly according to specified requirements and design. Validation: Checks whether the final software satisfies user needs and intended use.

Configuration Management

 Keeps track of versions and controlled changes to software and related artifacts.  Version control helps teams know what changed, who changed it, and which version is being used.

Key Terms for Quick Revision

 Software Engineering → systematic, disciplined, quantifiable approach  Maintainability → easy to modify and maintain  Dependability & Security → reliable, protected, safe  Efficiency → effective use of resources

 Acceptability → compatible, usable, meets requirements  Utility → usefulness/functionality  Usability → ease and quality of interaction  Specification → what the system should do  Development → design and implementation  Validation → meets user needs  Evolution → changes, releases, patches  Umbrella Activities → QA, reviews, configuration, risk, metrics, documentation  Trade-offs → balancing competing software qualities