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

What is the point of living if we can die at any moment of our lives ?

Blog banner

Best password managers: Reviews of the top products

Blog banner

Firewall

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

Mail merge

Blog banner

Fault tolerance

Blog banner

What is Internet

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Modern Operating Systems.

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

Remote Work in 2026

Blog banner

Service transition principles

Blog banner

Sleep Disorder: The Silent Link Between Sleep and Mental Health

Blog banner

Pipedrive

Blog banner

What is E-commerce

Blog banner

Virtual memory

Blog banner

10 Signs your Computer has Virus

Blog banner

Deadlock and Starvation

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Smart Homes | Zigbee Alliance

Blog banner

Clarizen

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

Virtual machine.

Blog banner

Life of a 2020-2021 student

Blog banner

Way to make your meal healthier.

Blog banner

Full Disk Encryption

Blog banner

Use case of K-means clustering

Blog banner

ODOO

Blog banner

What is HTML?

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

Apache Kafka

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

IT RISK

Blog banner

Cache memory

Blog banner

Social Media Sentiment Analysis

Blog banner

Understanding Business Layer in Data Science

Blog banner

IOT Hacking Techniques

Blog banner

Outlook mail

Blog banner

Virtual Memory

Blog banner

Financial Fraud Detection

Blog banner