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.
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 answerHide 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-category | Function |
|---|---|
| Operating System (OS) | Manages hardware resources, provides user interface, handles file management (e.g., Windows, Linux, macOS) |
| Device Drivers | Allow the OS to communicate with hardware devices like printers, keyboards, and graphics cards |
| Utility Programs | Perform maintenance tasks such as disk cleanup, antivirus scanning, file compression (e.g., WinRAR, CCleaner) |
| Language Translators | Convert 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-category | Function |
|---|---|
| General Purpose Software | Used for a wide range of tasks; e.g., MS Word (word processing), MS Excel (spreadsheet), MS PowerPoint (presentations) |
| Specific Purpose Software | Designed for a particular task; e.g., payroll software, inventory management, billing systems |
| Web-Based Software | Runs through a web browser; e.g., Gmail, Google Docs, online banking portals |
| Mobile Applications | Designed 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.
2077 ยท 5 marks
What is Software? What are the two main categories of software? Explain each in brief. [2+3]
Utility software and purposes
Operating system definition and functions
2078 ยท 10 marks
What is operating system? Explain Function of Operating system in detail.[10]
Show solved answerHide 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
| Function | Description |
|---|---|
| Process Management | CPU scheduling, process creation/deletion |
| Memory Management | RAM allocation, virtual memory |
| File Management | File creation, access control |
| Device Management | I/O device control via drivers |
| Security | Authentication, protection |
| User Interface | CLI and GUI |
| Secondary Storage | Disk scheduling, free space management |
| Networking | Network communication, IPC |
| Error Detection | Monitor and handle system errors |
| Job Accounting | Track 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.
0 ยท 10 marks
What is operating system?What are different types of Computer Software? Explain in brief[2+8]
Types of operating systems
2081.2 ยท 10 marks
Explain the different types of operating system.[10]
Programming languages and translators
2081.2 ยท 5 marks
Explain different types of programming languages. [5]
Make Unit 4 stick
Practice BIT101 with flashcards & quizzes