Os Quiz interview questions
173 questions. Tap “Show answer” to check yourself.
-
Spooling is most beneficial in multi-programming environment where
- There is limited primary memory and need for secondary memory
- Jobs are evenly divided as I/O bound and CPU bound
- Most jobs are I/O bound
- Most jobs are CPU-bound
Show answer
B. Jobs are evenly divided as I/O bound and CPU bound
-
Real time systems are
- Used for real time interactive users
- Used for program analysis
- Used for monitoring events as they occur
- Primarily used on mainframe computers
Show answer
C. Used for monitoring events as they occur
-
Memory management is
- Critical for even the simplest operating systems
- Not used on multiprogramming systems
- Replaced with virtual memory on current systems
- Not used in modern operating systems
Show answer
C. Replaced with virtual memory on current systems
-
The state transition initiated by the user process itself in an operating system is
- Timer run out
- Wake up
- Dispatch
- Block
Show answer
D. Block
-
Multiprogramming was made possible by
- Operating systems
- Input/output units that operate independently of the CPU
- Both (a) and (b)
- Neither (a) nor (b)
Show answer
C. Both (a) and (b)
-
Operating system
- Enables the programmer to draw a flow chart
- Links a program with subroutine it references
- Provides a layer, user friendly interface
- All of these
Show answer
C. Provides a layer, user friendly interface
-
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
- 3
- 4
- 5
- 6
Show answer
B. 4
-
A critical section is a program segment
- Which must be enclosed by a pair of semaphore operations, P and V
- Where shared resources are accessed
- Which avoids deadlocks
- Which should run in a certain specified amount of time
Show answer
B. Where shared resources are accessed
-
User-friendly systems are
- Easy to develop
- Required for batch-oriented processing
- Becoming more common
- Common among traditional mainframe operating systems
Show answer
C. Becoming more common
-
Which of the following operating system write through catches?
- ULTRIX
- XENIX
- DOS
- UNIX
Show answer
C. DOS
-
Most popular 16-bit operating system is
- TRS-DOS
- MS-DOS
- UNIX
- CP/M
Show answer
B. MS-DOS
-
Which of the following is not an advantage of multiprogramming?
- Decreased operating system overhead
- Ability to assign priorities to jobs
- Shorter response time
- Increased throughput
Show answer
A. Decreased operating system overhead
- Advertisement
-
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?
- 3
- 4
- 5
- 6
Show answer
B. 4
-
Thrashing
- Can be caused by poor paging algorithms
- Always occur on large computers
- Can always be avoided by swapping
- Is a natural consequence of virtual memory system
Show answer
A. Can be caused by poor paging algorithms
-
Multiprocessor is used because
- Distributed capability
- They increase reliability
- It saves money compared to multiple single systems
- All of these
Show answer
D. All of these
-
Dirty bit for a page in a page table
- Allows only read on a page
- Helps maintain LRU information
- Helps avoid unnecessary writes on a paging device
- None of these
Show answer
C. Helps avoid unnecessary writes on a paging device
-
The operating system manages
- Disks & I/O devices
- Processor
- Memory
- All of these
Show answer
D. All of these
-
To execute more than one program at a time, the system software used must be capable of
- Multi-tasking
- Coupling
- Virtual memory
- Word processing
Show answer
A. Multi-tasking
-
Time sharing systems must also provide
- Off line system
- Online system
- Both (a) and (b)
- None of these
Show answer
B. Online system
-
When a interrupt occurs, an operating system
- May change state of interrupted process to blocked and schedule another process
- Always resumes execution of interrupted process after processing the interrupt
- Always changes state of interrupted process after processing the interrupt
- Ignores the interrupt
Show answer
A. May change state of interrupted process to blocked and schedule another process
-
The process scheduler in the processor management unit
- Co-ordinates the process synchronization
- Selects a process to run
- Selects a job to run
- Gives all submitted jobs to the job scheduler
Show answer
B. Selects a process to run
-
The major operating system used in computer is
- UNIX
- OS/2
- MS-DOS
- All of these
Show answer
D. All of these
-
Device independence
- Allows tape drives to be substituted for disk drives
- Makes all devices look the same to the operating systems
- Allows programs to be written much more easily
- Allows the computer to run without I/O devices
Show answer
C. Allows programs to be written much more easily
-
The most important features of Microsoft windows program is (are)
- ICONS
- Pull-down menus
- Windows
- All of these
Show answer
D. All of these
- Advertisement
-
Block cache and buffer cache are used
- To speed up main memory read operation
- To increase the capacity of the main memory
- To handle interrupts
- To improve disk performance
Show answer
D. To improve disk performance
-
Turnaround time is defined as
- Waiting time
- Delay between job submission and job completion
- Both (a) and (b)
- None of these
Show answer
B. Delay between job submission and job completion
-
Restrictive type of real time system is called
- Hard real time system
- Soft real time system
- Both (a) and (b)
- None of these
Show answer
A. Hard real time system
-
The term “operating system†means
- The way a floppy disk drive operates
- Conversion of high level language into machine code
- The way computer operator works
- A set of program which controls computer working
Show answer
D. A set of program which controls computer working
-
Special software to create a job queue is called
- Linkage editor
- Interpreter
- Spooler
- Drive
Show answer
C. Spooler
-
Only filenames and extensions are to be displayed in wide format, which command you will use
- Dir a:
- Dir/b
- Dir/s
- Dir/w
Show answer
D. Dir/w