1) In round-robin (RR) scheduling algorithm, in case the time quantum is very large (infinite), the RR policy remains the same as the _____ policy.
- LIFO (Last in First Out)
- FCFS (First Come First Server)
- SRTF (Shortest Remaining Time First)
- SJF (Shorted Job First)
2) Processes P1, P2, P3 having burst times P1=3, P2=4, P3=3 and turnaround times P1=7, P2=10, P3=9 enter the ready queue at T=0. With RR scheduling, waiting time for process P2 would be ________
- 3
- 6
- 0
- 4
3) You can use the BG command to put the current or a suspended process into the background. What is the correct syntax of BG command from the following________.
- BG[%job_id]
- BG [id#]
- BG [job#]
- BG [%id]
4) When processes are generated using fork () system call and then after that they are coordinated with each other using IPC channel. They are utilizing a separate address space for each of process (parent, child), kernel resources and IPC channel. This makes it a heavier. Which strategy can be used to make it light
- Use of Batch systems
- Termination of child process when these become more
- Scheduling of each process
- Use of threads
5) ___________ scheduling can be made into a processor sharing approach
- Round Robin
- Shortest Job First
- First Come First Server
- Shortest Remaining Time
6) UNIX System V scheduling queues, which run ____________ algorithm
- First come First Server
- Round Robin
- Shortest Remaining Time First
- Shortest Job first
7) You can have a thread wait for another thread with in the same process by using the __________ system call.
- Pthread_join ()
- Create_thread ()
- Pthread_create
- Pthread_exit ()
8) ___________ scheduling algorithm is sometimes called shortest remaining time first scheduling algorithm
- Priority Scheduling
- Preemptive Shortest Job First
- FCFS
- Non-Preemptive SJF
9) The Kernel is ___________ user threads
- Aware of
- Unaware of
- A part of
- The creator of
10) When a process P1 switches from the running state to the waiting state because an I/O request is being completed. This scheduling is called ___________.
- Preemptive
- Termination
- Switching
- Non-Preemptive