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

Android Flashlight Application

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

File management -disha parekh

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

BITCOIN WALLET

Blog banner

Types of Threads

Blog banner

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

Blog banner

Virtual Memory

Blog banner

Multicore CPUs

Blog banner

Apple

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

OS ASSIGNMENT

Blog banner

gis substation

Blog banner

Reconnaissance

Blog banner

Business-to-Business

Blog banner

Balance

Blog banner

What is thread and alse multithreading

Blog banner

Deadlock

Blog banner

Importance of education

Blog banner

Memory Management in an Operating System

Blog banner

Multiprocessor and Multicore Organization

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

Advantage of freedom

Blog banner

Demystifying Cryptography: A Beginner's Guide

Blog banner

5 Stages of Digital Marketing

Blog banner

Music helps reduce stress

Blog banner

EMAIL INVESTIGATION

Blog banner

Cache Memory

Blog banner

File sharing

Blog banner

GUIDE TO GIS

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

Risk factors in service transistion

Blog banner

Veg Mix Pickle

Blog banner

How to Manage Employees and Tasks in One System (Without Excel)

Blog banner

What is Spyware? and examples of them.

Blog banner

LISP - Library Management System

Blog banner

Kernel in Operating System

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

Guidelines for a low sodium diet.

Blog banner

INTERNET

Blog banner

Way to make your meal healthier.

Blog banner

Health is Wealth

Blog banner