COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

OPERATING SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What does the OS manage to allow multi-tasking?
A
Hard disk
B
Memory and CPU
C
Motherboard
D
None of the above
Explanation: 

Detailed explanation-1: -CPU scheduling: Multi-task operating system manages CPU time allocation to each of the processes. This ensures that every process has sufficient and equal CPU time. For this purpose, preemptive scheduling is performed that allows the operating system to interrupt any time taking process.

Detailed explanation-2: -Such operating systems allow multiple programs and processes to simultaneously run on a computer system. Multitasking operating systems help in managing the allocation of system resources such as CPU time, input/output devices, and computer memory among programs that are running.

Detailed explanation-3: -To accommodate the allocation process, the OS continuously moves processes between memory and storage devices (hard disk or SSD), while tracking each memory location and its allocation status. The OS also determines which processes will get memory resources and when those resources will be allocated.

Detailed explanation-4: -Through the use of regular interruption signals, the OS can prioritise and juggle the requests made to the processor. This gives the illusion that the CPU is actually dealing with more than one program or task at once (multitasking). Errors are spotted and usually dealt with without needing to alert the user.

Detailed explanation-5: -The operating system determines how much memory the program requires, and allocates enough pages to hold it and its documents. When the program is closed, the allocated pages are freed up for use by other programs. The pages a program occupies may or may not be contiguous, but this does not matter.

There is 1 question to complete.