OS Processes

    OS Processes
    The systems which allow only one process execution at a time, are called __________
    Those systems which allows more than one process execution at a time, are called multiprogramming systems. Uniprocessing means only one processor.
    OS Processes
    Which of the following is not the state of a process?
    There is no process state such as old. When a process is created then the process is in New state. When the process gets the CPU for its execution then the process is in Running state. When the process is waiting for an external event then the process is in a Waiting state.
    OS Processes
    What is a medium-term scheduler?
    A medium-term scheduler selects which process to remove from memory by swapping. The medium-term scheduler swapped out the process and later swapped in. Swapping helps to free up memory.
    OS Processes
    Which of the following need not necessarily be saved on a context switch between processes?
    Translation Look-aside Buffer (TLB) need not necessarily be saved on a context switch between processes. A special, small, fast-lookup hardware cache is called Translation Look-aside Buffer. TLB used to reduce memory access time.
    OS Processes
    Which of the following do not belong to queues for processes?
    PCB queue does not belong to queues for processes. PCB is a process control block which contains information related to process. Each process is represented by PCB.
    OS Processes
    When the process issues an I/O request __________
    When the process issues an I/O request it is placed in an I/O queue. I/O is a resource and it should be used effectively and every process should get access to it. There might be multiple processes which requested for I/O. Depending on scheduling algorithm I/O is allocated to any particular process and after completing I/O operation, I/O access is returned to the OS.
    OS Processes
    What is a short-term scheduler?
    A short-term scheduler selects a process which has to be executed next and allocates CPU. Short-term scheduler selects a process from the ready queue. It selects processes frequently.
    OS Processes
    What is a long-term scheduler?
    A long-term scheduler selects processes which have to be brought into the ready queue. When processes enter the system, they are put in the job queue. Long-term scheduler selects processes from the job queue and puts them in the ready queue. It is also known as Job Scheduler.
    OS Processes
    What is the objective of multiprogramming?
    The objective of multiprogramming is to increase CPU utilization. Generally, a single process cannot use CPU or I/O at all time, whenever CPU or I/O is available another process can use it. Multiprogramming offers this ability to OS by keeping multiple programs in a ready queue.
    OS Processes
    The primary distinction between the short term scheduler and the long term scheduler is __________
    The primary distinction between the short-term scheduler and long-term scheduler is the frequency of their execution. Short-term scheduler executes frequently while long-term scheduler executes much less frequently.