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

HACKING MOBILE PLATFORM

Blog banner

Junk food vs healthy food

Blog banner

What if COVID does not exist!

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

virtual memory

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Exploring the Power of Encase Forensic Tools: Unraveling Digital Mysteries

Blog banner

Vikrant’s first blog

Blog banner

EFT

Blog banner

E-learning

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Layers Of Blockchain

Blog banner

Web Site

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Smartsheet

Blog banner

Principles of Concurrency

Blog banner

IT service level agreement

Blog banner

Direct Memory Access

Blog banner

Deadlock Prevention

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

SQL Injection practice on DVWA

Blog banner

How Cyber Forensics use in AI

Blog banner

How International Schools Build Global-Minded Students through Curriculum & Activities

Blog banner

Raid and levels of raid.

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Service Transition Process in ITSM

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Swiggi

Blog banner

Why am I never satisfied with my Life?

Blog banner

Importance of business process documentation

Blog banner

TEAMWORK

Blog banner

Article on Team Work

Blog banner

Precision-Recall in Data Science

Blog banner

Know your Processors!

Blog banner

Save Environment

Blog banner

Veg Mix Pickle

Blog banner

Blockchain uses and use cases

Blog banner

PPT methodology

Blog banner

Dekkers Algorithm

Blog banner

Firewall

Blog banner

Culture Of Ladakh

Blog banner