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

World’s rarest passport owned by 500 people.

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

Biometric Authentication Vulnerabilities

Blog banner

IOT- Internet Of Things

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

internet email and it's applications

Blog banner

Types of OS

Blog banner

Corporate Discipline.

Blog banner

Dekkers Algorithm

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Deadlocks in Operating Systems

Blog banner

File management -disha parekh

Blog banner

Health and fitness

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Operating system

Blog banner

VIRUS

Blog banner

5 Stages of Digital Marketing

Blog banner

Education?

Blog banner

Logical and physical address

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

A book review

Blog banner

Types of Threads

Blog banner

Population

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Linux -V Server Virtual Machine

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Steganography

Blog banner

Os Virtual Memory

Blog banner

My Favorite Country

Blog banner

Docker Framework

Blog banner

Memory Management

Blog banner

Objectives and functions of Operating System...

Blog banner

MODERN OPERATING SYSTEM

Blog banner

SQL Injection

Blog banner

Hello World

Blog banner

VIRTUAL MACHINES

Blog banner

Social media

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

Security and E-mail

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner