wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process in OS

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

RAID

Blog banner

Volatile Memory & Non-Volatile Memory Explained

Blog banner

USPS mail

Blog banner

Deadlock and Starvation

Blog banner

Telegram and it's features

Blog banner

AI and Cyber Security

Blog banner

Memory management

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

How to Compare Schools Before an Admission Decision

Blog banner

The Sunny Side of Instagram

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

Instagram

Blog banner

Life of a 2020-2021 student

Blog banner

Knowledge Management in Continual Service improvement (CSI)

Blog banner

memory managment

Blog banner

Use case of K-means clustering

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Deadlock

Blog banner

How to Run your First android App

Blog banner

IT GOVERNANCE

Blog banner

Concurrency management in operating systems

Blog banner

Deadlock Prevention

Blog banner

Art and Culture of Rajasthan

Blog banner

Modern Operating system

Blog banner

Deadlock and Starvation

Blog banner

Multiprocessor and scheduling

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Cache Memory

Blog banner

History of ITIL

Blog banner

PHONE TECHNOLOGY

Blog banner

The Future of Patola Weaving in a Sustainable Fashion World

Blog banner

Memory heirachy (Operating system)

Blog banner

Evolution of Operating System

Blog banner

How covid-19 impacted Social media ad spend forecast globally

Blog banner

Cyber Security Control

Blog banner

Cryptanalysis tool

Blog banner

Linux Memory Management

Blog banner

objectives and functions of operating system

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

Strengthening Active Directory Security

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner