Results 1 to 6 of 6

Thread: Do you know the difference between Multitasking, multiprogramming, multithreading and

  1. #1
    Wizard MythiliK's Avatar



    Join Date
    Feb 2009
    Location
    Basel
    Posts
    1,037

    Default Do you know the difference between Multitasking, multiprogramming, multithreading and

    Do you know the difference between Multitasking, Multiprogramming, Multithreading and Multiprocessing?

    This is what I understood. Would like to hear from others, if wrong (if not wrong also)

    Though these words are used as synonym of each others by few tech people, they are not the same. They do overlap on each other, but cannot be the same.

    Multiprogramming

    The operating system can run MORE than one program. It divides the use of CPU among the programs on time sharing basis.

    For example, let us say there are two programs waiting in the pool to be executed by the CPU. So, the OS picks the first program and executes. If the program has some I/O (which means input/output) operations involved, then it puts this program in the queue and picks the second program and executes, meanwhile the first program receiving its input.

    Since the working of OS and CPU will be fast, it looks as if both the programs are executed simultaneously.

    Multitasking

    It is considered as the extension of multiprogramming. Here, the computer can perform more than one task.

    For example, let us say you are printing a documet of 100 pages. While your computer is performing that, you still can do other jobs like typing a new document. So, more than one task is performed.

    One of the main differences between multiprogramming and multitasking is, "In multiprogramming, a user cannot interact (everything is decided by OS, like picking the next program and sharing on time basis, etc...) where as in multitasking, a user can interact with the system (you can type a letter, while the other task of printing is going on)"

    Multiprocessing

    There will be more than one processor. So, a single program can be divided into pieces (like modules) and can be processed by the multi processors or sometimes, each processor can handle individual programs. (i.e If you have multiprocessing system, then it can either do multiprogramming as well as multitasking as well as multithreading). In Multiprocessing, each process will has its own system resources.

    Multithreading

    This type of programming helps when more than one client uses it. For example, let us take our DB. While I'm typing this post, there would be someone else, doing the same type of job. If DB is not having a multithread option, then not more than one person will be able to do the same job.

    It will look like multiprocessing, that is a single program processed by more than one processor. But in multithreading, there is not a must that there should be several processors with individual resources, which actually increases the overhead of operating system to start/stop the resources everytime.

    So here, a single program is divided into threads (which is a lightweight program). Then the part which is accessed by more than one client (for eg "Reply" and typing post in DB) alone will be executed as threads (making duplicates for each client), instead of running the whole program. Once when the purpose is solved, the thread will be deleted.

  2. #2
    Banned karan's Avatar
    Join Date
    Jan 2010
    Location
    surat
    Posts
    102

    Default

    These four word "Multitasking, Multiprogramming, Multithreading and Multiprocessing" has similarity of working at once,but they are different because of their use..
    Mulitasking works as doing mulitple task...

    Multiprogramming works as doing multiple programming...
    Multithreading works as opening multiple thread at once...

    and

    Multiprocessing works as multiple processing at once

    So conclusion is working of four word "Multitasking, Multiprogramming, Multithreading and Multiprocessing" is different,but doing multiple at once make same...

  3. #3
    Wizard MythiliK's Avatar



    Join Date
    Feb 2009
    Location
    Basel
    Posts
    1,037

    Default

    Quote Originally Posted by karan View Post
    So conclusion is working of four word "Multitasking, Multiprogramming, Multithreading and Multiprocessing" is different,but doing multiple at once make same...
    So Karan, you found a common thing out of four different tasks Good Job...


  4. #4
    Banned karan's Avatar
    Join Date
    Jan 2010
    Location
    surat
    Posts
    102

    Default

    Quote Originally Posted by MythiliK View Post
    So Karan, you found a common thing out of four different tasks Good Job...
    Thanks for feedback on my post...
    I always find the multitasking in different OS and friend computers..

  5. #5

    Default Multiple

    Multitasking: The ability to execute more than one task at the same time
    Multiprogramming: The allocation of a computer system and its resources to more than one concurrent application, job or user
    Multithreading: Executing more than one thread parallely using a single processor
    Multiprocessing: Simultaneous execution of instructions by multiple processors within a single computer

  6. #6
    New Member sjohn123's Avatar
    Join Date
    Jun 2010
    Location
    sjohn123
    Posts
    3

    Default

    Well this four word seems very similar but they are different form each other. You can find the exact meaning from above post. Great job and keep sharing useful information with us.

Similar Threads

  1. What Is Multithreading?
    By mariatamis in forum Programming
    Replies: 32
    Last Post: 04-08-12, 12:27 PM
  2. Difference between VB and .Net?
    By techkriti in forum Programming
    Replies: 6
    Last Post: 16-02-11, 11:39 PM
  3. make a difference
    By jyothi_pv1 in forum Your Voice / Community Center
    Replies: 4
    Last Post: 14-05-10, 11:27 AM
  4. Will an Afghan run-off make a difference?
    By NewsPoster in forum News
    Replies: 0
    Last Post: 21-10-09, 07:59 PM
  5. Replies: 0
    Last Post: 25-08-09, 10:19 AM

Tags for this Thread

Share this page with your friends

Share this page with your friends

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •