what is the difference between multitasking and
multithreading?

Answer Posted / levin jack

MULTITASKING MULTI THREADING
************ ***************
1.multi threaded program In a multitasking environment
contains 2
or more threads 2 or more processes will run
running concurrently. concurrently.

2.Process are heavyweight Threads are lightweight proces
process that require their &can share same address space
own address space interthread comm is less
expensive than IPC
3.More expensive: Less expensive:
runs in diff address space runs in same address space thus
thus context switching or context switching or IPC b/w
IPC b/w process is high. process is low.

4.The operating system is Multi threading is the ability
able to keep track of where of pgm or an OS process to
you are in there task & go manage its use by more than one
from one to the other user at a time & to even manage
without losing information multiple request by the same
user without having to have

. multiple copies of the pgm
running in the computer

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is e java?

560


What is the symbol for average?

520


How many functional interfaces does java 8 have?

606


Can we have static methods in an interface?

568


What is an infinite loop?

548






What is the main difference between java platform and other platforms?

509


What is unicode used for?

575


How do you declare a variable?

629


What is the difference between inheritance and encapsulation?

597


How do generics work?

521


What are aggregate functions explain with examples?

527


How can we use primitive data types as objects?

560


What is the difference between variable declaration and variable initialization?

509


What is map in java?

521


Explain about java sdk?

583