Software is the set of programs, data and documents that make a computer useful. Understanding what it is, how it has changed, and what supports its construction is the starting point of the subject.

The Evolving Role of Software

Software has two roles. It is a product that provides computing power, whether it runs on a mobile phone or on a remote server. It is also the vehicle that delivers a product, because it controls a computer, a network and the information they handle. Over the decades its role has moved from batch programs for scientists to personal computing, the internet, mobile apps and artificial intelligence. Software is now part of almost every business and an important cause of competitive advantage.

Characteristics and Changing Nature of Software

Software is developed or engineered and is not manufactured in the classic sense. It does not wear out as hardware does, but it deteriorates because changes introduce defects. Most software is custom built even though the trend is to assemble it from components. Its categories include system software, application software, engineering and scientific software, embedded software, product-line software, web applications and artificial intelligence software. Newer forms include open-source software, cloud applications, mobile apps and software that is always connected and ever changing.

Definition: Software engineering. The application of a systematic, disciplined and measurable approach to the development, operation and maintenance of software.

Layered Technology

Software engineering is a layered technology The foundation is the quality focus, a commitment to continuous improvement. Above it is the process layer, which holds the framework of activities that gives order to the work. The methods layer gives the technical how-to for tasks such as communication, analysis, design, coding and testing. The top layer of tools gives automated or semi-automated support for the process and the methods.

Table 1.1: Categories of software

Category Purpose Example
System software Serves other programs Operating system
Application software Solves a business need Payroll system
Embedded software Controls a device Washing machine program
Web and mobile apps Network-based services Online shopping app
AI software Learns from data Recommendation engine

Example 1.1: Identifying the layers

Problem: A team uses code reviews, a fixed set of development stages, a version control tool and a policy of fixing defects before adding features. Place each in a layer of software engineering.

Solution:

  1. Fixing defects first is a commitment to quality, so it belongs to the quality focus.
  2. The fixed stages form the process, and code reviews are a method.
  3. The version control tool is a tool.

Result: Quality focus, process, method and tool, in that order.

Common mistakes

  • Saying that software wears out. It deteriorates through changes, not through use.
  • Treating software engineering as the same as programming. Programming is only one activity.
  • Thinking that tools alone make a good process.

Key takeaways

  • Software is both a product and a vehicle for delivering a product.
  • Software deteriorates but does not wear out.
  • The layers are quality focus, process, methods and tools.
  • The quality focus is the foundation.

Practice questions

  1. Name the layers of software engineering.
  2. Does software wear out?
  3. What is software engineering?

Answers to the practice questions

  1. Quality focus, process, methods and tools.
  2. No, it deteriorates because changes introduce defects.
  3. A systematic, disciplined and measurable approach to developing, operating and maintaining software.

Sources

  • Official BCA syllabus Software Engineering, course code 26BCA403DS03, Unit I