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

Vulnerabilities in OnePlus Devices

Blog banner

Navigating the Digital Battlefield: Security Breaches and Effective Countermeasures

Blog banner

Uniprocessor Scheduling

Blog banner

Operating Systems

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Security Issues

Blog banner

Virtualization

Blog banner

Tableau

Blog banner

Quality check in IT services

Blog banner

Virtual Memory

Blog banner

Know your Processors!

Blog banner

Difference Between Classification And Clustering

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

RAID - LEVELS OF RAID

Blog banner

Water Resources are about to exhaust...

Blog banner

Docker Framework

Blog banner

INTRANET

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Data Lake

Blog banner

Steps to create an Ubuntu EC2 Instance with GUI in AWS

Blog banner

File system implementation

Blog banner

evolution of operating system - Disha Parekh

Blog banner

What is a Malware ?

Blog banner

Mobile Security

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Scheduling

Blog banner

PERT Overview

Blog banner

What is semaphore in operating system?

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

Fault Tolerance

Blog banner

Cybersecurity Standards for Automotive

Blog banner

What is Internet

Blog banner

Security Issues and Countermeasures

Blog banner

ODOO

Blog banner

Virtual memory

Blog banner

Different types of scam frauds

Blog banner

IT Service as as Value Creation

Blog banner

Consumer to consumer Business model

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

Process states

Blog banner

Explain Multiprocessors

Blog banner