Type Here to Get Search Results !

Operating System Mcq [SET - 12] | Operating System Mcqs for Placement

 

operating system mcqs for placement



1. What is a short-term scheduler ?

    It selects which process has to be brought into the ready queue
    It selects which process has to be executed next and allocates CPU
    It selects which process to remove from memory by swapping

ANSWER= (B) It selects which process has to be executed next and allocates CPU


 

2. The run-time mapping from virtual to physical addresses is done by a hardware device called

    Process Management Unit
    CPU Management Unit
     Memory Management Unit

ANSWER= (C) Memory Management Unit

 

3. System level security is offered by the ____ in a multi-user environment.

     code
    password
    name

ANSWER= (B) password

 

4.In deadlock,only one process at a time can use the resource,this condition is called

    Single exclusion
    Exclusive exclusion
    Smart exclusion

ANSWER= (D) Mutual exclusion

 

5. Which one operation signifies that the transaction has terminated its execution

    Commit
    Abort
    Hang

ANSWER= (A) Commit

 

6. What is a medium-term scheduler ?

    It selects which process has to be brought into the ready queue
    It selects which process has to be executed next and allocates CPU
    It selects which process to remove from memory by swapping

ANSWER= (C) It selects which process to remove from memory by swapping

 

7. What is a long-term scheduler ?

    It selects which process has to be brought into the ready queue
    It selects which process has to be executed next and allocates CPU
    It selects which process to remove from memory by swapping

ANSWER= (A) It selects which process has to be brought into the ready queue

 

8. Which of the following is an efficient method of cache updating?

     snoopy writes
    write through
    write within

ANSWER= (A) snoopy writes

 

9. Which one is a major problem with priority scheduling algorithm

    Restriction
    Timing
    Starvation

ANSWER= (C) Starvation

 

10. Which of the following is not a write policy to avoid Cache Coherence?

     write through
     write within
    write back

ANSWER= (B) write within

 

11. A solution to the problem of starvation of low-priority processes is

    Aging
    Deadlock
     Scheduling

ANSWER= (A) Aging

 

12. When the data at a location in cache is different from the data located in the main memory, the cache is called                            

    unique
    inconsistent
    variable

ANSWER= (B)  inconsistent

 

13. Two general approaches are used to handle critical sections in operating systems which are preemptive and nonpreemptive ________

    user
    kernels
    pipes

ANSWER= (B) kernels

 

14.LRU stands for                        

     low rate usage
    least rate usage
    least recently used

ANSWER= (C) least recently used

 

15. The value of a binary semaphore can range between

    0 and 1
     -1 and 1
    1 and 2
ANSWER= (A) 0 and 1

 

16. Binary semaphores are also known as

    Simple locks
    Boolean locks
    Mutex locks

ANSWER= (C) Mutex locks

 

17. Whenever the data is found in the cache memory it is called as                    

    hit
    miss
     found

ANSWER= (A)  hit

 

18. Which of the following scheduler reduces the degree of multiprogramming?

     Long-term scheduler
    Short-term scheduler
    mid-term scheduler

ANSWER= (C) mid-term scheduler

 

19.  Which of the following is the solution of priority inversion problem?

    Kill the higher-priority process
    Kill the lower-priority process
     priority-inheritance protocol

ANSWER= (C)  priority-inheritance protocol

 

20. Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the :

    Running state
    Ready state
    Suspended state

ANSWER= (B) Ready state

 

21. Which one of the following is the address generated by CPU?

    physical address
    absolute address
    logical address

ANSWER= (C) logical address

 

22. Swapping

    Works best with many small partitions
    Allows many programs to use memory simultaneously
    Allows each program in turn to use the memory

ANSWER= (C) Allows each program in turn to use the memory

 

23. ____ mechanism was created, which allowed transferring data to and from memory without the intervention of the CPU.

    Driver Monitor Access
    Driver Memory Access
     Direct Monitor Access

ANSWER= (D) Direct Memory Access

 

24. What is thrashing?

    A high paging activity is called thrashing.
    A high executing activity is called thrashing
    A extremely long process is called thrashing

ANSWER= (A) A high paging activity is called thrashing.

 

25.Which process can be affected by other processes executing in the system?

    cooperating process
    child process
    parent process

ANSWER= (A) cooperating process

 

26. When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called?

    dynamic condition
    race condition
    essential condition

ANSWER= (B) race condition

 

27. By operating system, the resource management can be done via

    time division multiplexing
    space division multiplexing
    both (a) and (b)

ANSWER= (C) both (a) and (b)

 

28. The OS in IBM 370 is based on the ___ approach.

     Kernel
    Virtual Machine
    Layered

ANSWER= (B) Virtual Machine

 

29. A monitor is a module that encapsulates

    shared data structures
     procedures that operate on shared data structure
    synchronization between concurrent procedure invocation

ANSWER= (D) all of the mentioned

 

30. The number of bytes read during the last read is known as _______ bytesRead

    HANDLE
     DWORD
    LPDWORD

ANSWER= (C) LPDWORD



Friends if you like this post,kindly comment bellow and do share your responce.Thank You for Visiting.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad