Theoretical Concepts of Operating System

Chapter 4 · Tamil Nadu State Board

  • 8 min read
  • 6-question quiz

Every key point below shows the sentence from your textbook it comes from. Book back answers are solved and checked against the book; answers we could not prove are left out. How we check content

In short

This lesson explains how an Operating System connects users, software and computer hardware. It describes how an OS manages memory, processes, files, devices and security. It also compares operating system types and explains features such as time-sharing and multiprocessing. These ideas matter because an OS helps a computer use its resources and run tasks effectively.

Written by AI from this lesson. How we check it

Key points

  • An Operating System is system software that provides an interface between the user and the computer.
    From your textbook
    “An Operating System (OS) is a system software which serves as an interface between a user and a computer.”
  • An OS manages resources and performs tasks such as file, memory, process and device management.
    From your textbook
    “The functions of an Operating System include file management, memory management, process management and device management”
  • A single-user and single-task OS lets one user perform one task at a time; MS-DOS is an example.
    From your textbook
    “MS-DOS is an example for a single user and single task Operating System.”
  • A multi-user OS lets several users access the same data and applications at the same time.
    From your textbook
    “allow same data and applications to be accessed by multiple users at the same time.”
  • Memory management tracks memory use and allocates or frees blocks for programs.
    From your textbook
    “Allocation and de-allocation of memory blocks as needed by the program in main memory.”
  • Time-sharing gives each task a fixed period, and the processor switches between processes.
    From your textbook
    “For each task a fixed time is allocated. This division of time is called Time- sharing.”
  • A distributed OS lets users access shared data and files located on other machines.
    From your textbook
    “The users can access as if it is available on their own computer.”
Test yourself: 6 questions

Software and Operating Systems

Definition

Software
Software is a set of instructions that performs a specific task and works with hardware to produce the desired output.

Types of software

Application SoftwareSystem Software
A set of programs for a specific task. MS-word creates text documents, and VLC player plays audio and video files.Runs the computer’s hardware and application programs. Operating System and Language Processor are examples.

Definition

Operating System (OS)
An Operating System is system software that serves as an interface between a user and a computer.

An OS controls input, output and peripheral devices such as disk drives and printers. It manages files, memory, processes and devices. When a computer is switched on, the OS is loaded into memory automatically.

Examples of Operating Systems

  • Windows, UNIX and Linux are used on personal computers and laptops.
  • Android and ioS are used as mobile Operating Systems.

Uses and Types of Operating Systems

Uses of an Operating System

  • Helps users use a computer to get what they need.
  • Makes interaction between users and computers easier.
  • Starts computer operation automatically when power is turned on. This is called Booting.
  • Controls input and output devices.
  • Manages the use of main memory.
  • Provides security to user programs.

Single-user and multi-user Operating Systems

Single-user Operating SystemMulti-user Operating System
Allows one user to perform a task at a time. MS-DOS is an example of a single user and single task Operating System.Allows multiple users to access the same data and applications at the same time. Users can also communicate with each other. Windows, Linux and UNIX are example

Key Features of an Operating System

Key features

  • User Interface
  • File Management
  • Security
  • Memory Management
  • Process Management
  • Fault Tolerance

Definition

User Interface (UI)
The User Interface is the way a user interacts with a computer.

A GUI (Graphical User Interface) uses windows and a pointing device to direct I/O and choose from menus. A keyboard is used to enter text. Linux distribution is also available as a GUI-based Operating System.

What a good User Interface should do

  • Help users retain their expertise for a longer time.
  • Meet customer needs.
  • Save the user’s time.
  • Satisfy the customer.
  • Reduce the number of errors made by the user.

Definition

Memory Management
Memory Management controls and coordinates main memory, assigning memory blocks to running programs to improve overall computer performance.

Operating System memory tasks

  • Keep track of which portions of memory are in use and who is using them.
  • Decide which processes or parts of processes, and which data, move in and out of memory.
  • Allocate and de-allocate memory blocks as programs need them.

Process Management and Scheduling

Definition

Process management
Process management creates and deletes processes and provides ways for processes to communicate and synchronize with each other.

A system task, such as sending output to a printer or screen, can also be called a process. Processes are either Operating System processes, executed by system code, or User Processes, executed by user code. These processes can potentially run concurrently on a single CPU.

