Difference between THREAD, PROCESS and TASK - operating system

What are the difference between THREAD, PROCESS and TASK?

A process invokes or initiates a program. It is an instance of a program that can be multiple and running the same application. A thread is the smallest unit of execution that lies within the process. A process can have multiple threads running. An execution of thread results in a task. Hence, in a multithreading environment, multithreading takes place.

What are the difference between THREAD, PROCESS and TASK?

A program in execution is known as ‘process’. A program can have any number of processes. Every process has its own address space.

Threads uses address spaces of the process. The difference between a thread and a process is, when the CPU switches from one process to another the current information needs to be saved in Process Descriptor and load the information of a new process. Switching from one thread to another is simple.

A task is simply a set of instructions loaded into the memory. Threads can themselves split themselves into two or more simultaneously running tasks.
Differentiate between RAM and ROM - operating system
RAM: - Volatile memory - Electricity needs to flow continuously - Program information is stored in RAM.......
What is DRAM? In which form does it store data? - operating system
DRAM – Dynamic Random Access Memory. One of the read / write memory. DRAM is cheap and does the given task.......
What is cache memory? Explain its functions - operating system
Cache memory is RAM. The most recently processing data is stored in cache memory. CPU can access this data more quickly than it can access data in RAM.......
Post your comment