1-Define, in your own words, \"multitasking\" 2- Define in you own words, \"real
ID: 3584176 • Letter: 1
Question
1-Define, in your own words, "multitasking" 2- Define in you own words, "real-time" Both in terms of embedded systemExplanation / Answer
1 Home > multitasking multitasking The ability to execute more than one task at the same time, a task being a program. The terms multitasking and multiprocessing are often used interchangeably, although multiprocessing implies that more than one CPU is involved. In multitasking, only one CPU is involved, but it switches from one program to another so quickly that it gives the appearance of executing all of the programs at the same time. There are two basic types of multitasking: preemptive and cooperative. In preemptive multitasking, the operating system parcels out CPU time slices to each program. In cooperative multitasking, each program can control the CPU for as long as it needs it. If a program is not using the CPU, however, it can allow another program to use it temporarily. OS/2, Windows 95, Windows NT, the Amiga operating system and UNIX use preemptive multitasking, whereas Microsoft Windows 3.x and the MultiFinder (for Macintosh computers) use cooperative multitasking. A type of multitasking in which the process currently controlling the CPU must offer control to other processes. It is called cooperative because all programs must cooperate for it to work. If one program does not cooperate, it can hog the CPU. In contrast, preemptive multitasking forces applications to share the CPU whether they want to or not. Versions 8.0-9.2.2 of Macintosh OS and Windows 3.x operating systems are based on cooperative multitasking, whereas UNIX, Windows 95, Windows NT, OS/2, and later versions of Mac OS are based on preemptive multitasking. 2 A clock that keeps track of the time even when the computer is turned off. Real-time clocks run on a special battery that is not connected to the normal power supply. In contrast, clocks that are not real-time do not function when the computer is off. Do not confuse a computer's real-time clock with its CPU clock. The CPU clock regulates the execution of instructions. The difference between "real time" and "real-time" is mostly a matter of style and placement. In most cases, there's no need to add the hyphen; "real time" will work very well. However, a case can be made for its use where it would clarify the writing.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.