T4Tutorials .PK

VU Past Papers CS604 – Operating Systems Midterm (Spring 2010, Session 3) – Solved MCQs

Q#1: The hardware mechanism that enables a device to notify CPU is called an ————-
(A) Interrupt
(B) Signal
(C) Trap
(D) Process
Answer: (A) Interrupt

Q#2: You can display the contents (names of files and directories) of a directory in UNIX/Linux directory structure with the ———— command.
(A) l
(B) s
(C) ls
(D) None of the given options
Answer: (C) ls

Q#3: The ————– system call suspends the calling process.
(A) fork
(B) wait
(C) exec
(D) exit
Answer: (B) wait

Q#4: In ———addressing, the recipient is not required to name the sender.
(A) Symmetric
(B) Asymmetric
(C) Both symmetric and asymmetric
(D) None of the given options
Answer: (B) Asymmetric

Q#5: ——– command gives a snapshot of the current processes.
(A) ps
(B) top
(C) who
(D) ls
Answer: (A) ps

Q#6: ————–command to resume the execution of a suspended job in the foreground
(A) fg
(B) bg
(C) jobs
(D) kill
Answer: (A) fg

Q#7: You can use the ————- command to display the status of suspended and background processes
(A) fg
(B) bg
(C) jobs
(D) kill
Answer: (C) jobs

Q#8: You can terminate a foreground process by pressing ————–
(A) <Ctrl-A>
(B) <Ctrl-C>
(C) <Ctrl-Z>
(D) None of the given options
Answer: (B) <Ctrl-C>

Q#9: A time sharing system is
(A) Multi tasking
(B) Interactive
(C) All of these
(D) Multi user
Answer: (C) All of these

Q#10: The main characteristic of a Real time system is
(A) Efficiency
(B) Large Virtual Memory
(C) Large secondary storage device
(D) Usability
Answer: (A) Efficiency

Q#11: Shared libraries and kernel modules are stored in _____________ directory
(A) /bin
(B) /dev
(C) /boot
(D) /lib
Answer: (D) /lib

Q#12: __________ scheduler selects the process from the job pool and put them in main memory.
(A) Long term
(B) Short term
(C) Medium term
(D) Swapper
Answer: (A) Long term

Q#13: In indirect inter process communication, a sender ___ mention the name of the recipient.
(A) do
(B) do not
Answer: (B) do not

Q#14: A ______________ is an integer variable that, apart from initialization is accessible only through two standard atomic operations: wait and signal.
(A) Semaphore
(B) Monitor
(C) Critical region
(D) Critical section
Answer: (A) Semaphore

Q#15: A semaphore that cause Busy-Waiting is termed as ___________.
(A) Spinlock
(B) Monitor
(C) Critical region
(D) Critical section
Answer: (A) Spinlock

Q#16: The execution of critical sections must NOT be mutually exclusive
(A) True
(B) False
Answer: (B) False

Q#17: The performance of Round Robin algorithm does NOT depends heavily on the size of the time quantum.
(A) True
(B) False
Answer: (B) False

Q#18: The following requirement for solving critical section problem is known as ______________.
“There exists a bound on the number of times that other processes are allowed to enter their critical sections after a process has made a request to enter its critical section and before that request is granted.”
(A) Progress
(B) Bounded Waiting
(C) Mutual Exclusion
(D) Critical Region
Answer: (B) Bounded Waiting

Q#19: The critical section problem can be solved by the following except
(A) Software based solution
(B) Firmware based solution
(C) Operating system based solution
(D) Hardware based solution
Answer: (B) Firmware based solution

Q#20: ___________ is also called Swapper.
(A) Swap space
(B) Medium term scheduler
(C) Short term scheduler
(D) Long term scheduler
Answer: (B) Medium term scheduler

Exit mobile version