Os Quiz interview questions

173 questions. Tap “Show answer” to check yourself.

Advertisement
  1. Spooling is most beneficial in multi-programming environment where

    1. There is limited primary memory and need for secondary memory
    2. Jobs are evenly divided as I/O bound and CPU bound
    3. Most jobs are I/O bound
    4. Most jobs are CPU-bound
    Show answer

    B. Jobs are evenly divided as I/O bound and CPU bound

  2. Real time systems are

    1. Used for real time interactive users
    2. Used for program analysis
    3. Used for monitoring events as they occur
    4. Primarily used on mainframe computers
    Show answer

    C. Used for monitoring events as they occur

  3. Memory management is

    1. Critical for even the simplest operating systems
    2. Not used on multiprogramming systems
    3. Replaced with virtual memory on current systems
    4. Not used in modern operating systems
    Show answer

    C. Replaced with virtual memory on current systems

  4. The state transition initiated by the user process itself in an operating system is

    1. Timer run out
    2. Wake up
    3. Dispatch
    4. Block
    Show answer

    D. Block

  5. Multiprogramming was made possible by

    1. Operating systems
    2. Input/output units that operate independently of the CPU
    3. Both (a) and (b)
    4. Neither (a) nor (b)
    Show answer

    C. Both (a) and (b)

  6. Operating system

    1. Enables the programmer to draw a flow chart
    2. Links a program with subroutine it references
    3. Provides a layer, user friendly interface
    4. All of these
    Show answer

    C. Provides a layer, user friendly interface

  7. An operating system contains 3 user processes each requiring 2 units of resource R. The minimum number of units of R such that no deadlocks will ever arise is

    1. 3
    2. 4
    3. 5
    4. 6
    Show answer

    B. 4

  8. A critical section is a program segment

    1. Which must be enclosed by a pair of semaphore operations, P and V
    2. Where shared resources are accessed
    3. Which avoids deadlocks
    4. Which should run in a certain specified amount of time
    Show answer

    B. Where shared resources are accessed

  9. User-friendly systems are

    1. Easy to develop
    2. Required for batch-oriented processing
    3. Becoming more common
    4. Common among traditional mainframe operating systems
    Show answer

    C. Becoming more common

  10. Which of the following operating system write through catches?

    1. ULTRIX
    2. XENIX
    3. DOS
    4. UNIX
    Show answer

    C. DOS

  11. Most popular 16-bit operating system is

    1. TRS-DOS
    2. MS-DOS
    3. UNIX
    4. CP/M
    Show answer

    B. MS-DOS

  12. Which of the following is not an advantage of multiprogramming?

    1. Decreased operating system overhead
    2. Ability to assign priorities to jobs
    3. Shorter response time
    4. Increased throughput
    Show answer

    A. Decreased operating system overhead

  13. Advertisement
  14. A computer has six tape drives, with n processes competing for them. Each process may need two drives. What is the maximum value of n for the systems to be deadlock free?

    1. 3
    2. 4
    3. 5
    4. 6
    Show answer

    B. 4

  15. Thrashing

    1. Can be caused by poor paging algorithms
    2. Always occur on large computers
    3. Can always be avoided by swapping
    4. Is a natural consequence of virtual memory system
    Show answer

    A. Can be caused by poor paging algorithms

  16. Multiprocessor is used because

    1. Distributed capability
    2. They increase reliability
    3. It saves money compared to multiple single systems
    4. All of these
    Show answer

    D. All of these

  17. Dirty bit for a page in a page table

    1. Allows only read on a page
    2. Helps maintain LRU information
    3. Helps avoid unnecessary writes on a paging device
    4. None of these
    Show answer

    C. Helps avoid unnecessary writes on a paging device

  18. The operating system manages

    1. Disks & I/O devices
    2. Processor
    3. Memory
    4. All of these
    Show answer

    D. All of these

  19. To execute more than one program at a time, the system software used must be capable of

    1. Multi-tasking
    2. Coupling
    3. Virtual memory
    4. Word processing
    Show answer

    A. Multi-tasking

  20. Time sharing systems must also provide

    1. Off line system
    2. Online system
    3. Both (a) and (b)
    4. None of these
    Show answer

    B. Online system

  21. When a interrupt occurs, an operating system

    1. May change state of interrupted process to blocked and schedule another process
    2. Always resumes execution of interrupted process after processing the interrupt
    3. Always changes state of interrupted process after processing the interrupt
    4. Ignores the interrupt
    Show answer

    A. May change state of interrupted process to blocked and schedule another process

  22. The process scheduler in the processor management unit

    1. Co-ordinates the process synchronization
    2. Selects a process to run
    3. Selects a job to run
    4. Gives all submitted jobs to the job scheduler
    Show answer

    B. Selects a process to run

  23. The major operating system used in computer is

    1. UNIX
    2. OS/2
    3. MS-DOS
    4. All of these
    Show answer

    D. All of these

  24. Device independence

    1. Allows tape drives to be substituted for disk drives
    2. Makes all devices look the same to the operating systems
    3. Allows programs to be written much more easily
    4. Allows the computer to run without I/O devices
    Show answer

    C. Allows programs to be written much more easily

  25. The most important features of Microsoft windows program is (are)

    1. ICONS
    2. Pull-down menus
    3. Windows
    4. All of these
    Show answer

    D. All of these

  26. Advertisement
  27. Block cache and buffer cache are used

    1. To speed up main memory read operation
    2. To increase the capacity of the main memory
    3. To handle interrupts
    4. To improve disk performance
    Show answer

    D. To improve disk performance

  28. Turnaround time is defined as

    1. Waiting time
    2. Delay between job submission and job completion
    3. Both (a) and (b)
    4. None of these
    Show answer

    B. Delay between job submission and job completion

  29. Restrictive type of real time system is called

    1. Hard real time system
    2. Soft real time system
    3. Both (a) and (b)
    4. None of these
    Show answer

    A. Hard real time system

  30. The term “operating system” means

    1. The way a floppy disk drive operates
    2. Conversion of high level language into machine code
    3. The way computer operator works
    4. A set of program which controls computer working
    Show answer

    D. A set of program which controls computer working

  31. Special software to create a job queue is called

    1. Linkage editor
    2. Interpreter
    3. Spooler
    4. Drive
    Show answer

    C. Spooler

  32. Only filenames and extensions are to be displayed in wide format, which command you will use

    1. Dir a:
    2. Dir/b
    3. Dir/s
    4. Dir/w
    Show answer

    D. Dir/w

Advertisement