Choose a topic to test your knowledge and improve your Operating system skills
Supervisor call :-
Round-robin scheduling is essentially the preemptive version of :-
FIFO scheduling is :-
In real time operating system,which of the following is the most suitable scheduling algorithms
In round-robin CPU scheduling, as the time quantum is increased , the average turn around time
Preemptive scheduling is the strategy of temporarily suspending a running process
Which of the following statements is true? 1. Shortest remaining time first scheduling may cause starvation 2.Preemptive scheduling may cause starvation 3. Round robin is better than FCFS in terms
Function of operating system :-
In which state, a process goes to the CPU
If a process require a input/output then process goes to
Which of the following statements are true?
At particular time, the value of a counting semaphore is 10. It will become 7 after
At particular time, the value of a counting semaphore is 4. It will become 7 after
At particular time, the value of a counting semaphore is 10. It will become 9 after
At particular time of computation the value of a counting semaphore in 7. Then 20P operation and X V operation were performed on this semaphore. If the final value of semaphore is 5, X will be -
Value of Counting semaphore is -
A critical region
A thread -
which one is a high level abstraction over semaphore ?
A binary semaphore
A threads is a
Consider The following statements with respect to user clever threads and kernel supported threads: a. context switch is faster with kernel supported threads b. for user level threads, a system call
Necessary condition for deadlock
Method of handling deadlock ?
Banker algorithms is a example of
Mutual exclusion is a problem occurs between
A system has 3 processes sharing 4 resources. If a each process need maximum of 2 units, then
With a single resource, deadlock occurs
Processes wait for infinite time in
A state is safe if the system call allocate resources to each process(upto its maximum) in same order and still avoid deadlock. Then
Resources are allocated to a process on non-shareable basic in
The method of dealing with deadlock problem is
Which of the following is NOT a valid deadlock prevention scheme?
Consider a virtual memory system with FIFO page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will
Which of the following requires a device driver?
Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if the operating system implements a s
A CPU generates 32-bit virtual addresses. The page size is 4 KB. The processor has a translation look-aside buffer (TLB) which can hold a total of 128 page table entries and is 4-way set associative.
In which one of the following page replacement policies, Belady’s anomaly may occur?
The essential content(s) in each entry of a page table is / are
Consider a disk system with 100 cylinders. The requests to access the cylinders occur in following sequence: 4, 34, 10, 7, 19, 73, 2, 15, 6, 20 Assuming that the head is currently at cylinder 50, wh
A process executes the code fork(); fork(); fork(); The total number of child processes created is
Total number of child processes created by following program is for(i=0;i<3;i++) fork();
Total number of child processes created by following program is for(i=0;i<4;i++) fork();
Total number of child processes created by following program is for(i=0;i<1;i++) fork();
Total number of child processes created by following program is x for(i=0;i<8;i++) fork(); then x-250= ?
A file system with 300 GByte uses a file descriptor with 8 direct block address. 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of
A multilevel page table is preferred in comparison to a single level page table for translating virtual address to physical address because
Consider a machine with 64 MB physical memory and a 32-bit virtual address space. If the page size is 4KB, what is the approximate size of the page table?
A system uses FIFO policy for page replacement. It has 4 page frames with no pages loaded to begin with. The system first accesses 100 distinct pages in some order and then accesses the same 100 pages
Memory protection is of no use in
In which of the following page replacement policies Belady anomaly may occur ?
A page fault occurs
Virtual memory is commonly implemented by -
The mechanism that bring a page into memory only when it is needed is called-
Which of the following statement is false?
The first fit best fit and worst fit algorithm can be used for-
The essential contents in each entry of a page table is -
A file is
The simplest directly structure is -
Disadvantage of single level directory is -
Solution of name collision problem is
which structure prohibits sharing of file and directory
There are no cycle in which of the directory -
The lowest level of I/O control consists of -
Access time is the highest in case of
What is the shell ?
If the disk head located initially at 32, find the no of disk moves required with FCFS if the disk queue of I/O block requests are 98,37,14,124,65,67
Magnetic tape can serve as
Supervisor state is
The operating systems manages
PCB is stands for -
Which of the following file name extension suggests that the file is backup copy of another file ?
Which is not the state of the process ?
Which is the state of process ?
The problem of thrashing is effected by scientifically by-
The number of processes completed per unit time is known as
What is the memory from 1k to 640k called ?
Process state is a part of
A program at time of execution is called ?
A thread is a ?
The state of process after it encounters an I/O instruction is
The major problem with priority scheduling is ?
______ OS pays more attention on the meeting of the the time limit
A process said to be in ______ state if it was waiting for an event that will never occur
The operating system of a computer serve as a software between the user and the
The removal of process from active contention of CPU and reintroduce them into memory later is known as
_______ allocates the largest hole available in the memory
A binary semaphore -
The hardware mechanism that enable a device to notify the CPU is called
The banker algorithms is used
Which data structure are used for process scheduling ?
_______ is a high level abstraction over semaphore
How many page faults occur for optimal page replacement following reference string, with four page frames ? 1,2,3,4,5,3,4,1,6,7,8,7,8,9,7,8,9,5,4,5,4,2
If you dont know which version of MS-DOS you are working with, which command will you use after booting your operating system ?
How many page faults occur in LRU replacement following reference string, with four page frames ? 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1
Which scheduling policy is most suitable for a time sharing operating systems ?
A processor needs software interrupts to
Which of the following does not interrupt a running process
System calla are usually invoked by using