Type Here to Get Search Results !

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

 

real time operating system mcq with answers pdf download



1. If execution time binding is being used, then a process  be swapped to a different memory space.

    has to be
    can never
    must

ANSWER= (d) may

 

2. Swapping requires a 

     motherboard
    keyboard
    monitor

ANSWER= (D) backing store

 

3. Which one of the following errors will be handle by the operating system?

     Uniprogramming systems
     Unitasking systems
    Uniprocessing systems

ANSWER= (A) Uniprocessing Systems

 

4. In operating system, each process has its own ............

    Open files
    Address space and global variables
    Pending alarms, signals and signal handlers

ANSWER= (A) All of these

 

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

    physical address
    absolute address
    logical address

ANSWER= (C) logical address

 

6. Which one of the following is not a real-time operating system?

     Palm OS
    VxWorks
    Windows CE

ANSWER= (A) Palm OS

 

7. Each entry in a segment table has a

     segment base
    segment peak
    segment value

ANSWER= (A)  segment base

 

8. The segment limit contains the

     starting logical address of the process
    starting physical address of the segment in memory
    segment length

ANSWER= (C) segment length

 

9. The offset ‘d’ of the logical address must be                          

    greater than segment limit
    between 0 and segment limit
    between 0 and the segment number

ANSWER= (B) between 0 and segment limit

 

10. If exec is called immediately after forking

     the program specified in the parameter to exec will replace the entire process
    all the threads will be duplicated
     all the threads may be duplicated

ANSWER= (A) the program specified in the parameter to exec will replace the entire process

 

11. If a process does not call exec after forking

    the program specified in the parameter to exec will replace the entire process
    all the threads should be duplicated
     all the threads should not be duplicated

ANSWER= (B) all the threads should be duplicated

 

12. When one thread immediately terminates the target thread, it is called                          

     asynchronous cancellation
    systematic cancellation
     sudden termination

ANSWER= (A) asynchronous cancellation

 

13. Cancellation point is the point where

    the thread can be cancelled – safely or otherwise doesn’t matter
    the thread can be cancelled safely
    the whole process can be cancelled safely

ANSWER= (A)  the thread can be cancelled safely

 

14. Signals of a given type                          

     are queued
    are all sent as one
    cannot be queued

ANSWER= (B) are all sent as one

 

15. The three ways in which a process responds to a signal are                          

    ignoring the signal
    handling the signal
    performing some default action

ANSWER= (D) all of the mentioned

 

16. Signals are identified by                          

     signal identifiers
    signal handlers
    signal actions

ANSWER= (A) signal identifiers

 

17.  When a process blocks the receipt of certain signals?

    the signals are delivered
    the signals are not delivered
    the signals are received until they are unblocked

ANSWER= (A) the signals are delivered

 

18. The maintains pending and blocked bit vectors in the context of each process.

    cpu
     memory
    process

ANSWER= (A) kernel

 

19. In UNIX, the set of masked signals can be set or cleared using the function.

     sigmask
     sigmaskproc
    sigprocmask

ANSWER= (C) sigprocmask

 

20. To avoid deadlock                          

    there must be a fixed number of resources to
     resource allocation must be done only
    all deadlocked processes must be

ANSWER= (A) there must be a fixed number of resources to

 

21. What is the mounting of file system?

    creating of a filesystem
    deleting a filesystem
    attaching portion of the file system into a directory

ANSWER= (C) attaching portion of the file system into a directory

 

22.  Data cannot be written to secondary storage unless written within a              

    file
    swap space
     directory

ANSWER= (A)  file

 

23. Which one of the following is not a valid state of a thread?

     running
     parsing
    ready

ANSWER= (B) parsing

 

24. The register context and stacks of a thread are deallocated when the thread?

     terminates
    blocks
    unblocks

ANSWER= (A) terminates

 

25. Thread synchronization is required because                        

    all threads of a process share the same address space
    all threads of a process share the same global variables
    all threads of a process can share the same files

ANSWER= (D) all of the mentioned

 

26. A thread shares its resources(like data section, code section, open files, signals) with

    other process similar to the one that the thread belongs to
     other threads that belong to similar processes
    other threads that belong to the same process

ANSWER= (C) other threads that belong to the same process

 

27. The size of the virtual memory depends on the size of the

    data bus
    main memory
    address bus

ANSWER= (C) address bus

 

28.  Which of the following scheduling algorithms gives minimum average waiting time?

    FCFS
    SJF
     Round-robin

ANSWER= (A) SJF

 

29.  ‘Login-ID and Password’ mechanism is implemented in an operating system to ensure which of the following aspects of security

    Confidentiality
    Integrity
    Authentication

ANSWER= (C) Authentication

 

30. Which one is a memory-management scheme that permits the physical address space of a process to be noncontiguous

    scheduling
    swapping
     paging

ANSWER= (C) paging



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.

Below Post Ad