Introduction to Information Technology · Unit 6 · 6 hrs
Computer Software
Exam-focused notes for Computer Software (Introduction to Information Technology, CSC114): what the TU syllabus asks and how it has actually been tested, with 9 solved past questions from this unit.
Computer Software in short
This chapter turns from hardware to software: the instructions that tell hardware what to do. It covers how software is classified, how system and application software differ, how software reaches users, and, at length, the operating system that manages the whole machine.
What this unit covers
- Introduction
- Types of Software
- System Software
- Application Software
- Software Acquisition
- Operating System (Introduction, Objectives of Operating System, Types of OS, Functions of OS, Process Management, Memory Management, File Management, Device Management, Protection and Security, User Interface, Examples of Operating Systems)
Application Software
2081 · 10 marks
Explain application software with examples. Why do we need system software in computers? What are different types of operating systems?[10]
Types of Software
2080 · 10 marks
Compare system software with application software. Explain different types of system software in brief.[10]
2078 · 5 marks
What is software? How is it differs from hardware? Why is software needed? [5]
Operating System
2079 · 10 marks
Why software is needed in computer system? Mention the role of system software. Discuss the functionalities of operating system.[10]
2078 · 5 marks
Describe the functionalities of operating system. [5]
2075 · 10 marks
Why software system is needed in computers? Discuss various type of operating system.[10]
Show solved answerHide answer
Why Software System is Needed in Computers? Types of Operating Systems
Part 1: Why Software System is Needed in Computers
A computer is made up of both hardware and software. Hardware alone cannot perform any useful task without software to direct and control it. This is why software systems are essential for computers.
Definition of System Software
As per the notes:
"System software provides basic functionality to the computer. System software is required for the working of computer itself. It controls computer hardware and it acts as an interface between user, application software and computer hardware."
Reasons Why Software System is Needed
| Reason | Explanation |
|---|---|
| Interface between user and hardware | Software acts as a bridge so users can interact with hardware without knowing its technical details |
| Hardware Control | It controls and coordinates all hardware components like CPU, memory, I/O devices |
| Resource Management | It manages CPU time, memory space, and I/O devices efficiently |
| Program Execution | It controls the execution of different programs and prevents errors |
| Application Support | It provides support for various services as requested by application software |
| User Convenience | It provides a convenient interface (commands or GUI) to the user |
Categories of System Software
System software is mainly divided into two types based on functionality:
- For system management and functionality - Includes Operating System, Device Drivers, and System Utilities
- For developing software - Supports the development of application software
Without system software, the computer hardware would be useless. For example, during the Fourth Generation of computers, the development of operating systems like MS-DOS and MS-Windows made computers widely accessible to home and commercial users.
Part 2: Types of Operating System
Definition of Operating System
"It is the most important part of the computer. It intermediates between the user of a computer and the computer hardware. It controls and coordinates the use of hardware among the different application software and the users."
Functions of OS
- Creates an environment between user and application software to work
- Manages different resources like CPU time, memory space, and I/O devices
- Controls execution of different programs to prevent occurrence of errors
- Provides a convenient interface to the user in the form of commands and graphical interface
- Translates user commands into machine-understandable form
- Hides the working of hardware from the user
Types of Operating System
Operating systems are classified into different types depending on their capability of processing:
a) Single User and Single Task OS
- Used for performing a single task for a single user at a time
- These are simple operating systems designed to manage one task at a time
- Operating Systems for Personal Computers (PC) are single-user OS
- Example: MS-DOS
b) Single User and Multitasking OS
- Allows execution of more than one task or process simultaneously for a single user
- The user can run multiple applications at the same time (e.g., browsing while listening to music)
- Example: Windows 7, Windows XP, Windows 10
c) Multi-user OS
- Allows multiple users to access the computer system simultaneously
- Each user gets a share of the system resources
- Commonly used in servers and mainframe computers
- Example: UNIX, Linux
d) Real-Time OS (RTOS)
- Designed to process data and respond within a guaranteed time frame
- Used in time-critical applications where delay is not acceptable
- Example: Used in missile guidance systems, medical equipment, industrial robots
e) Distributed OS
- Manages a group of independent computers and makes them appear as a single system to the user
- Resources are distributed across multiple machines connected via a network
- Example: LOCUS, Amoeba
f) Network OS
- Provides networking features and allows computers to communicate over a network
- Manages network resources like shared files, printers, and security
- Example: Windows Server, Novell NetWare
Summary Table
| Type of OS | Users | Tasks | Example |
|---|---|---|---|
| Single User, Single Task | 1 | 1 | MS-DOS |
| Single User, Multitasking | 1 | Many | Windows XP |
| Multi-user | Many | Many | UNIX, Linux |
| Real-Time OS | Varies | Time-critical | RTOS |
| Distributed OS | Many | Many (across machines) | LOCUS |
| Network OS | Many | Network-based | Windows Server |
Conclusion
Software systems, especially the Operating System, are absolutely essential for computers to function. Without them, hardware components would have no direction or coordination. The OS acts as the backbone of the entire computing environment, managing resources, providing user interfaces, and enabling application software to run effectively. Different types of OS are designed to meet different needs, from simple single-user systems to complex distributed environments.
2074 · 10 marks
What is the objective of using operating system? How operating system performs process, memory and file management activities?[10]
Show solved answerHide answer
Operating System: Objectives and Management Activities
Definition of Operating System
An Operating System (OS) is 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.
Objectives of Using an Operating System
The main objectives of using an operating system are:
-
Resource Management: The OS manages hardware resources such as CPU, memory, storage, and input/output devices efficiently among multiple users and processes.
-
Process Execution: The OS provides an environment in which programs (processes) can be created, executed, and terminated in an orderly manner.
-
Convenience: The OS makes the computer system convenient to use by providing a user-friendly interface, so users do not need to deal directly with hardware.
-
Efficiency: The OS ensures that the computer hardware is used in an efficient manner, maximizing throughput and minimizing idle time.
-
Security and Protection: The OS protects data and programs from unauthorized access and ensures that one process does not interfere with another.
-
Error Detection and Handling: The OS constantly monitors the system for errors in hardware and software and takes appropriate action.
-
Communication: The OS facilitates communication between processes and between the user and the system through standard interfaces.
-
File Management: The OS organizes, stores, retrieves, and manages files on storage devices in a systematic way.
How the Operating System Performs Management Activities
1. Process Management
A process is a program in a state of execution. It is a unit of work for the operating system. A process can be created, executed, and stopped. The process management system allocates the resources required by a process during process creation and process execution.
The OS performs the following process management activities:
- Process Creation: When a user runs a program, the OS creates a process for it and allocates necessary resources (CPU time, memory, files).
- Process Execution: The OS schedules the process for execution using scheduling algorithms (e.g., Round Robin, FCFS). The CPU executes the instructions of the process.
- Process States: During execution, a process passes through various states:
- New: The process is being created.
- Ready: The process is waiting to be assigned to the CPU.
- Running: The process is currently being executed by the CPU.
- Waiting/Blocked: The process is waiting for some event (e.g., I/O completion).
- Terminated: The process has finished execution.
- Process Termination: Once execution is complete, the OS stops the process and frees all allocated resources.
- Process Synchronization and Communication: The OS ensures that multiple processes can communicate and synchronize without conflict.
2. Memory Management
In a computer, multiple processes execute at the same time, and every process requires a certain amount of memory to execute. This memory is made available by the memory management system of the OS. On completion of a process's execution, the memory is de-allocated and made available to another process.
The OS performs the following memory management activities:
-
Memory Allocation: The OS keeps track of which blocks of memory are free (called holes) and which are occupied. When a process needs memory, the OS allocates a suitable block to it.
- In a single-user OS, allocated memory is freed and made available to any other process after execution.
- In a multi-user OS, the OS tracks memory allocation for multiple processes simultaneously, handling memory protection and sharing.
-
Memory De-allocation: When a process finishes execution, the OS frees the memory it was using and makes it available for other processes.
-
Memory Protection: The OS ensures that one process cannot access the memory space of another process, preventing data corruption.
-
Virtual Memory: When the physical memory (RAM) is insufficient for all running processes, the OS creates virtual memory. This technique uses a portion of the hard disk as an extension of RAM, allowing processes to be allocated memory even when physical RAM is full.
When the OS keeps track of processes, sometimes the memory space available becomes less than what those processes need. In that case, the OS creates virtual memory so that processes are allocated memory properly.
3. File Management
The OS performs the following file management activities:
- File Creation and Deletion: The OS allows users and programs to create new files and delete existing ones on storage devices.
- File Organization: Files are organized into a hierarchical directory (folder) structure, making it easy to locate and manage them.
- File Access Control: The OS controls who can read, write, or execute a file, providing security and protection of data.
- File Storage Management: The OS manages how files are stored on physical storage devices (hard disk, SSD), keeping track of used and free storage blocks.
- File Retrieval: The OS provides mechanisms to search for and retrieve files quickly when requested by users or programs.
- Backup and Recovery: The OS may support backup utilities to protect files from accidental loss or corruption.
Summary Table
| Management Activity | Key Function |
|---|---|
| Process Management | Create, schedule, execute, and terminate processes; manage process states |
| Memory Management | Allocate/de-allocate memory, memory protection, virtual memory |
| File Management | Create, organize, protect, store, and retrieve files |
In conclusion, the operating system serves as the backbone of a computer system. Its objectives are to provide convenience, efficiency, security, and proper resource management. Through process management, memory management, and file management, the OS ensures that all hardware and software resources are used optimally and that multiple users and programs can work simultaneously without conflict.
0 · 10 marks
Why software system is needed in computers? Discuss various type of operating system.[10]
Show solved answerHide answer
Why Software System is Needed in Computers? Types of Operating Systems
Part 1: Why Software System is Needed in Computers
A computer is made up of both hardware and software. Hardware alone cannot perform any useful task without software to control and direct it. This is why a software system is essential for computers.
Definition of System Software
As per the notes:
"System software provides basic functionality to the computer. System software is required for the working of computer itself. It controls computer hardware and it acts as an interface between user, application software and computer hardware."
Reasons Why Software System is Needed
| Reason | Explanation |
|---|---|
| Interface between user and hardware | Software acts as a bridge so users can interact with the computer without knowing hardware details |
| Resource Management | It manages CPU time, memory space, and I/O devices efficiently |
| Hardware Control | It controls and coordinates the use of hardware among different application software and users |
| Program Execution | It controls the execution of different programs to prevent occurrence of errors |
| Convenient Use | It hides the complex working of hardware from the user and provides a convenient graphical or command interface |
| Application Support | It provides support for various services as requested by application software |
| Translation | It translates user commands into machine-understandable form |
Without system software, a computer is just a collection of electronic components with no ability to perform meaningful tasks. System software is mainly divided into:
- For system management and functionality (e.g., Operating System, Device Drivers, System Utilities)
- For developing software (e.g., compilers, assemblers)
Part 2: Types of Operating Systems
Definition of Operating System
"It is the most important part of a computer. It intermediates between the user of a computer and the computer hardware. It controls and coordinates the use of hardware among the different application software and users."
Examples: MS-DOS, Windows 7, Windows XP, Linux, UNIX
Functions of OS
- Creates an environment between user and application software to work
- Manages different resources like CPU time, memory space, and I/O devices
- Controls the execution of different programs to prevent errors
- Provides a convenient interface in the form of commands and graphical interface
- Translates user commands into machine-understandable form
- Supervises and manages the hardware of the computer
Types of Operating Systems
OS are classified into different types depending on their capability of processing:
a) Single User and Single Task OS
- Used for performing a single task for a single user at a time.
- These are simple operating systems designed to manage one task at a time.
- Operating Systems for Personal Computers (PC) are single-user OS.
- Example: MS-DOS
b) Single User and Multitasking OS
- Allows execution of more than one task or process simultaneously for a single user.
- The user can run multiple applications at the same time (e.g., browsing the internet while listening to music).
- Example: Windows 10, Windows 7
c) Multi-user OS
- Allows multiple users to access the computer system simultaneously.
- Each user gets a share of the computer's resources.
- Commonly used in servers and mainframe computers.
- Example: UNIX, Linux
d) Real-Time OS (RTOS)
- Designed to process data and respond to inputs within a guaranteed time frame.
- Used in systems where timing is critical, such as missile guidance systems, medical equipment, and industrial robots.
- Example: VxWorks, RTLinux
e) Distributed OS
- Manages a group of independent computers and makes them appear as a single computer to the user.
- Resources and processing are distributed across multiple machines connected via a network.
- Example: Amoeba, LOCUS
f) Batch Processing OS
- Groups similar jobs together into batches and processes them one after another without user interaction.
- Efficient for large repetitive tasks.
- Example: Early IBM OS used in mainframes
Summary Table
| Type of OS | Users | Tasks | Example |
|---|---|---|---|
| Single User, Single Task | 1 | 1 | MS-DOS |
| Single User, Multitasking | 1 | Many | Windows 10 |
| Multi-user | Many | Many | UNIX, Linux |
| Real-Time OS | Varies | Time-critical | VxWorks |
| Distributed OS | Many | Many (networked) | Amoeba |
| Batch Processing OS | None (automated) | Batched jobs | IBM Mainframe OS |
Conclusion
Software systems, especially the Operating System, are absolutely essential for computers to function. Without them, hardware cannot be utilized, users cannot interact with the machine, and application software cannot run. The OS acts as the backbone of the entire computing environment, managing resources and providing a user-friendly interface.
System Software
2077 · 10 marks
Define computer software. Differentiate system software with application software. Explain different types system software in detail.[10]
Make Unit 6 stick
Practice CSC114 with flashcards & quizzes