4 Software And Operating Systems

Introduction to Information Technology ยท Unit 4

Software and Operating Systems

Exam-focused notes for Software and Operating Systems (Introduction to Information Technology, BIT101): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.

Software and Operating Systems in short

Hardware cannot work alone. This unit explains software, the operating system that manages the computer, and the languages used to write programs.

Software and Operating Systems: notes

Definition and categories of software

Software is a set of programs and related data that tells the hardware what to do. A program is a list of instructions written to solve a task. Software cannot be touched, unlike hardware.

Software has two main categories:

  • System software: controls and runs the computer itself.
  • Application software: helps the user do a specific job.

Software can also be grouped by how it is shared: proprietary (paid, source code closed), open source (code is open to read and change), freeware (free to use), and shareware (free trial, then pay).

System software and application software

System software manages hardware and gives a base on which other programs run. Examples are the operating system, device drivers, language translators, and utility programs.

Application software is made for end users to do tasks.

  • General purpose: word processors, spreadsheets, web browsers, presentation tools.
  • Specific purpose: payroll, hotel booking, hospital management, banking systems.
  • Custom (tailored) software: built for one organization's needs.
System softwareApplication software
Runs and manages the computerDoes user tasks
Written in low level or high level languagesMostly written in high level languages
Starts when the computer startsStarts when the user opens it
Computer cannot work without itComputer works without it
Example: Windows, LinuxExample: MS Word, Chrome

What this unit covers

  • Definition and categories of software
  • System software and application software
  • Operating system definition and functions
  • Types of operating systems
  • Utility software and purposes
  • Programming languages and translators
  • Language translator types

Definition and categories of software

2081 ยท 10 marks

What is Software? What are different categories of Software and explain their functions?[10]

Show solved answer

Software: Definition, Categories, and Functions

What is Software?

Software is a collection of programs, data, and instructions that tell a computer how to perform specific tasks. It is the non-physical (intangible) component of a computer system that enables hardware to function and perform useful operations.

Software acts as an interface between the user and the hardware, making the computer usable and productive.


Categories of Software

Software is broadly classified into the following major categories:


1. System Software

System software is a collection of programs designed to operate, control, and extend the processing capabilities of the computer itself. It acts as a platform for running application software.

Sub-categories and Functions:

Sub-categoryFunction
Operating System (OS)Manages hardware resources, provides user interface, handles file management (e.g., Windows, Linux, macOS)
Device DriversAllow the OS to communicate with hardware devices like printers, keyboards, and graphics cards
Utility ProgramsPerform maintenance tasks such as disk cleanup, antivirus scanning, file compression (e.g., WinRAR, CCleaner)
Language TranslatorsConvert high-level or assembly language into machine code (Compilers, Interpreters, Assemblers)

2. Application Software

Application software is designed to help users perform specific tasks directly. It runs on top of system software.

Sub-categories and Functions:

Sub-categoryFunction
General Purpose SoftwareUsed for a wide range of tasks; e.g., MS Word (word processing), MS Excel (spreadsheet), MS PowerPoint (presentations)
Specific Purpose SoftwareDesigned for a particular task; e.g., payroll software, inventory management, billing systems
Web-Based SoftwareRuns through a web browser; e.g., Gmail, Google Docs, online banking portals
Mobile ApplicationsDesigned for mobile devices; e.g., WhatsApp, Instagram, mobile banking apps

3. Programming Software (Development Tools)

Programming software provides tools that help developers write, test, and debug other programs.

Functions:

  • Text Editors / IDEs: Provide an environment to write source code (e.g., VS Code, Eclipse, NetBeans)
  • Compilers and Interpreters: Translate source code into executable machine code
  • Debuggers: Help identify and fix errors (bugs) in programs
  • Version Control Systems: Manage changes to source code over time (e.g., Git)

4. Embedded Software

Embedded software is programmed into hardware devices and controls specific functions of those devices.

