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

Bulk E-mail software

Blog banner

Article on team management software

Blog banner

OS Assignment 3 Deadlock

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

What are NFT s?

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Synchronization

Blog banner

Paid Email

Blog banner

Microsoft Windows Overview

Blog banner

Positioning: The battle of the minds

Blog banner

breakup? don't worry and learn how to get back your life!

Blog banner

Data Mining

Blog banner

Deadlocks

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Lifestyle of a photographer

Blog banner

What is process

Blog banner

Logical and physical address

Blog banner

Evolution of the Microprocesor

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Rapido

Blog banner

Types of OS

Blog banner

Malware Defense

Blog banner

Threat from Inside: Educating the Employees Against Cyber Threats

Blog banner

USPS mail

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Southern Turkey Earthquake: Causes and Consequences of a Tragic Natural Disaster

Blog banner

Cloud Computing

Blog banner

Virtual memory

Blog banner

Beatbox

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

I Personally

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

Big Data

Blog banner

Sage business cloud accounting

Blog banner

Multiprocessor and Multicore Organization

Blog banner

INTERNET SECURITY

Blog banner

Virtual memory

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

Uniprocessor Scheduling

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Cache Memory

Blog banner