Algorithms used to assign processes to the processor

  • FIFO (First In First Out)
  • SJF (Shortest Job First)
  • Round Robin
  • Based on Priority

Process scheduling methods

MethodHow it works
FIFO (First In First Out)Processes are executed in the order they enter the queue. The first process in the queue runs first.
SJF (Shortest Job First)The job’s size determines its turn. For A = 6 kilo bytes and B = 9 kilo bytes, A is assigned first, then B.
Round RobinJobs receive processor time in a circular order. With A, B and C, the order repeats as A, B, C, then A, B, C.
Based on PriorityThe job with higher priority is assigned before a job with lower priority. If A has priority 5 and B has priority 7, B is assigned first.

Remember: For FIFO, the first process in the queue runs first. For SJF, job size matters; Round Robin cycles through jobs; priority scheduling assigns the higher-priority job first.

Operating System Security Management

An Operating System protects users’ legitimate data from hackers. It provides security at three levels: file access, system, and network. These security features are provided by the Operating System.

Three security levels

  • File access level: You need permission to access files created by other people. The creator or system administrator can grant permission.
  • System level: In a multi-user environment, passwords provide system-level security. Both windows and Linux offer this facility.
  • Network level: Network security is difficult to define, and people around the world try to provide it.

Remember: File access may need permission, while system-level security uses passwords in a multi-user environment.

Fault Tolerance and File Management

Definition

Fault tolerance
The ability of an Operating System to handle a fault without crashing and to retain the existing state of the system.

An Operating System should be robust. When a fault occurs, it should not crash; it should use its fault tolerance capabilities and retain the system’s existing state.

Definition

File management
An Operating System function that manages data storage, files, folders, and directory systems.

The file manager can create, edit, and copy files, allocate memory to them, and update the FAT. FAT (File Allocation Table) stores general information about files.

Information stored in FAT

  • Filename
  • Type (text or binary)
  • Size
  • Starting address
  • Access mode

File management techniques

TechniqueInformation given
FAT (File Allocation Table)Stores general information about files.
Next Generation File System (NTFS)A file management technique.
ext2(Linux)A file management technique.

Multi-Processing and Time-sharing

Definition

Multi-Processing
A feature in which two or more processors work on a single running process (job).

When processing takes place in parallel, it is called parallel processing. This supports high-speed execution and increases the power of computing.

Definition

Time-sharing
The division of processor time among multiple tasks or processes, with a fixed time allocated to each task.

The processor switches rapidly between processes when a process finishes or its allocated time ends. A process that has not finished when its time ends is paused so another process can run.

Worked example

Three processes, P1, P2, P3, have allocated times of 30, 40, 50 minutes respectively. P1 completes within 20 minutes, but P2 does not complete within 40 minutes. What happens next?

Try it first, then show the solution
  1. P1 finishes within its allocated time, so the processor takes P2 next.
  2. P2 does not finish within 40 minutes, so it is paused.
  3. The processor switches to P3.

Answer: The processor runs P2 after P1, then pauses P2 when its allocated time ends and switches to P3.

Distributed Operating Systems and Prominent Operating Systems

Definition

Distributed Operating System
An Operating System that lets users access shared data and files on machines around the world through the internet/intranet as if they were available on their own computer.

Advantages of a Distributed Operating System

  • A user can use resources available at another location over the network.
  • Many computer resources can be added easily in the network.
  • It improves interaction with customers and clients.
  • It reduces the load on the host computer.

Prominent Operating Systems

  • UNIX
  • Microsoft Windows
  • Linux
  • iOS
  • Android

Modern operating systems use a Graphical User Interface (GUI). A GUI displays graphics and text elements, such as icons, buttons, and menus, which users can click with a mouse.

Remember: Time-sharing gives each process a fixed time; multiprocessing uses two or more processors for a single running process.

Questions students ask

Short, direct answers to what students search for in this chapter.

What is an Operating System?

An Operating System (OS) is system software that serves as an interface between a user and a computer. It controls input, output and peripheral devices. It also manages files, memory, processes and devices.

What are the main uses of an Operating System?

An Operating System makes user-computer interaction easier, starts computer operation when power is turned on, controls input and output devices, manages the use of main memory and provides security to user programs.

