Professional Documents
Culture Documents
Test 1
Test 1
Test 1
Question 2 Which of the following units is neccessary to the polling interaction scheme?
Complete
Select one:
Mark 1.00 out of 1.00
MMU
none mentioned
DMA
IC
clock
Question 3 In the CP/M lesystem all le's block numbers are stored in directory
Complete
Select one:
Mark 1.00 out of 1.00
True
False
Question 4 A thread is
Complete
Select one or more:
Mark 1.00 out of 1.00
section of memory allocated to a process
Question 6 There are three free memory regions: 3KB, 2KB i 6KB. What is the size of the
Complete largest free memory region after 1KB is allocated with the best t strategy?
4 KB
6 KB
8 KB
7 KB
1 KB
5 KB
3 KB
Question 7 A proces is in the ready state when
Complete
Select one or more:
Mark 1.00 out of 1.00
it is ready to be executed
it has nished
pizza()
knife()
fork()
spoon()
spawn()
start_process()
CreateProcess()
exec()
character device
shared
sequential access
exclusive
random access
Question 10 Removing a removable disk without the prior use of "Safely remove hardware"
Complete
icon in Windows can result in
lesystem inconsistency
Question 11 IIn von Neumann architecture data and program code are stored in operating
Complete
memory; only the order of instructions to execute is implied by the hardware
control circuit.
Mark 1.00 out of 1.00
Select one:
True
False
Question 12 When the interupt driven interaction of the central unit with an I/O device is
Complete more ef cient than polling?
always
e. partition size may change after allocation, depending on the number of processes in
the system.
Question 14 How many directory entries are used for one le in CP/M lesystem?
Complete
Select one:
Mark 1.00 out of 1.00
0 or 1
exactly 1
Question 15 There are three free memory regions: 3KB, 2KB i 6KB. What is the size of the
Complete
largest free memory region after 1KB is allocated with the worst t strategy?
b. 3 KB
c. 6 KB
d. 1 KB
e. 8 KB
f. 5 KB
g. 2 KB
h. 4 KB
Question 16 In a le system with contiguous allocation, in a 20 block partition, there are 2
Complete
les. One starts with block 5 and occupies 4 blocks. The other one starts at block
13 and is 6 blocks long. What is the maximal size of a le which can be stored in
Mark 1.00 out of 1.00 the lesystem without doing any reallocation?
Answer: 5
to facilitate use of some speci c I/O devices (eg. disk, network interface)
Question 18 Every second consecutive processes P1, P2, P3 are admitted to the system. Their
Complete
running times are 3, 2, 1 sec. respectively. Which of the processes nishes last if
the SJF scheduling is used?
Mark 1.00 out of 1.00
Select one:
P1
P2
P3
Question 19 In a virtual memory system, the following sequence of memory references occurs
Complete 1, 2, 1, 3, 4, 2, 4, 3. How many page faults will be raised, if the WS algorithm is
used with window length 3? Frames are initially empty.
Mark 1.00 out of 1.00
Answer: 6
Question 20 Which are true?
Complete
Select one or more:
Mark 0.00 out of
a. Deadlocks can be avoided by using the orderly allocation of resources
1.00
b. Deadlocks can be avoided by the use of semaphores
b. name
e. le owner identi er
f. size
g. le access permissions
Question 22 Replacing on demand means that page is replaced when there are no free frames
Complete
left.
False
Answer: 1033
b. intermittent allocation.
c. contiguous allocation.
d. indexed allocation.
Question 26 In a virtual memory system, the following sequence of memory references occurs:
Complete
3, 2, 7, 4, 5, 1, 3, 6, 1, 2, 4 and no page has been yet swapped out. What page will
be replaced if no free frames are left and the next page addressed is 8 and the
Mark 1.00 out of 1.00 FIFO algorithm is used?
Answer: 3
is such that at each moment only one task is allowed per user
is such that at each moment only single task can be executed by the CPU so that the
mechanism of a context switch is necessary
Question 30 The SJF scheduling algorithm is used. Every consecutive second the processes P1,
Complete
P2, P3, P4 are admitted, with respective running times of 5, 3, 6 and 2 seconds. In
what order they nish processing?
Mark 1.00 out of 1.00
Second P4
Last P3
First P1
Third P2
Question 31 System clock interrupts are
Complete
Select one or more:
Mark 1.00 out of 1.00
software interrupts
diagnostic interrupts
external interrupts
register
interrupt
cache
time
b. CPU allocation