AL ICT Operating System

AL ICT Operating System
79 / 100

Sri Lanka Schools  AL ICT Operating System (ICT Grade 12 Lesson 5 ). After studying this chapter, you will be able to understand the following:

  • Defines the term computer operating system (OS) and investigates its need in computer systems
  • Explores how an operating system manages directories/folders and  files in computers
  • Explores how an operating system manages processes in computers
  • Explores how an operating system manages the resources

You can get better practical knowledge by watching the given videos related to the topics mentioned in the syllabus of this lesson AL ICT Operating System. By clicking on the relevant categories, you can see the description of the lesson related to the topic

?  Learning Video Option 1 – Sinhala Medium – Play List Included 18 Videos with Question discussion

 

Given below is an AL ICT resources Book prepared in relation to your syllabus.

For an enlarged view of the resources Book, ? Click Here

 

Related resources and links to this lesson

Resource Book  Lesson Note  Download  Questions  Syllabus

 

 

Introduction to AL ICT Operating System

In the world of computers, an operating system (OS) plays a crucial role in managing and coordinating various hardware and software components. It acts as an intermediary between users and computer hardware, providing a platform for executing applications and ensuring the efficient utilization of system resources. This article aims to provide a comprehensive understanding of operating systems, their evolution, main functions, classification, file types, directory, and file organization, file security, file storage management, maintenance of secondary storage, and process management.

Evolution of OS

The evolution of operating systems traces back to the early days of computing. Initially, computers had no operating systems, and users interacted with the machine using machine language. However, as computers became more complex and the need for user-friendly interfaces grew, operating systems were developed. From batch-processing systems to time-sharing systems, and from single-tasking systems to modern multitasking and real-time systems, the evolution of operating systems has been remarkable.

Main Functions of an Operating System

An operating system performs several essential functions to ensure thMain Functions of an Operating Systeme efficient operation of a computer system. These functions can be broadly categorized as follows:

Providing Interfaces

Operating systems provide interfaces through which users can interact with the computer system. This includes command-line interfaces (CLI) and graphical user interfaces (GUI) that enable users to execute commands, launch applications, and manage files and folders.

Process Management

Process management involves the creation, scheduling, and termination of processes. An operating system allocates system resources to processes, manages their execution, and ensures proper synchronization and communication between them.

Resource Management

Resource management is a critical function of an operating system. It involves the allocation and deallocation of system resources such as memory, CPU time, disk space, and peripherals. The operating system ensures fair distribution and efficient utilization of these resources among multiple processes.

Security and Protection

Operating systems provide mechanisms for ensuring the security and protection of computer systems. This includes user authentication, access control, file permissions, and encryption. By enforcing security policies and protecting against unauthorized access, an operating system safeguards data and system integrity.

Classification of Operating Systems

Operating systems can be classified into various types based on their characteristics and functionalities. Some of the commonly recognized types include:

Single User – Single Task

These operating systems are designed to support a single user and allow the execution of only one task at a time. Examples include early versions of MS-DOS.

Single User – Multi-Task

Single user – multi-tasking operating systems enable a single user to run multiple applications simultaneously. These operating systems provide time-sharing capabilities, allowing efficient utilization of system resources. Examples include modern desktop operating systems like Windows, macOS, and Linux.

Multi User – Multi-Task

Multi-user – multi-tasking operating systems support multiple users simultaneously, with each user running multiple tasks. These systems are commonly used in server environments, where multiple users need access to shared resources. Examples include UNIX and Linux server operating systems.

Multi-Threading

Multi-threading operating systems provide support for concurrent execution within a single process. Threads are lightweight processes that can execute independently within a process, allowing for efficient utilization of system resources and improved responsiveness. Examples include modern operating systems like Windows and Linux.

Real-Time

Real-time operating systems are designed to meet strict timing requirements for critical applications. These systems prioritize the execution of real-time tasks over non-real-time tasks, ensuring timely and predictable responses. Real-time operating systems are widely used in industries such as aerospace, automotive, and medical devices.

Time-Sharing Systems

Time-sharing systems allow multiple users to simultaneously share the resources of a single computer system. These systems allocate resources in small time slices or quantum, giving each user the illusion of having exclusive use of the system. Time-sharing systems are commonly used in mainframe computers and cloud computing environments.

File Types

File types play a significant role in organizing and identifying different types of data stored on a computer system. Each file type is associated with a specific file extension, which helps the operating system and applications recognize and interpret the file’s content. Common file types include executables (.exe), images (.jpg, .png), documents (.txt, .docx), and many more. The need for file types arises from the diverse nature of data and the requirement to handle each type appropriately.

Directory and File Organization

Efficient organization of directories and files is essential for managing data on a computer system. The operating system provides a hierarchical structure known as a file hierarchy or directory structure, which enables users to organize and locate files easily. Directories can contain files or other directories, creating a tree-like structure. File systems, such as the File Allocation Table (FAT) system, define the rules and algorithms for storing and retrieving files from storage devices.

File Security

File security is vital to protect sensitive information and control access to files. Operating systems implement mechanisms such as passwords and access privileges to restrict unauthorized access to files. Users can be assigned specific permissions, such as read, write, or execute, based on their roles and responsibilities. Effective file security ensures the confidentiality, integrity, and availability of data.

File Storage Management

Efficient management of file storage is crucial to optimize disk space utilization and improve file access performance. Operating systems employ different file allocation methods, including contiguous allocation, linked allocation, and indexed allocation.

Contiguous Allocation

Contiguous allocation assigns consecutive blocks of disk space to store a file. This method provides fast and direct access to files but suffers from fragmentation as files are created, modified, and deleted over time.

Linked Allocation

Linked allocation uses linked lists to store files on disk. Each file consists of linked blocks, and the operating system maintains a pointer to the first block of each file. While linked allocation reduces fragmentation, it introduces overhead in accessing non-contiguous blocks.

Indexed Allocation

Indexed allocation employs an index table to store file addresses. The index table contains pointers to individual blocks or extents of a file. This method provides fast access to files and efficient storage allocation, but it requires additional memory to store the index table.

Defragmentation

Over time, file modifications and deletions can lead to fragmented disk space, where files are scattered across non-contiguous blocks. Defragmentation is the process of reorganizing files on disk to eliminate fragmentation and improve file access performance. Operating systems provide defragmentation utilities to optimize disk usage.

Maintenance of Secondary Storage

Maintenance of secondary storage involves various tasks to ensure the reliability and performance of storage devices. Disk formatting is one such task, which prepares a disk for storing data by creating the necessary data structures, such as the file system and directory structure. Proper maintenance of secondary storage devices is essential to prevent data loss and ensure the longevity of storage media.

Definition of Process

In an operating system, a process refers to a program in execution. It represents the execution of a set of instructions, data, and resources required to complete a task. Processes can be managed and controlled by the operating system, which provides mechanisms for process creation, termination, and resource allocation.

Interrupts and Interrupt Handling

Interrupts are signals generated by hardware devices to gain attention from the operating system. When an interrupt occurs, the operating system suspends the current process, saves its state, and transfers control to an interrupt handler. Interrupt handling involves identifying the source of the interrupt, executing the appropriate interrupt handler routine, and resuming the interrupted process.

Process Management

Process management encompasses various activities related to process creation, execution, and termination. The operating system is responsible for allocating system resources to processes, scheduling their execution, and managing their synchronization and communication.

Process States

A process can exist in different states during its lifecycle. Common process states include:

  1. New: The process is being created or initialized.
  2. Ready: The process is waiting to be assigned to a processor.
  3. Running: The process is currently being executed on a processor.
  4. Blocked: The process is waiting for an event or resource to become available.
  5. Terminated: The process has finished its execution.

Process Transitions

Processes can transition between different states based on events and operations. For example, a process can transition from the ready state to the running state when allocated a processor, or from the running state to the blocked state when waiting for input/output operations to complete.

Process Control Block

A process control block (PCB) is a data structure maintained by the operating system for each process. It contains information about the process, such as its process ID, state, register values, memory allocation, and other relevant details. The PCB is crucial for managing and controlling processes effectively.

Context Switching

Context switching is the process of saving the current state of a process and restoring the state of another process for execution. It occurs when the operating system decides to allocate the processor to a different process. Context switching involves saving and restoring register values, updating memory mappings, and updating the process control block.

Process Schedulers

Process schedulers determine the order in which processes are executed on a processor. They use scheduling algorithms to allocate processor time to processes, considering factors such as priority, fairness, and efficiency. The choice of a scheduling algorithm depends on the specific requirements and characteristics of the system.


In conclusion, understanding the fundamentals of computer operating systems is crucial for anyone interested in the field of information technology. Operating systems play a vital role in managing resources, providing interfaces, ensuring security, and facilitating the efficient execution of applications. From the evolution of operating systems to their main functions, classification, file management, and process management, this article has provided a comprehensive overview of key topics in operating systems. By grasping these concepts, individuals can gain a deeper understanding of how computer systems operate and interact with users and applications.


FAQs

  1. Q: What is the role of an operating system in a computer? A: An operating system manages and coordinates hardware and software components, provides interfaces for user interaction, allocates system resources, and ensures system security.
  2. Q: What are the main functions of an operating system? A: The main functions of an operating system include providing interfaces, managing processes, allocating resources, and ensuring security and protection.
  3. Q: What are the different types of operating systems? A: Operating systems can be classified as single-user – single-task, single-user – multi-task, multi-user – multi-task, multi-threading, real-time, and time-sharing systems.
  4. Q: How are files organized in an operating system? A: Files are organized in a hierarchical structure known as a file hierarchy, which consists of directories and subdirectories.
  5. Q: What is the purpose of process management in an operating system? A: Process management involves creating, scheduling, and terminating processes, allocating system resources, and managing their synchronization and communication.

External Resources

https://edu.gcfglobal.org/en/computerbasics/understanding-operating-systems/1/

 

Spread the love
Ruwan
About Ruwan Suraweera 98 Articles
Pilana Vidyarthodaya M. V. ICT Teacher

Be the first to comment

Leave a Reply

Your email address will not be published.


*