100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Class notes Operating System Design Operating System

Rating
-
Sold
-
Pages
6
Uploaded on
04-12-2024
Written in
2023/2024

**Operating System Design** by IIT Guwahati, under the guidance of **Mr. Jyoti Prakash Mohanta**, is an in-depth exploration of the principles and architecture of operating systems. This resource is tailored for students, researchers, and professionals seeking a comprehensive understanding of the intricate mechanisms that power modern computing systems. ### Key Highlights: - **Core Concepts**: Explains fundamental topics like process management, memory management, file systems, and I/O systems. - **Advanced Topics**: Delves into concurrency, synchronization, deadlock handling, and distributed systems. - **Practical Design Approaches**: Provides insights into the design and implementation of operating systems, offering real-world applications. - **Case Studies**: Includes examples from popular operating systems like Linux, Windows, and UNIX, showcasing how theoretical concepts are applied in practice. - **Problem-Solving Techniques**: Features exercises and design problems to help readers solidify their understanding and enhance their problem-solving skills. This material, developed at one of India’s premier institutions, serves as a valuable resource for mastering the complexities of operating system design.

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Course

Document information

Uploaded on
December 4, 2024
Number of pages
6
Written in
2023/2024
Type
Class notes
Professor(s)
Jyoti prakash mohanta
Contains
All classes

Subjects

Content preview

1. Process Concept:
 A process can be thought of as a program in execution. A process will need certain
resources - such as CPU time, memory, files, and I/O devices - to accomplish its task.
 These resources are allocated to the process either when it is created or while it is
executing.
 A process is the unit of work in most systems.
 Systems consist of a collection of processes: operating-system processes execute system
code and user processes execute user code. All these processes may execute concurrently.

The Process:
 A process is a program in execution. A process is more than the program code, which is
sometimes known as the text section.
 It also includes the current activity, as represented by the value of the program counter and the
contents of the processor’s registers.
 A process generally also includes the process stack, which contains temporary data (such as
function parameters, return addresses, and local variables), and a data section, which contains
global variables.
 A process may also include a heap, which is memory that is dynamically allocated during
process run time.




[Process in memory]

 A program by itself is not a process. A program is a passive entity, such as a file containing
a list of instructions stored on disk (often called an executable file).
 In contrast, a process is an active entity, with a program counter specifying the next
instruction to execute and a set of associated resources.
 A program becomes a process when an executable file is loaded into memory. Two
common techniques for loading executable files are double-clicking an icon representing the
executable file and entering the name of the executable file on the command line (as in
prog.exe or a.out).

Sri Jyoti Prakash Mohanta, Asst. Prof. of Computer Science, F.M. Autonomous College, Balasore. Page 1

, Process State:
 As a process executes, it changes state. The state of a process is defined in part by the
current activity of that process.
 A process may be in one of the following states:

 New. The process is being created.

 Running. Instructions are being executed.

 Waiting. The process is waiting for some event to occur (such as an I/O completion or
reception of a signal).

 Ready. The process is waiting to be assigned to a processor.

 Terminated. The process has finished execution.
 It is important to realize that only one process can be running on any processor at any
instant. Many processes may be ready and waiting, however.
 The state diagram corresponding to these states is presented in Figure:




[Diagram of process state]

Process Control Block:
 Each process is represented in the operating system by a process control block (PCB)—
also called a task control block.
 PCB contains many pieces of information associated with a specific process, including
these:
 Process state. The state may be new, ready, running, waiting, halted, and so on.
 Program counter. The counter indicates the address of the next instruction to be
executed for this process.
 CPU registers. The registers vary in number and type, depending on the computer
architecture. They include accumulators, index registers, stack pointers, and general-
purpose registers, plus any condition-code information.


Sri Jyoti Prakash Mohanta, Asst. Prof. of Computer Science, F.M. Autonomous College, Balasore. Page 2
$8.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
mailtoganeshbehera

Also available in package deal

Get to know the seller

Seller avatar
mailtoganeshbehera Fakir Mohan University
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions