1 Introduction

Software Engineering · Unit 1 · 2 hrs

Introduction

Exam-focused notes for Introduction (Software Engineering, CSC375): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

Introduction in short

Software engineering exists because writing a working program is easy, but producing dependable, maintainable software that an organisation can rely on for years is hard. This chapter sets out what software is, what marks out good software, why the discipline was created, and the professional and ethical context software engineers work within.

Introduction: notes

Software and its Types

Software is not just a program; it is the set of computer programs together with the associated configuration data and documentation that lets those programs be used, maintained and understood. Broadly, software is classified two ways.

By the role it plays on a computer, it is either system software, the low-level programs (operating systems, compilers, device drivers) that manage a computer's own resources and provide services to other programs, or application software, programs that use those services to solve a problem for an end user or organisation, such as payroll processing or a word processor.

By how it is produced and sold, software is either generic (off-the-shelf) software, developed to be sold on the open market to any customer who wants it (an office suite, an antivirus package), where the developing organisation itself controls the requirements, or custom (bespoke) software, developed for one particular customer to that customer's own specification (the control software for one factory's production line), where the customer controls the requirements. Off-the-shelf products are cheaper per customer because their cost is spread across many buyers, while bespoke products fit one organisation's needs exactly but cost that organisation the full development price.

Attributes of Good Software

Good software must satisfy the functional and non-functional expectations specified for it, but a small set of attributes recur as the marks of genuinely well-engineered software:

  • Maintainability: software must be written so that it can evolve to meet the customer's changing needs, since almost all long-lived software is changed repeatedly after its first release.
  • Dependability: the degree of confidence a user can have that a system will operate as expected and will not fail during normal use; it covers reliability, availability, safety and security together.
  • Portability: the ease with which software can be moved from the platform it was built on to a different hardware or operating system platform.
  • Efficiency: software should not make wasteful use of system resources such as memory, processor cycles or bandwidth; in practice this shows up as good responsiveness and reasonable processing time.
  • Usability: the software must be usable, by the class of user it is intended for, without unreasonable effort, which in turn needs an appropriate interface and adequate documentation.

What this unit covers

  • Software and its Types
  • Attributes of Good Software
  • Software Engineering and its Importance
  • Fundamental Software Engineering Activities
  • Difference between Software Engineering and Computer Science
  • Difference between Software Engineering and System Engineering
  • Challenges and Cost of Software Engineering
  • Professional Software Development
  • Software Engineering Diversity
  • Internet Software Engineering
  • Software Engineering Ethics

Difference between Software Engineering and System Engineering

2081 · 5 marks

Write short notes on: a. System engineering b. Release testing [5]

Show solved answer

Short Notes


a. System Engineering (2.5 marks)

System engineering is a broad, interdisciplinary approach concerned with the design, implementation, management, and maintenance of complex systems in which software is one component among many (including hardware, people, processes, and organizations).

Key points:

  • Scope: System engineering considers the system as a whole, not just the software. It includes hardware engineering, process design, and human factors alongside software development.
  • Relationship to Software Engineering: Software engineering is a subset of system engineering. While software engineering focuses on building and maintaining software, system engineering addresses how all components work together to meet overall system goals.
  • Activities involved:
    • System specification: Defining what the overall system must do.
    • System design: Deciding how responsibilities are distributed across hardware, software, and people.
    • System integration: Combining all components and verifying they work together.
    • System validation: Confirming the complete system meets user and business requirements.
  • Importance: As software is trusted with all aspects of our lives (trust challenge) and failures in safety-critical areas such as aviation and nuclear power can be catastrophic (risk challenge), system engineering ensures that all parts of a complex system are properly coordinated and verified.

b. Release Testing (2.5 marks)

Release testing refers to the coding practices and test strategies that give teams confidence that a software release candidate is ready for users.

Key points:

  • Definition: Release testing aims to find and eliminate errors and bugs from a software release so that it can be safely delivered to users (as per course notes).
  • Primary Goal: The primary goal of the release testing process is to convince the customer that the system is good enough for use.
  • Nature: It is typically a black-box testing process, meaning testers focus on the behavior of the system from the user's perspective rather than internal code structure.
  • Difference from System Testing:
    • System testing is carried out by the development team.
    • Release testing is usually performed by a separate testing team that was not involved in development, ensuring an unbiased evaluation.
  • Scope: Release testing covers functional requirements, performance, reliability, and usability to ensure the product meets its specification before deployment.
  • Relation to User Testing: Even after thorough release testing, user testing is still essential because influences from the user's real working environment (performance, usability, robustness) cannot be fully replicated in a testing environment.

Summary Table

AspectSystem EngineeringRelease Testing
FocusEntire system (hardware + software + people)Software release candidate
GoalIntegrated, working systemConvince customer system is ready
ScopeBroad, interdisciplinarySoftware quality and correctness
Open this answer on its own page →

2079 · 5 marks

Differentiate between software engineering and system engineering. [5]

Software Engineering is the discipline concerned with the application of systematic, disciplined, and quantifiable approaches to the development, operation, and maintenance of software. It focuses exclusively on software products, processes, and quality. System Engineering is a broader, interdisc...

Open this answer on its own page →

Software Engineering Ethics

2080 · 5 marks

Explain software engineering ethics with example. [5]

Software engineering ethics refers to the set of moral principles, values, and professional standards that guide software engineers in their work. Since software engineers develop systems that are trusted with all aspects of our lives, they carry significant professional and moral responsibilitie...

Open this answer on its own page →

Attributes of Good Software

2077 · 5 marks

What are the good characteristics of software? Explain. [5]

The attributes (characteristics) of good software are the essential qualities that a software product must possess to be considered professionally developed and fit for purpose. According to the notes, these characteristics ensure that software meets user needs, operates reliably, and can be main...

Open this answer on its own page →