What is the difference between single-user and multi-user Operating Systems?

A single-user Operating System allows one user to perform a task at a time. A multi-user Operating System allows multiple users to access the same data and applications at the same time, and lets them communicate with each other.

How does FIFO scheduling work?

FIFO (First In First Out) scheduling runs processes in the order they enter a queue. The process that enters first is executed first by the CPU, followed by the next process in the queue.

How does Round Robin scheduling work?

Round Robin assigns processor time to jobs in a circular order. For example, with jobs A, B and C, the order is A, B, C, then A, B, C again, continuing in the same cycle.

What are the three levels of security in an Operating System?

The three security levels are file access level, system level, and network level. File access may require permission from the file creator or system administrator. In a multi-user environment, passwords provide system-level security.

Show 4 more questions

What is fault tolerance in an Operating System?

Fault tolerance is the ability of an Operating System to handle a fault without crashing and retain the existing state of the system. A robust Operating System uses this capability when a fault occurs.

What is the difference between multi-processing and time-sharing?

Multi-processing uses two or more processors for a single running process, allowing parallel processing. Time-sharing allocates a fixed time to each of multiple tasks or processes, then switches the processor between them when a task finishes or its time ends.

What are the advantages of a Distributed Operating System?

A Distributed Operating System lets users access resources at other locations over a network. It also makes it easy to add computer resources to the network, improves interaction with customers and clients, and reduces the load on the host computer.

What does FAT store in file management?

FAT (File Allocation Table) stores general information about files. This includes the filename, type (text or binary), size, starting address, and access mode. The file manager updates FAT as part of its work.

Book back answers

19 textbook exercises, solved and checked against the book. Questions we could not prove are left out.

SECTION – A Choose the correct answer

  1. Operating system is a

    • A) Application Software
    • B) Hardware
    • C) System Software
    • D) Component
    Try it, then show the answer

    C) System Software

    An operating system is identified in the chapter as system software.

    From the book: “An Operating System (OS) is a system software”

  2. Identify the usage of Operating Systems

    • A) Easy interaction between the human and computer
    • B) Controlling input & output Devices
    • C) Managing use of main memory
    • D) All the above
    Try it, then show the answer

    D) All the above

    The chapter lists easy interaction, controlling input and output devices, and managing main memory as uses of an operating system.

    From the book: “Easy interaction between the users and computers.”

  3. Which of the following is not a function of an Operating System?

    • A) Process Management
    • B) Memory Management
    • C) Security management
    • D) Complier Environment
    Try it, then show the answer

    D) Complier Environment

    The chapter describes process, memory, and security management as operating-system functions, but does not identify a compiler environment as one.

    From the book: “The functions of an Operating System include file management, memory management, process management and device management”

  4. Which of the following Operating systems support Mobile Devices?

    • A) Windows 7
    • B) Linux
    • C) BOSS
    • D) iOS
    Try it, then show the answer

    D) iOS

    The chapter says that mobile devices mostly use Android and iOS as mobile operating systems.

    From the book: “The mobile devices mostly use Android and ioS as mobile OS.”

All 19 book back answers →

Practice

Question 1 of 6Score 0

What is the main role of an Operating System?

Exam questions

Practice questions with model answers. These are not from an official paper.

What is an Operating System, and name two functions it performs.2 marks

An Operating System is system software that serves as an interface between a user and a computer. Two of its functions are memory management and file management.

Distinguish between single-user and multi-user Operating Systems.2 marks

A single-user and single-task OS allows one user to perform a task at a time. A multi-user OS allows multiple users to access the same data and applications at the same time, and users can communicate with each other.

Explain how Round Robin scheduling works.2 marks

Round Robin is designed especially for time-sharing systems. It assigns processor time to jobs in a circular order, giving each job a turn before the sequence begins again.

Describe two advantages of a Distributed Operating System.2 marks

A user in one location can use resources available at another location over the network. More computer resources can also be added easily to the network.

Watch out

  • Do not confuse application software, which performs specific tasks, with system software, which runs hardware and application programs.
  • Do not mix up multiprocessing, which uses two or more processors for a single running process, with time-sharing, which divides time among tasks.

Still stuck on this lesson?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →