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

Busted : Common Web Security Myths

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

Ransomware

Blog banner

Article on IT development trends

Blog banner

How to Add Super Seeds to Your Everyday Meals: Easy & Healthy Ideas

Blog banner

operating system

Blog banner

QUANTUM COMPUTING IN SECURITY:A GAME CHANGER IN DIGITAL WORLD

Blog banner

Importance Of Blockchain

Blog banner

VIRTUAL MACHINE

Blog banner

Deadlock

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Swiggi

Blog banner

What is Data, Information and Knowledge?

Blog banner

Types of Threads

Blog banner

Virtual Memory - Explaination, Working, Steps

Blog banner

Asana

Blog banner

Bots and Cyber Security

Blog banner

CoWIN

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Climate Anxiety: Understanding the Psychological Impact of a Changing World

Blog banner

EdTech (Education Technology)

Blog banner

FREE VERSION OF G-MAIL

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

(Input/Output) in os

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Memory Management

Blog banner

LINUX

Blog banner

Man In The Middle Attack

Blog banner

Why Skipping Afternoon Meals Affects More Than Just Your Hunger?

Blog banner

Microsoft powerpoint presentation

Blog banner

Emailing the merger document

Blog banner

Animal’s have my heart

Blog banner

How to Conquer Depression ?

Blog banner

The Everyday Parenting Dilemma: Safety Vs Independence

Blog banner

Coping with Diagnosis Shock

Blog banner

Linux 94

Blog banner

Topic: Sessions in Operating system

Blog banner

Online Games

Blog banner

Life of an army person

Blog banner

RAID

Blog banner

Google classroom

Blog banner

Virtual memory

Blog banner