OSG 202 - Final Exam With Verified Answers
Graded A+
In modern printing systems, a disk accepts output from several users.
Deadlock occurs when .
A. The network connection for the printer overflows with to many requests to
use the printer.
B. The buffer fills up with too many print jobs and the printer cannot decide
which one to print.
C. The printer needs all of a job's output before it will begin printing, but the
spooling system fills the available disk space with only partially completed
output.
D. Too many users attempt to access the printer at the same time. - ANSWER C.
The printer needs all of a job's output before it will begin printing, but the
spooling system fills the available disk space with only partially completed
output.
In terms of speed the best method of Dynamic Storage-Allocation is:
A. Next fit
B. First fit
C. Worst fit
D. Best fit - ANSWER B. First fit
In terms of storage utilization the best method of Dynamic Storage-Allocation
is:
A. Next fit
ONLYSTUDENT STORE 1 DONOTCOPY
,ONLYSTUDENT STORE 2024/2025 ALL THE BEST
B. First fit
C. Worst fit
D. Best fit - ANSWER D. Best fit
List of memory location, that contains the executable program, the program's
data, and its stack is called:
A. set of resources
B. address space
C. address memory
D. All of the other choices - ANSWER C. address memory
An example of preemtable resource is
A. DVD device
B. Memory
C. CD-ROM device
D. None of the other choices - ANSWER B. Memory
Which of the following file structure is used for file system in Window?
A. Byte sequence
B. Tree
C. Record sequence
D. Ring - ANSWER B. Tree (used on large mainframe computers)
ONLYSTUDENT STORE 2 DONOTCOPY
,ONLYSTUDENT STORE 2024/2025 ALL THE BEST
Which of the following is specified to indicate the directory where the file is
located?
A. Extension
B. Sub-directory
C. Path name
D. Root directory - ANSWER C. Path name
Typical approaches to handle deadlocks do not include
A. Deterrence
B. Detection
C. Avoidance
D. Prevention - ANSWER A. Deterrence
For matrix-based algorithm to detect deadlock, number of instances of each
resource each process currently holds is given by
A. Current allocation matrix
B. Request matrix
C. Existing resource vector
D. Available resource vector - ANSWER A. Current allocation matrix
File Structure can be:
A. Byte Sequence
B. Tree
C. Record Sequence
ONLYSTUDENT STORE 3 DONOTCOPY
, ONLYSTUDENT STORE 2024/2025 ALL THE BEST
D. All of other choices - ANSWER D. All of other choices
What is interrupt vector?
(table where its entry contains the memory address of Interrupt service
routine: interrupt vector table)
A. Part of memory which contains the address of interrupt handlers
B. A signal an I/O device sends to CPU
C. The address of interrupt handlers
D. None of the other choices - ANSWER A. Part of memory which contains the
address of interrupt handlers
Which method is used to prevent the communication deadlock?
A. Acknowledge signal
B. Handling alarm
C. Timeouts
D. All of the other choices - ANSWER C. Timeouts
If a system is deadlocked, no process can
A. run
B. be awakened
C. release resources
D. All of the other choices - ANSWER D. All of the other choices
In separating I/O and memory space system, the set of I/O ports from the I/O
ONLYSTUDENT STORE 4 DONOTCOPY