GeekInterview.com
Series: Subject: Topic:
Question: 700 of 2110

WHAT IS THE DIFFERENCE BETWEEN MULTI-THREADING AND MULTI-PROCESSING?

Asked by: juluru_manoj28 | Member Since Nov-2005 | Asked on: Feb 3rd, 2006

View all questions by juluru_manoj28   View all answers by juluru_manoj28

Showing Answers 1 - 16 of 16 Answers
kishore kumar

Answered On : Feb 3rd, 2006

View all answers by kishore kumar

mainly multi-threading is we can open multiple pages what ever we like  but    we cannot process at a time even then the multi processing can do or process different pages at a time while one page is processing we can make at that time we can process other page also. 

  
Login to rate this answer.
YON

Answered On : Feb 15th, 2006

Multitasking is running several processes at a time. Multi threading runs several threads of a single process at a time.The priority levels of threads are from 1-10.Normal priority comes to 5. Multi threading is normal in any window environment, otherwise the screen would stuck everytime you clicked on something until that execution was accomplished.

Yes  1 User has rated as useful.
  
Login to rate this answer.
mouli varma

Answered On : Feb 18th, 2006

multithreding means we can excute different parts of a program simaltaniouslymultiprocessing means excute different parts of a program at a time

  
Login to rate this answer.
mca_udit

Answered On : Feb 26th, 2006

View all answers by mca_udit

Hey i think multi-processing is done at the coarse gain level where we have so many programs to execute and we have to stabilish concurrency...while the multitasking is done at the fine gain level where we have only 1or 2 program and we have to divide the program into threads and run concurrently.......mca_udit@yahoo.com

  
Login to rate this answer.
Lalitha Subramanyam

Answered On : Mar 2nd, 2006

Hi pals,    Multithreading is the ability to perform different tasks of a process simultaneously.This is achieved by using  a seperate thread for each task.Though there are several threads in a process, at a time the processor will handle only a single thread.Though it appears to be concurrent processing to the end user, internally only single thread will be running.Processor is able to multitask by switching between the threads.   When it comes to Multiprocessing there will be more than one processor and each thread will be handled by a different processor.Thus leading to concurrent processing of tasks.Thanks,Lalitha Subrahmanyam

  
Login to rate this answer.

multi processing means we can execute several programs at a time and multi threading means executing diffrent parts of the program at a timefor example if we take we can open several pages at a time in multi threading and we can process only one page at a time with preference 5. The thread have the preference 1-10 normal preference given to any thread is 5where as in multi process we can open multiple pages and we can process all the pages at once

  
Login to rate this answer.
anil

Answered On : Mar 13th, 2006

Processing different processes on different threads is multi processing whereas processing same process on different threads is multithreading.

  
Login to rate this answer.
chahal_khushiwnder@yahoo.co.in

Answered On : Mar 14th, 2006

There is no difference between multithreading and multiprocessing its the only ur illusion.

  
Login to rate this answer.
culver_lake

Answered On : Mar 19th, 2006

Everyone is making this more difficult than it needs to be.  There is certainly a difference and it doesn't require more than one processor.multiprocessing (early 1970's) ability to run more than one program at a time on a machineMulti threading (later 1970's) one copy of the program code in memory, many processes sharing the code. (CICS is a perfect example and one of the oldest products based on multi threading). Associated terms: reentrant code, quasi-reentrant code.

  
Login to rate this answer.
Radhika

Answered On : Apr 3rd, 2006

I found that Ms.Latha and Mr/s culver_lake have given most clear explanation to a rather confusing question.Thanks for clarifying the concept.Radhika.

  
Login to rate this answer.
deenesh

Answered On : Apr 18th, 2006

 ya lalitha, good answer

  
Login to rate this answer.
sitaram81581

Answered On : May 22nd, 2006

View all answers by sitaram81581

Multi processing means executing several programs at a time using more than one processor.Multi tasking means executing several programs at a time using only one processor. (Round robin processor time-sharing algorithm)Multi threading means executing diffrent parts of a program simultaneously (Round robin processor time-sharing algorithm)

Yes  1 User has rated as useful.
  
Login to rate this answer.
sitaram81581

Answered On : May 22nd, 2006

View all answers by sitaram81581

Multi processing means executing several programs at a time using more than one processor.Multi tasking means executing several programs at a time using only one processor. (Round robin processor time-sharing algorithm)Multi threading means executing diffrent parts of a program simultaneously (Round robin processor time-sharing algorithm)Processor allocates some memory for each program to be executed. Hence each process (program which is being executed) has its own memory. Whereas in Multi-threaded program, the program itself is divided into different parts (threads) which share the memory & processor time and will be executed simultaneously. Thus, thread is also called as light-weight process.Since each process has its own memory & CPU (processor) time, inter-process communication is very difficult to achive, whereas inter-thread communication is very easy because all the threads of a program share common memory and processor time ( in round robin fashion ).// Written by Seetha Ram Janapala -- sitaram81581@rediffmail.com

  
Login to rate this answer.
Rohit sachan

Answered On : Jul 24th, 2006

In multithreading as name suggest has more than one thread running in multi processing more than one process..Now question is whts difrence b/w thread and process .. diffrence is threads usees same data segment means same heap in JVM will be shared by Threads and in multiprocessing diffrent data segements are required ..so Processes are heavier than Threads for Processor.Runing JVM is a process and Doing runnable tasks by Threads are obviously threads for JVM..:)

  
Login to rate this answer.
Vara Rama Krishna Chadaram

Answered On : Aug 7th, 2006

MULTI-THREADING :
It refers to the ability of the operating system to execute multiple parts of a process simultaneousliy.

MULTI-PROCESSING:
It refers to the ability of the operating system to execute multiple programs simultameously .The process time is shared between the programs.

  
Login to rate this answer.
kazi_latiful

Answered On : May 23rd, 2011

View all answers by kazi_latiful

Multi processing is term that multi program can execute with multi processor that can share the same physical memory space.on the other hand multi-threading is that different program can execute on different time on simultaneously that can share same memory address space.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.