wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process in OS

profile
Srushti Chaurasia
Jul 11, 2023
0 Likes
0 Discussions
32 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

GUIDE TO GIS

Blog banner

Importance of education

Blog banner

Smart Eating Habits for Office Professionals to Stay Healthy

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

What is Minting & Mining

Blog banner

Why am I never satisfied with my Life?

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Deadlock

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

Hello World

Blog banner

Deadlock

Blog banner

Note Taker App

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Importance Of Blockchain

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

Tracking Emails & Email Crimes

Blog banner

Stop Racism

Blog banner

E-learning in today's world

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Service transition principles

Blog banner

IOT- Internet Of Things

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Time Series Analysis

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Dal Bafla Recipe

Blog banner

How Personalised Gifts Create Lasting Memories for Children?

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

Article on Team Work

Blog banner

Theads

Blog banner

Electronic Evidence in Cyber Forensics

Blog banner

Data Mapping

Blog banner

What is thread and multithreading ?

Blog banner

Os assignment

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Raid

Blog banner

Marvel Cinematic Universe

Blog banner

The most common internet security threats

Blog banner

Regression Analysis

Blog banner

From Websites To Super Apps For Digital User Experience

Blog banner

Lake Manatee State Park: A Peaceful Nature Escape Near Arcadia

Blog banner

The Benefits of Practical Life Activities in Preschool

Blog banner