The Final
The Final
Virtual Memory Offers lesser hard drive space for your use. 1.What is an Operating System? PROCESS SCHEDULER
Virtual Memory is a storage mechanism which It reduces system stability. An Operating System (OS) is After a job has been placed on the READY
offers user an illusion of having a very big main It allows larger applications to run in systems system software that manages computer queue by the Job Scheduler, the Process
memory. It is done by treating a part of that don’t offer enough physical RAM alone to hardware, software resources and provides Scheduler
secondary memory as the main memory. In run them. common services for computer programs. takes over it.
Virtual memory, the user can store processes It doesn’t offer the same performance as RAM. 2. What are the four types of operating system? The Process Scheduler is the low-level
with a bigger size than the available main It negatively affects the overall performance of a Batch Operating System scheduler that assigns the CPU to execute the
memory. system. Multitasking/Time Sharing Operating System processes of
Occupy the storage space, which may be used Multiprocessing Operating system those jobs placed on the READY queue by the
Therefore, instead of loading one long process otherwise for long term data storage. Real Time Operating System Job Scheduler.
in the main memory, the OS loads the various Summary 3. What are the functions of an Operating It determines which jobs will get the CPU,
parts of more than one process in the main Virtual Memory is a storage mechanism which System? when, and for how long. It also decides when
memory. Virtual memory is mostly implemented offers user an illusion of having a very big main Memory Management processing
with demand paging and demand segmentation. memory. Processor Management should be interrupted, determines which queues
Advantages of Virtual Memory Virtual memory is needed whenever your Device Management the job should be moved to during its execution,
Here, are pros/benefits of using Virtual computer doesn’t have space in the physical File Management and recognizes when a job has concluded and
Memory: memory 4. Which is the first operating system in world? should be terminated.
A demand paging mechanism is very much OS/360 officially known as IBM To schedule the CPU, the Process Scheduler
Virtual memory helps to gain speed when only a similar to a paging system with swapping where System/360 Operating System based on batch alternate between CPU cycles and I/O cycles.
particular segment of the program is required processes stored in the secondary memory and processing system developed eby IBM for their Note:
for the execution of the program. pages are loaded only on demand, not in then-new system/360 mainframe computer, In a highly interactive environment, there‘s also
It is very helpful in implementing a advance. announced in 1964, was the first operating a third layer of the Processor Manager called the
multiprogramming environment. Important Page replacement methods are 1) system that was developed. middle-level scheduler.
It allows you to run more applications at once. FIFO 2) Optimal Algorithm 3) LRU Page When the system is over-loaded, the
It helps you to fit many large programs into Replacement. 5. What are the main Operating System? middle-level scheduler finds it is advantageous
smaller programs. In FIFO (First-in-first-out) method, memory The Windows, OS X and Linux logos. to remove
Common data or code may be shared between selects the page for a replacement that has been The Windows GUI. active jobs from memory to reduce the degree of
memory. in the virtual address The OS X GUI. multiprogramming, which allows jobs to be
Process may become even larger than all of the of the memory for the longest time. 6. What is Memory Management? completed faster.
physical memory. The optimal page replacement method selects Memory Management is the The jobs that are swapped out and eventually
Data / code should be read from disk whenever that page for a replacement for which the time to process of controlling and coordinating swapped back in are managed by the
required. the next reference is the longest. computer memory, assigning portions called middle-level
The code can be placed anywhere in physical LRU method helps OS to find page usage over a blocks to various running programs to optimize scheduler.
memory without requiring relocation. short period of time. overall system performance. Memory In a single-user environment, there‘s no
More processes should be maintained in the Virtual memory helps to gain speed when only a management resides in hardware, in the OS distinction made between job and process
main memory, which increases the effective use particular segment of the program is required for (Operating System), and in programs and scheduling
of CPU. the execution of the program. applications. because only one job is active in the system at
Each page is stored on a disk until it is required Applications may run slower if the system is 7. What is most commonly used memory any given Time
after that, it will be removed. using virtual memory. management technique?
It allows more applications to be run at the same Paging is a technique in the main
time. memory of computer system is organized in the
There is no specific limit on the degree of form of equal sized blocks called pages. In the
multiprogramming. technique, the address of occupied pages of
Large programs should be written, as virtual physical memory are stored in a table, its known
address space available is more compared to as page table.
physical memory. 8. What is virtual memory with example?
Disadvantages of Virtual Memory An imaginary memory area
Here, are drawbacks/cons of using virtual supported by some operating systems (for
memory: examples, windows but not DOS) in
conjunction with the hardware. The purpose of
Applications may run slower if the system is virtual memory is to enlarge the address space,
using virtual memory. the set of addresses a program can utilize.
Likely takes more time to switch between Example, virtual memory might
applications. contain twice as many