answersLogoWhite

0


Best Answer

Both terms are used to describe a computer process known as multi-tasking, where a single CPU core switches between tasks periodically to reduce inefficiency and wasted time, and to allow the user to perform multiple tasks at the same time. The difference between the two are technical distinctions, rather than a difference in their intended effect.


Multiprogramming was the first form of multi-tasking, and introduced in the the concept of yielding. When an instruction could not be completed immediately (such as when reading from a disk or other slowperipheral, the current task was set aside, and another task would run until the data from the paused task was ready.


Some time later, time sharing was introduced to allow more fine-grained control over the yielding process. The first form was known as cooperative time sharing. In this model, a program would run for a while and then willingly relinquish control so that another process could have a chance. This was referred to as cooperative time sharing. This model had some drawbacks, as programs could be written incorrectly and fail to yield in a timely manner, causing the system to become slow and unresponsive. Additionally, programs cooperated in the same unprotected memory space, so a crash of one program meant that the entire system could be brought down by a single fault.


Advances in hardware allowed for the processes to be interrupted by the operating system. This brought about the next generation of time sharing, known as preemptive time sharing. Along with this model came advances in virtual memory that allowed each program to run in its own virtual memory space. No longer would a single program cause a systemic crash, and a program could no longer fail to yield (in theory, at least).

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Multiprograming system is that system in which multiple programs run at same time or simontaniously for example windows xp.in this system does not provide user interaction with the coputer system. But time sharing systemis that provide user interaction with system and user thinks that system is with him all the time.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

http://www.answers.com/library/Hacker%20Slang-cid-1823727 = timesharing = Sponsored LinksTimeshare Bargains

Great selection of timeshares Bargain prices. Online Listings.

www.timesharestogo.com

Timeshare News & Reviews

Read Online Or Receive By email The Latest Articles & News Coverage

www.thetimeshareblog.com

[now primarily historical] Timesharing is the technique of scheduling a computer's time so that they are shared across multiple tasks and multiple users, with each user having the illusion that his or her computation is going on continuously. John McCarthy, the inventor of http://www.answers.com/topic/lisp-programming-language, first imagined this technique in the late 1950s. The first timesharing operating systems, BBN's "Little Hospital" and http://www.answers.com/topic/ctss, were deplayed in 1962-63. The early hacker culture of the 1960s and 1970s grew up around the first generation of relatively cheap timesharing computers, notably the http://www.answers.com/topic/dec-technology 10, 11, and http://www.answers.com/topic/vax lines. But these were only cheap in a relative sense; though quite a bit less powerful than today's personal computers, they had to be shared by dozens or even hundreds of people each. The early hacker comunities nucleated around places where it was relatively easy to get access to a timesharing account. Nowadays, communications bandwidth is usually the most important constraint on what you can do with your computer. Not so back then; timesharing machines were often loaded to capacity, and it was not uncommon for everyone's work to grind to a halt while the machine scheduler thrashed, trying to figure out what to do next. Early hacker slang was replete with terms like cycle crunch and cycle drought for describing the consequences of too few instructions-per-second spread among too many users. As GLS has noted, this sort of problem influenced

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Multithreading:

Multithreading is a process of executing multiple threads simultaneously.

The concept of threads provides a mechanism to make maximum utilization of CPU.Basically a thread is a light weight process.

Both multithreading and multiprocessing are used to achieve multitasking.But multithreaing is more effective than multiprocessing because multithreading share common memory area but multitasking will allocate separate memory area for each and every process.

Executing several tasks simultaneously is called multitasking. Multitasking is used for maximum utilization of cpu.

Multitasking:

Mutitasking is achieved in two ways:

  • process based multitasking
  • Thread based multitasking

for more details go through this website

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Similarities and differences of multitasking and multithreading?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is unix is multitasking or multithreading?

It uses both techniques.


Is unix operating system multitasking or multithreading?

It uses both techniques.


Difference between time sharing and multitasking and multithreading and multiprocessor?

multitasking: more task execute on sevaral cpumultithreading : sevaral part of one program execution


What where the key motivations for the development of multiproccessing and multiprogramming?

whar are key motivation for the development of multiprogrammig,multitasking,multithreading


How does multithreading differ from multitasking?

Multitasking is the execution of 2 or more programs at one time. Multithreading "threads" may be a stand-alone task. Video can be a thread and audio as another single program or application so it can be executed as two or more "threads" of instruction. Processors must support multithreading (processing) abilities of hardware to run two programs at once.


Performing more than one task at a time using different software programs is called?

multitasking.


What is the difference between conventional C and embedd C?

Advantages: - Priority based premptive scheduling -multitasking -multithreading -better response time -valuable services like senaphore,mailbox,queues etc. Disadvantages: -expensive Advantages: - Priority based premptive scheduling -multitasking -multithreading -better response time -valuable services like senaphore,mailbox,queues etc. Disadvantages: -expensive


What are main differences between cooperative multitasking and preemtive multitasking?

Preemptive multitasking is when the operating system preemptively interrupts a current task without cooperation. Cooperative multitasking is when the system must be programmed to do tasks.


What does this mean share similarities celebrate your differences?

This means acknowledging and valuing the ways in which you are alike, while also honoring and appreciating the unique qualities that make each individual different. It promotes mutual respect, understanding, and harmony among diverse individuals or groups.


Similarities and differences of Creation and Evolution?

similarities


What are the similarities and differences in windows?

When you ask for similarities and differences, you must have a second target to compare to.


What are the similarities and differences of drive theories and arousal theories?

Drive theories and arousal theories both explain behavior in terms of internal states. Drive theory posits that motivation arises from the need to reduce internal tension or satisfy biological needs, while arousal theory suggests that individuals are motivated to maintain an optimal level of arousal. The key difference is that drive theory focuses on reducing tension, while arousal theory emphasizes the desire to seek out stimulation to maintain an optimal level of arousal.