Multiple Choice Questions (MCQ) on Operating Systems. Operating Systems Interview Questions.
1- Unix Operating System(OS) is
(A) Multi tasking Single User OS
(B) Multi tasking Multi User OS
(C) Single task Multi User OS
(D) Single task Single User OS
2- The technique used for protecting a critical section in Linux is
(A) Lock Step
(B) Program lock
(C) Spinlock
(D) Setlock
3- A file sized 1026 bytes occupies how much disk space if size of a block is 1024 bytes?
(A) 1026
(B) 1024
(C) 2052
(D) 4096
4- In the bakery algorithm to solve the critical section problem _______
(A) each process gets a unique number and the one with the lowest number is served next
(B) each process gets a unique number and the one with the highest number is served next
(C) each process receives a number (may or may not be unique) and the one with the lowest number is served next
(D) each process is put into a queue and picked up in an ordered manner
5- The idea of overlays is to _______
(A) keep in memory only those instructions
(B) data that are needed at any given time
(C) enable a process to be larger than the amount of memory allocated to it
(D) all of the above
6- What are the two kinds of semaphores?
(A) decimal & binary
(B) counting & decimal
(C) binary & counting
(D) mutex & counting
7- Network operating system runs on _______
(A) every system in the network
(B) server
(C) Both (A) and (B)
(D) none of the above
8- Semaphores are mostly used to implement _______
(A) System protection
(B) System calls
(C) IPC mechanisms
(D) None of the above
9- Core of an Operating System is its _______
(A) I/O
(B) Memory
(C) Process
(D) Kernel
10- Which is the process of invoking the wait operation?
(A) stopped until the next process in the queue finishes execution
(B) suspended until another process invokes the signal operation
(C) waiting for another process to complete before it can itself call the signal operation
(D) none of the above
ANSWERS:
1-(B), 2-(C), 3-(C), 4-(C), 5-(D), 6-(C), 7-(B), 8-(C), 9-(D), 10-(B)