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

Threat management

Blog banner

Install Ubuntu Easily

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Paid Email

Blog banner

BUFFER OVERFLOW_142

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Operating system and overviews

Blog banner

Short note on Microsoft office

Blog banner

Uniprocessor scheduling

Blog banner

Retiring ISS

Blog banner

Blockchain in IoT Applications

Blog banner

I/O Buffering

Blog banner

Access management

Blog banner

The Future of Patola Weaving in a Sustainable Fashion World

Blog banner

Impact of social media on the human life

Blog banner

A-B-C of Networking: Part-3 (Topology [Bus & Star])

Blog banner

Blog on Smartsheet.

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Incorporating Automation into Digital Forensics.

Blog banner

Wiretapping

Blog banner

MULTITHREADING:ENHANCEING PERFORMANCE AND EFFICIENCY IN COMPUTING

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

Business-to-Business

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

Social Media.

Blog banner

Concurrency:Deadlock and Starvation

Blog banner

Python as a tool for data analysis

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

Yahoo! mail

Blog banner

EMAIL INVESTIGATION

Blog banner

Fault tolerance

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

Network Forensics

Blog banner

(Input/Output) in os

Blog banner

Difference Between Classification And Clustering

Blog banner

OS Assignment 3

Blog banner

Sage business cloud accounting

Blog banner

"Games and the future"

Blog banner

Security Issues and Countermeasures

Blog banner

SESSION HIJACKING

Blog banner

Processing Crime and Incident Scenes

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner