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

Objectives and functions of Operating System...

Blog banner

Microsoft Word

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

BrainGate Technology

Blog banner

How to insert contacts in zoho crm using php

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

Sagar Parikrama

Blog banner

Modern Operating system

Blog banner

Basic Security For SOAP Services

Blog banner

INTERNET

Blog banner

10 Survival Tips that might save your life

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Cache Memory in Operating Systems

Blog banner

Mobile Survey

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

Proton mail

Blog banner

15 Interesting Facts about India

Blog banner

Firewall

Blog banner

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

Blog banner

Deadlock in operating system

Blog banner

Semaphores

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Cloud Computing

Blog banner

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

Senseless Teeths

Blog banner

Race condition

Blog banner

Worms, viruses and Bots

Blog banner

Spyware

Blog banner

Memory management

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Memory management

Blog banner

All you need to know about “Off-page SEO”

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

INTERRUPTS

Blog banner

Importance of education

Blog banner

Place to visit in pune

Blog banner

Deadlock and Starvation

Blog banner

Man VS Nature

Blog banner

Data carving - using hex editor

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Sage business cloud accounting

Blog banner