OS Processes

    OS Processes
    In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the __________
    In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the Ready State. In a time-sharing operating system unit time is defined for sharing CPU, it is called a time quantum or time slice. If a process takes less than 1 time quantum, then the process itself releases the CPU.
    OS Processes
    In Operating Systems, which of the following is/are CPU scheduling algorithms?
    In Operating Systems, CPU scheduling algorithms are:
    i) First Come First Served scheduling
    ii) Shortest Job First scheduling
    iii) Priority scheduling
    iv) Round Robin scheduling
    v) Multilevel Queue scheduling
    vi) Multilevel Feedback Queue scheduling
    All of these scheduling algorithms have their own advantages and disadvantages.
    OS Processes
    A Process Control Block(PCB) does not contain which of the following?
    Process Control Block (PCB) contains information related to a process such as Process State, Program Counter, CPU Register, etc. Process Control Block is also known as Task Control Block. Bootstrap program is a program which runs initially when the system or computer is booted or rebooted.
    OS Processes
    The only state transition that is initiated by the user process itself is __________
    The only state transition that is initiated by the user process itself is block. Whenever a user process initiates an I/O request it goes into block state unless and until the I/O request is not completed.
    OS Processes
    The entry of all the PCBs of the current processes is in __________
    The entry of all the PCBs of the current processes is in Process Table. The Process Table has the status of each and every process that is created in OS along with their PIDs.
    OS Processes
    Which system call can be used by a parent process to determine the termination of child process?
    wait() system call is used by the parent process to determine termination of child process. The parent process uses wait() system call and gets the exit status of the child process as well as the pid of the child process which is terminated.
    OS Processes
    In a multiprogramming environment __________
    In a multiprogramming environment more than one process resides in the memory. Whenever a CPU is available, one process amongst all present in memory gets the CPU for execution. Multiprogramming increases CPU utilization.
    OS Processes
    If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do.
    If all processes are I/O bound, the ready queue will almost empty and the short-term scheduler will have a little to do. I/O bound processes spend more time doing I/O than computation.
    OS Processes
    Which one of the following is not a real time operating system?
    VxWorks, QNX & RTLinux are real-time operating systems. Palm OS is a mobile operating system. Palm OS is developed for Personal Digital Assistants (PDAs).
    OS Processes
    What will happen when a process terminates?
    When a process terminates, it removes from all queues. All allocated resources to that particular process are deallocated and all those resources are returned back to OS.