A Book Of
Operating System
Concepts
For M.C.A. (Management) : Semester - I
[Course Code IT-14 : Credit - 03]
CBCS Pattern
As Per New Syllabus, Effective from June 2020
Dr. Sunita Dhanesh Patil
B.Sc. (Computer Science), MCM, MCA, M.Phil. (IT), Ph.D. (Computer Management)
Dean Academics
Yashaswi Institute of Technology
Yashaswi Academy for Skills
Chinchwad, Pune
Price 250.00
N5313
Operating System Concepts ISBN 978-93-90437-86-3
Second Edition : October 2022
© : Author
The text of this publication, or any part thereof, should not be reproduced or transmitted in any form or stored in any computer
storage system or device for distribution including photocopy, recording, taping or information retrieval system or reproduced on any disc,
tape, perforated media or other information storage device etc., without the written permission of Author with whom the rights are
reserved. Breach of this condition is liable for legal action.
Every effort has been made to avoid errors or omissions in this publication. In spite of this, errors may have crept in. Any mistake, error
or discrepancy so noted and shall be brought to our notice shall be taken care of in the next edition. It is notified that neither the publisher
nor the author or seller shall be responsible for any damage or loss of action to any one, of any kind, in any manner, therefrom.
Published By : Polyplate Printed By :
NIRALI PRAKASHAN YOGIRAJ PRINTERS AND BINDERS
Abhyudaya Pragati, 1312, Shivaji Nagar, Survey No. 10/1A, Ghule Industrial Estate
Off J.M. Road, Pune – 411005 Nanded Gaon Road
Tel - (020) 25512336/37/39, Fax - (020) 25511379 Nanded, Pune - 411041
Email : [email protected] Mobile No. 9404233041/9850046517
DISTRIBUTION CENTRES
PUNE
Nirali Prakashan : 119, Budhwar Peth, Jogeshwari Mandir Lane, Pune 411002, Maharashtra
(For orders within Pune) Tel : (020) 2445 2044; Mobile : 9657703145
Email : [email protected]
Nirali Prakashan : S. No. 28/27, Dhayari, Near Asian College Pune 411041
(For orders outside Pune) Tel : (020) 24690204; Mobile : 9657703143
Email : [email protected]
MUMBAI
Nirali Prakashan : 385, S.V.P. Road, Rasdhara Co-op. Hsg. Society Ltd.,
Girgaum, Mumbai 400004, Maharashtra; Mobile : 9320129587
Tel : (022) 2385 6339 / 2386 9976
Email : [email protected]
DISTRIBUTION BRANCHES
JALGAON
Nirali Prakashan : 34, V. V. Golani Market, Navi Peth, Jalgaon 425001, Maharashtra,
Tel : (0257) 222 0395, Mob : 94234 91860; Email : [email protected]
KOLHAPUR
Nirali Prakashan : New Mahadvar Road, Kedar Plaza, 1st Floor Opp. IDBI Bank, Kolhapur 416 012
Maharashtra. Mob : 9850046155; Email : [email protected]
NAGPUR
Nirali Prakashan : Above Maratha Mandir, Shop No. 3, First Floor,
Rani Jhanshi Square, Sitabuldi, Nagpur 440012, Maharashtra
Tel : (0712) 254 7129; Email : [email protected]
DELHI
Nirali Prakashan : 4593/15, Basement, Agarwal Lane, Ansari Road, Daryaganj
Near Times of India Building, New Delhi 110002 Mob : 08505972553
Email : [email protected]
BENGALURU
Nirali Prakashan : Maitri Ground Floor, Jaya Apartments, No. 99, 6th Cross, 6th Main,
Malleswaram, Bengaluru 560003, Karnataka; Mob : 9449043034
Email: [email protected]
Other Branches : Hyderabad, Chennai
Note : Every possible effort has been made to avoid errors or omissions in this book. In spite this, errors may have crept in. Any type of
error or mistake so noted, and shall be brought to our notice, shall be taken care of in the next edition. It is notified that neither the publisher,
nor the author or book seller shall be responsible for any damage or loss of action to any one of any kind, in any manner, therefrom.
The reader must cross check all the facts and contents with original Government notification or publications.
[email protected] | www.pragationline.com
Also find us on www.facebook.com/niralibooks
Preface …
I take this opportunity to present this book entitled as “Operating System Concepts” to
the students of First Semester - MCA (Management). The object of this book is to present the
subject matter in a most concise and simple manner. The book is written strictly according to
the New Syllabus (CBSC Pattern).
The book has its own unique features. It brings out the subject in a very simple and lucid
manner for easy and comprehensive understanding of the basic concepts, its intricacies,
procedures and practices. This book will help the readers to have a broader view on
Operating System Concepts. The language used in this book is easy and will help students to
improve their vocabulary of Technical terms and understand the matter in a better and
happier way.
I sincerely thank Shri. Dineshbhai Furia and Shri. Jignesh Furia of Nirali Prakashan, for the
confidence reposed in me and giving me this opportunity to reach out to the students of
management studies.
I have given my best inputs for this book. Any suggestions towards the improvement of
this book and sincere comments are most welcome on [email protected].
Author
Syllabus …
1. Overview [Weightage 15, Session 7]
1.1 Overview of Operating Systems
1.2 Functionalities and Characteristics of OS
1.3 Hardware Concepts related to OS
1.4 CPU States
1.5 I/O Channels
1.6 Memory Management
1.6.1 Memory Management Techniques
1.6.2 Contiguous and Non-Contiguous Allocation
1.6.3 Logical and Physical Memory Conversion of Logical to Physical Address
1.7 Paging
1.7.1 Demand Paging
1.7.2 Page Replacement Concept
1.8 Segmentation - Segment with Paging
1.9 Virtual Memory Concept
1.10 Thrashing
Extra Reading: Type of OS, Batch OS, Time Sharing OS, Network OS, Multiprogramming
OS, Multiprocessing OS, Evolution of Operating System, Computer System Organization
Operating System Structure and Operations - System Calls, System Programs, OS
Generation and System Boot.
2. Process Management and Synchronization [Weightage 17, Session 8]
2.1 PCB
2.2 Job and Processor Scheduling
2.3 Scheduling Concept
2.4 Process Hierarchies
2.5 Problems of Concurrent Processes
2.6 Critical Sections
2.7 Mutual Exclusion
2.8 Synchronization
2.9 Deadlock
2.10 Device and File Management
2.10.1 Overview
2.10.2 Techniques
2.10.3 File Systems
Extra Reading: Threads − Overview, Multithreading Models, Threading Issues, Process
Synchronization – The Critical-section Problem, Synchronization Hardware, Mutex Locks,
Semaphores, Classic Problems of Synchronization, Critical Regions, Monitors;
Deadlock – System Model, Deadlock Characterization, Methods for Handling Deadlocks,
Deadlock Prevention, Deadlock Avoidance, Deadlock Detection, Recovery from
Deadlock., Banker’s Algorithms.
3. Multiprocessor and Multicore Operating Systems [Weightage 17, Session 8]
3.1 Introduction
3.1.1 Advantages and Disadvantages
3.1.2 Multicore System Vs. Multiprocessor System
3.2 Types of Multiprocessors
3.2.1 Symmetric Multiprocessors
3.2.2 Asymmetric Multiprocessors
3.3 Basic Multicore Concepts: Memory Sharing Styles
3.3.1 Uniform Memory Access (UMA)
3.3.2 Non-Uniform Memory Access (NUMA)
3.3.3 No Remote Memory Access (NORMA)
3.4 Cache Coherence, Inter-Process (and Intercore) Communication
3.4.1 Shared Memory
3.4.2 Message Passing
3.5 Mobile Operating Systems
3.5.1 Concept Need and Features
3.5.2 Types of Mobile OS
3.5.3 Overview of Android OS
3.5.4 Applications of Mobile OS
3.6 Distributed Operating Systems
3.6.1 Concept Need and Features
3.6.2 Examples of Distributed OS with brief introduction
3.6.3 Applications of Distributed OS
Extra Reading: Virtual Machine, Cache Memory and Catching Concept, Multi-Processor
and Distributed Operating System – Introduction – Architecture – Organization, Resource
sharing – Load Balancing – Availability and Fault Tolerance – Design and Development
Challenges – Inter-process Communication.
4. Real Time OS [Weightage 10, Session 4]
4.1 Introduction and use of RTOS
4.1.2 Components of RTOS
4.1.3 Types of RTOS
4.1.4 Features of RTOS
4.1.5 Factors for Selecting in RTOS
4.1.6 Applications of RTOS
4.1.7 Disadvantages of RTOS
4.2 Embedded OS
4.2.1 Concept Need and Features of Embedded OS
4.2.2 Examples of Embedded OS with brief Introduction
4.2.3 Applications of Embedded OS
Extra Reading: Real Time and Embedded Operating Systems – Introduction, Hardware
Elements, – Structure Interrupt Driven, Interrupt Driven, Nanokernel, Nanokernel,
Microkernel and Microkernel and Monolithic kernel based models. Monolithic kernel
based models. – Scheduling – Periodic, Periodic, Aperiodic and Aperiodic and Sporadic
Tasks, Sporadic Tasks, – Introduction to Energy Aware CPU Scheduling.
5. Windows OS and Windows Server Architecture [Weightage 24, Session 12]
5.1 Windows OS
5.1.1 Introduction
5.1.2 Windows OS Installation
5.1.3 Process Management
5.1.4 Control Panel Overview
5.1.5 Users, Security and Privacy Settings
5.1.6 Identify Accessibility Settings
5.1.7 Service Management
5.1.8 Syncing Devices and File Sharing
5.1.9 Windows Utilities (Accessories, Disk Management, Resource Monitor, Backup
and Recovery), Basic Troubleshooting (Networking, Security, Device Driver).
5.2 Introduction to Ubuntu
5.2.1 Introduction
5.2.2 Overview of Kernel
5.2.3 Installation of Ubuntu
5.2.4 File System
5.2.5 Basic Commands of Linux
5.2.6 Managing Processes in Linux
5.2.7 Installing and Deleting Software Packages
5.2.8 User Management
5.2.9 File and Device Management
5.2.10 Backup and Recovery
5.2.11 Introduction to Graphical Environment (GNOME), Ubuntu Utilities
(VirtualBox, Evolution, Gimp, Bleach Bit, Unity Tweak Tool etc.), SAMBA
Overview
Extra Reading: Deploying and Managing Windows Server 2012 and 2016, Introduction
to Active Directory Domain Services, Managing Active Directory Domain Services Objects,
Automating Active Directory Domain Services Administration, Implementing IPv4,
Implementing DHCP, Implementing DNS, Implementing Local Storage, Implementing File
and Print Services, Implementing Group Policy.
6. Linux Shell Scripting [Weightage 16, Session 6]
6.1 Introduction
6.2 Variables
6.3 Flow Controls
6.4 Loops
6.5 Functions
6.6 Lists
6.7 Manipulating Strings
6.8 Reading and Writing Files
6.9 Positional Parameters
6.10 Case Statement
6.11 Real Time Scripts for different System Administration Activities
Extra Reading: Shell Script Programming Concepts, Sequential Flow and Components of
Shell Scripting, Decision Structures, Decision - Structure Theory, Statements and
Operators, Looping Structures, Loop Theory and Statements, Functions and Arrays,
Functions Parts/Libraries and Arrays, Advanced Shell Programming, File Access, Sorts and
Techniques, Advanced Tech and Tools, Awk and Sed, Script Design and Management
Issues.
Contents …
1. Overview 1.1 − 1.32
2. Process Management and Synchronization 2.1 − 2.28
3. Multiprocessor and Multicore Operating Systems 3.1 − 3.28
4. Real Time OS 4.1 − 4.18
5. Windows OS and Windows Server Architecture 5.1 − 5.54
6. Linux Shell Scripting 6.1 − 6.34