Type Here to Get Search Results !

Operating System Mcq [SET - 13] | Real Time Operating System Mcq with Answers pdf Download

 

real time operating system mcq with answers pdf download

1. When the process issues an I/O request

    it is placed in an i/o queue
     it is placed in a waiting queue
    it is placed in the ready queue

ANSWER= (A) it is placed in an i/o queue

 

2. What is the solution to starvation?

    the number of rollbacks must be included in the cost factor
    the number of resources must be included in resource preemption
    resource preemption be done instead

ANSWER= (A) the number of rollbacks must be included in the cost factor

 

3. What is the high speed memory between the main memory and the CPU called?

    register memory
    cache memory
     storage memory

ANSWER= (B) cache memory

 

4.  What are the two types of Semaphore?

    Digital Semaphores and Binary Semaphores
    Analog Semaphores and Octal Semaphores
    Counting Semaphores and Binary Semaphores

ANSWER= (C) Counting Semaphores and Binary Semaphores

 

5. What does D in the D-flip flop stand for?

     digital
    direct
     delay

ANSWER= (C) delay

 

6. Which of the following memory unit that processor can access more rapidly

    Main Memory
    Virtual Memory
    Cache memory

ANSWER= (A) Cache memory

 

7. Which of the following is the system tool?

    Backup
    Disk defragmenter
    Both of above

ANSWER= (A) Both of above

 

8. When a computer is first turned on or restarted, a special type of absolute loader called ____ is executed

    Compile and Go loader
    Boot loader
    Bootstrap loader

ANSWER= (A) Bootstrap loader

 

9. Main memory commonly is implemented in a semiconductor technology called

    MRAM
    SDRAM
    DRAM

ANSWER= (C) DRAM

 

10. Jobs are kept initially on the disk in the

    Schedule pool
    Process pool
    System pool

ANSWER= (D)  Job pool

 

11. All unsafe states are                          

    deadlocks
    not deadlocks
    fatal

ANSWER= (A) not deadlocks

 

12. When using counters to implement LRU, we replace the page with the                          

    smallest time value
    largest time value
    greatest size

ANSWER= (A) smallest time value

 

13. A single is a virtual interrupt which is created by which of the following

     Hardware
    OS
    PCB

ANSWER= (B) OS

 

14. ___________ acts as an intermediary between the computer user and the computer hardware

    Software
    Mainframe
    ROM

ANSWER= (D)  Operating System

 

15. Virtual memory allows                          

    execution of a process that may not be completely in memory
    a program to be smaller than the physical memory
    a program to be larger than the secondary storage

ANSWER= (A) execution of a process that may not be completely in memory

 

16. General-purpose computers run most of their programs from rewritable memory, called

    Main memory
    Secondary memory
    Peripheral memory

ANSWER= (A) Main memory

 

17. Which of the following is the drawback of the One to One Model?


    increased concurrency provided by this model
    decreased concurrency provided by this model
    creating so many threads at once can crash the system

ANSWER= (D) creating a user thread requires creating the corresponding kernel thread

 

18. When is the Many to One model at an advantage?

    when the program does not need multithreading
    when the program has to be multi- threaded
    when there is a single processor

ANSWER= (A) when the program does not need multithreading

 

19. Dijkstra’s banking algorithm in an operating system solves the problem of

    deadlock avoidance
    deadlock recovery
     mutual exclusion

ANSWER= (A) deadlock avoidance

 

20. Which of the following page replacement algorithms suffers from Belady’s anomaly?

    Shortest job first
    Round robin
    First come first serve

ANSWER= (C) First come first serve

 

21. Using a pager                          

    increases the swap time
    decreases the swap time
    decreases the swap time & amount of physical memory needed

ANSWER= (C) decreases the swap time & amount of physical memory needed

 

22. If no cycle exists in the resource allocation graph                          

     then the system will not be in a safe state
    then the system will be in a safe state
    all of the mentioned

ANSWER= (B) then the system will be in a safe state

 

23. In which type of the following OS, the response time is very crucial.

    Network Operating System
    Real Time Operating System
    Batch Operating System

ANSWER= (B)  Real Time Operating System

 

24. What are the requirements for the solution to critical section problem?

    Mutual Exclusion
    Progress
    Bounded Waiting

ANSWER= (A) All of Above

 

25. When a process begins execution with no pages in memory?

    process execution becomes impossible
    a page fault occurs for every page brought into memory
    process causes system crash

ANSWER= (B) a page fault occurs for every page brought into memory

 

26. If the memory access time is denoted by ‘ma’ and ‘p’ is the probability of a page fault (0 <= p <= 1). Then the effective access time for a demand paged memory is

    p x ma + (1-p) x page fault time
    ma + page fault time
    (1-p) x ma + p x page fault time

ANSWER= (C) (1-p) x ma + p x page fault time

 

27. A buffer where the data will be read into and written from is

    LPVOID Buffer
    LPOut Buffer
    LPIN Buffer

ANSWER= (A) LPVOID Buffer

 

28. What will happen when a process terminates?

    it is removed from all queues
    it is removed from all, but the job queue
    its process control block is de-allocated

ANSWER= (A)  it is removed from all queues

 

29. When the instructions are being executed, this state is known as

    New
    Ready
    Waiting

ANSWER= (D) Running

 

30. The main function of the command interpreter is

    to get and execute the next user-specified command
    to provide the interface between the API and application program
    to handle the files in operating system

ANSWER= (A) to get and execute the next user-specified command



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