Functions:

  • Controls the operation of devices like washing machines, microwave ovens, digital cameras, and automobiles
  • Runs on microcontrollers or microprocessors embedded within the device
  • Usually stored in ROM (Read-Only Memory) and is not easily modified by the user

5. Middleware

Middleware is software that acts as a bridge between different software applications or between the operating system and applications, especially in networked or distributed environments.

Functions:

  • Facilitates communication and data management between applications
  • Used in web servers, application servers, and database communication
  • Examples: Apache Tomcat, IBM WebSphere, message queuing services

Summary Diagram

SOFTWARE
โ”œโ”€โ”€ System Software
โ”‚   โ”œโ”€โ”€ Operating System
โ”‚   โ”œโ”€โ”€ Device Drivers
โ”‚   โ”œโ”€โ”€ Utilities
โ”‚   โ””โ”€โ”€ Language Translators
โ”œโ”€โ”€ Application Software
โ”‚   โ”œโ”€โ”€ General Purpose
โ”‚   โ”œโ”€โ”€ Specific Purpose
โ”‚   โ””โ”€โ”€ Web/Mobile Apps
โ”œโ”€โ”€ Programming Software
โ”‚   โ”œโ”€โ”€ IDEs / Editors
โ”‚   โ”œโ”€โ”€ Compilers / Debuggers
โ”‚   โ””โ”€โ”€ Version Control
โ”œโ”€โ”€ Embedded Software
โ””โ”€โ”€ Middleware

Conclusion

Software is the soul of a computer system. Without software, hardware is merely a collection of electronic components with no purpose. The different categories of software work together to make computers powerful, flexible, and useful for a wide range of personal, professional, and industrial applications.

Open this answer on its own page โ†’

2077 ยท 5 marks

What is Software? What are the two main categories of software? Explain each in brief. [2+3]

Software is a set of programs, instructions, and associated documentation that tells a computer what to do and how to do it. It acts as an interface between the user and the hardware, enabling the computer system to perform specific tasks. --- Software is broadly classified into two main categori...

Open this answer on its own page โ†’

Utility software and purposes

2081 ยท 5 marks

Explain the purpose of utility software. [5]

Utility software (also called utility programs or utilities) refers to a category of system software designed to help manage, maintain, configure, and optimize a computer system. These programs support the infrastructure of the operating system and application software rather than performing end-...

Open this answer on its own page โ†’

Operating system definition and functions

2078 ยท 10 marks

What is operating system? Explain Function of Operating system in detail.[10]

Show solved answer

What is an Operating System? Functions of Operating System


Definition of Operating System

An Operating System (OS) is a system software that acts as an intermediary between the user and the computer hardware. It manages all the hardware and software resources of a computer system and provides a convenient environment for the user to execute programs.

"An operating system is a program that controls the execution of application programs and acts as an interface between the user and the computer hardware."

Examples: Windows, Linux, Unix, macOS, Android


Diagram: Position of OS

+---------------------------+
|        User / Apps        |
+---------------------------+
|     Operating System      |  <-- Interface
+---------------------------+
|    Computer Hardware      |
+---------------------------+

Functions of Operating System (Detailed)

1. Process Management

  • A process is a program in execution.
  • The OS is responsible for:
    • Creating and deleting processes
    • Scheduling processes (deciding which process gets the CPU and for how long)
    • Synchronization and communication between processes
    • Handling deadlocks (a situation where processes wait for each other indefinitely)
  • Common scheduling algorithms: FCFS, Round Robin, Priority Scheduling

2. Memory Management

  • The OS manages the primary memory (RAM).
  • Responsibilities include:
    • Keeping track of which parts of memory are in use and by whom
    • Allocating memory to processes when needed
    • Deallocating memory when a process finishes
    • Implementing virtual memory so that processes can use more memory than physically available
  • Techniques used: Paging, Segmentation, Swapping

3. File System Management

  • The OS provides a way to store, retrieve, and organize files on storage devices.
  • Responsibilities include:
    • Creating, deleting, reading, and writing files and directories
    • Controlling access permissions (who can read/write/execute a file)
    • Mapping files onto secondary storage (hard disk, SSD)
    • Maintaining directory structures (hierarchical file system)

4. Device Management (I/O Management)

  • The OS manages all input/output devices such as keyboard, mouse, printer, disk, etc.
  • Responsibilities include:
    • Using device drivers to communicate with hardware devices
    • Buffering, caching, and spooling of I/O operations
    • Providing a uniform interface to different types of devices
    • Handling interrupts from devices

5. Security and Protection

  • The OS ensures that unauthorized users cannot access the system.
  • Responsibilities include:
    • Authentication: Verifying user identity (login/password)
    • Authorization: Controlling access rights to resources
    • Protection of processes from each other (memory protection)
    • Preventing malicious programs from damaging the system

6. User Interface (UI)

  • The OS provides an interface for users to interact with the computer.
  • Two main types:
    • Command Line Interface (CLI): User types commands (e.g., Linux terminal)
    • Graphical User Interface (GUI): User interacts using icons and windows (e.g., Windows, macOS)

7. Secondary Storage Management

  • The OS manages secondary storage (hard disk, SSD, USB drives).
  • Responsibilities include:
    • Free space management: Tracking unused disk space
    • Storage allocation: Assigning disk space to files
    • Disk scheduling: Deciding the order in which disk I/O requests are served (e.g., SSTF, SCAN algorithms)

8. Networking (Communication Management)

  • Modern OS supports network communication.
  • Responsibilities include:
    • Managing network connections and protocols (TCP/IP)
    • Providing inter-process communication (IPC) over a network
    • Supporting distributed systems where multiple computers work together

9. Error Detection and Handling

  • The OS continuously monitors the system for errors.
  • It handles errors in:
    • CPU (arithmetic errors, illegal instructions)
    • Memory (bad memory access)
    • I/O devices (device failure)
  • The OS takes appropriate action such as terminating the faulty process or displaying an error message.

10. Job Accounting

  • The OS keeps track of time and resources used by each user or process.
  • This information is used for:
    • Billing in commercial systems
    • Performance monitoring and optimization
    • Generating usage statistics

Summary Table

FunctionDescription
Process ManagementCPU scheduling, process creation/deletion
Memory ManagementRAM allocation, virtual memory
File ManagementFile creation, access control
Device ManagementI/O device control via drivers
SecurityAuthentication, protection
User InterfaceCLI and GUI
Secondary StorageDisk scheduling, free space management
NetworkingNetwork communication, IPC
Error DetectionMonitor and handle system errors
Job AccountingTrack resource usage

Conclusion

An operating system is the backbone of a computer system. It acts as a resource manager by efficiently managing CPU, memory, storage, and I/O devices. Without an OS, it would be nearly impossible for users to interact with and use computer hardware effectively.

Open this answer on its own page โ†’

0 ยท 10 marks

What is operating system?What are different types of Computer Software? Explain in brief[2+8]

--- (a) What is an Operating System? An Operating System (OS) is a system software that acts as an interface between the user and the computer hardware. It manages all the hardware and software resources of a computer system and provides a platform for running application programs. Examples: Wind...

Open this answer on its own page โ†’

Types of operating systems

2081.2 ยท 10 marks

Explain the different types of operating system.[10]

An Operating System (OS) is system software that manages computer hardware and software resources and provides common services for computer programs. Based on processing capabilities, user interaction, and system architecture, operating systems are classified into the following types: --- - Simil...

Open this answer on its own page โ†’

Programming languages and translators

2081.2 ยท 5 marks

Explain different types of programming languages. [5]

--- Programming languages are classified based on their level of abstraction from hardware and their mode of execution. --- - The lowest-level programming language consisting of binary codes (0s and 1s). - Directly understood and executed by the computer's CPU without any translation. - Machine d...

Open this answer on its own page โ†’