wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process in OS

profile
Srushti Chaurasia
Jul 11, 2023
0 Likes
0 Discussions
30 Reads

WHAT IS A PROCESS?

When we write a program in high level language, it has to be converted into binary code with the help of compiler to make it understandable for the machine and now the program is ready for execution but it is not enough to tell the computer what it wants to do. So the operating system will help in loading that executable program into the memory and allocate its resources and then the program will begin its execution. The program till the time just sits there without doing anything but the moment it begins execution, at that instance we call that program as process.

When a program,module or function is in execution, it is called a process. When we write a computer program,it is in text file and when we execute this computer program in the main memory it becomes a process. When a program is loaded into memory and it becomes a process and it performs all the tasks mentioned in the program, it can be divided into four components stack,heap,text and data.

 The layout of process inside main memory contains‐

• Stack contains the temporary data such as functions, parameters, local variables.

• Heap provides dynamically allocated memory to process only during runtime.

• Data contains global variables and static variables

• Text includes the current activity representation by the value of program counter and the contents of processor registers

 

 

 


Comments ()


Sign in

Read Next

LinkedIn

Blog banner

Service Operations in ITSM

Blog banner

Service Strategy In ITSM

Blog banner

How Laughing Gas Makes Your Dental Visit So Much Easier

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

Raid and levels of raid.

Blog banner

Answer

Blog banner

The Everyday Parenting Dilemma: Safety Vs Independence

Blog banner

Deadlock and starvation

Blog banner

IOT Hacking Techniques

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

File management In Operating System

Blog banner

Process states

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

Uniprocessor scheduling

Blog banner

Memory management

Blog banner

Best Time to Visit Arcadia, Florida & Why Oak Tree Hotel Is Always Ready

Blog banner

OLA

Blog banner

File management

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Sweet Mango Murabba

Blog banner

Challenges and risks in service operations

Blog banner

How Does Preschool Help Children Become Better Decision Makers?

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

What is metaverse?

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

Tracking Emails & Email Crimes

Blog banner

Instagram

Blog banner

Multicore and Multithreading

Blog banner

What is Network Security?

Blog banner

What is 'Multi-core and Multi-threading' ?

Blog banner

Man VS Nature

Blog banner

Outlook.com

Blog banner

File system implementation

Blog banner

First-Order Logic (FOL): The Foundation of Modern Logic

Blog banner

GIS Topography

Blog banner

Virtual memory

Blog banner

Cyber Security in Data Breaching

Blog banner

Studying Denial of service attack using DOSHTTP tool

Blog banner

Memory Management

Blog banner

Virtual Memory

Blog banner