Question 1
Section A [10 marks]
Below are multiple choice questions as well as true / false questions. Select the correct answers.
[10]
1.1
If the File Manager is required to provide detailed instructions for each system device (how to
start it, get it to move to the correct place where the desired record is located, and when to
stop), then the program is considered device dependent. True/False
1.2 When using DMA, the CPU controls the transfer of data to and from memory over the system
bus. True/False
1.3
If locks are not used to preserve data integrity, the updated records in a database may include
only some of the data—and their contents depend on the order in which each process finishes
its execution. True/False
1.4 The segmented/demand paged memory allocation scheme is a combination of segmentation
and demand paging, and it offers the logical benefits of segmentation, as well as the physical
benefits of paging. True/False
1.5 CPU-bound jobs (such as printing a series of documents) have many brief CPU cycles and long
1/0 cycles. True/False
1.6 Consider the printer event below:
P1 requests and is allocated the printer R1.
P1 releases the printer R1.
P2 requests and is allocated the disk drive R2.
P2 releases the disk R2.
P3 requests and is allocated the plotter R3.
P3 releases the plotter R3.
Assume that the events above are occurring in the order given (1-6). Which of the following
statements is true?
a)
Event 4 caused deadlock
b)
Event 5 caused deadlock
c)
Event 6 caused deadlock
d)
There is no deadlock
Page 1 of 6