OSG202 (Full)
OSG202 (Full)
OSG202 (Full)
(2301)
a. A trap instruction switch the execution mode of a CPU
from the user mode to the kernel mode.
b. A trap instruction is caused by a user program to invoke
functions in the OS kernel
c. An interrupt is caused by an external event
d. All of the above
2 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
11. C 11 (2304) What is interrupt vector?
a. A signal an I/O device sends to CPU
b. A signal an I/O device sends to CPU
c. Part of memory which contains the addresses of inter-
rupt handlers
d. None of the above
4 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
c. Peterson's Solution
d. All of the above
5 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
( Running J
( Blocked j , C Ready J
a. 1: Process blocks for input; 2: Scheduler picks another
process; 3: Scheduler picks this process; 4: Input be-
comes available
b. 1: Process blocks for input; 2: Scheduler picks this
process; 3: Scheduler picks another process; 4: Input
becomes available
c. 1: Process blocks for input; 2: Input becomes available;
3: Scheduler picks another process; 4: Scheduler picks
this process
d. 1: Process blocks for input; 2: Input becomes available;
3: Scheduler picks this process; 4: Scheduler picks anoth-
er process
6 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
a. If the quantum is very large, RR is essentially FCFS
b. If the quantum is very small, the CPU efficiency is
reduced
c. A reasonable value of quantum is around 20-50 ms
d. None of the above
(2529) Fault?
a. Present/absent bit
b. Status bit
c. Referenced bit
d. Modified bit
41. B 11 (2539) LRU replaces the page that has spent the
47. B 2 (2542) Which of the following is true about the block size
in disk space management
a. the larger the block size is the lower the data rate is
b. the larger the block size is the worse the disk space
utilization is
c. the larger the block size is lesser the disk space is
d. none of the above
49. D 4 (2546) Which of the following is not a path name for the
file /etc/passwd
a. /etc/passwd
b. /etc/../etc/passwd
c. /etc/../etc/../etc/passwd
d. None of the above
50. D 5 What are the allocation methods of disk blocks for files:
(2549)
a. Contiguous allocation
10 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
b. Linked allocation
c. Indexed allocation
d. All of the above
11 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
d. Hard links can point to files on other machines
*********************************************
63. B 8 (2579) What kind of I/O devices that disks and tapes
belong to?
a. Stream-oriented devices
b. Block-oriented devices
c. Character-oriented devices
d. None of the above
65. A
13 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
10 (2582) The I/O technique where the processor busy
waits for an I/O operation to complete is called:
a. Programmed I/O
b. Interrupt-driven I/O
c. Direct Memory Access (DMA)
d. None of the above
(2587)
a. Starvation
b. Deadlock
c. Prioritization
d. All of the above
15 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
c. be awakened
d. do nothing
17 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[D]
Monitor
18 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
86. A Critical Region (Section) concept used in interprocess
communication is:
[A]
A part of shared memory
[B]
A part of the program where the shared memory is ac-
cessed
[C]
None of the other choices
[D]
A part of shared data
19 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[A]
Monolithic Systems
[B]
All of the other choices
[C]
MS-DOS
[D]
Client-Server Model
20 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
93. D Which ofthe following operating systems is an example of
monolithic system?
[A]
Windows XP
[B]
Mac OS
[C]
UNIX
[D]
MS-DOS
21 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[C]
An interrupt is caused by an external event
[D]
All ofthe other choices
22 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
4 msec. 40 msec. 20 sec
[C]
2 msec. 20 msec. 10 sec
TO]
1 msec. 10 msec. 5 sec
23 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Policy enforcement
[D]
Fairness
25 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[D]
None of the other choices
4%
90%
[C]
None of the other choices
[D]
96%
27 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Virtual memory.
[C]
Memory demand
[D]
Virtual demand
118. A If there are 64 pages and the page size is 2048 words,
what is the length of logical address?
[A]
17 bits
[B]
15 bits
[C]
16 bits
[D]
14 bits
28 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[C]
LRU
[D]
NRU
29 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[D]
None of the other choices
126. A
30 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
When a virtual memory system manages memory in fixed
length units, which of the following terms
correctly represents its unit?
[A]
Page
[B]
Frame
[C]
Block
[D]
Segment
129. B
31 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
In terms of disk storage efficiency, the method of "Backing
up pages dynamically" in comparison with
the method of "Paging to a static swap area" is
[A]
Worse
[B]
Better
[C]
Nearly equal
[D]
Equal
133. D
32 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Which of the following is correct about symbolic links?
[A]
Symbolic links can only point to files on the same ma-
chines
[B]
None of the other choices
[C]
Symbolic links need not space to store the path name
[D]
Symbolic links can point to files in the network
33 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[C]
Folders
[D]
Files
140. B
34 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Which of the following is not correct about hard links and
symbolic links? d
[A]
Symbolic links need space to store the path name and
considerable number of extra disk accesses
[B]
Hard links can point to files on other machines
[C]
Hard links do not require extra disk space
[D]
Symbolic links can point to files in the network
35 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[C]
It is widely used on CD-ROMs
[D]
It is simple to implement
[C]
A trap instruction is a software-generated interrupt
[D]
An interrupt handler deals with the cause of the interrupt
147. D
36 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
What is a "stripping" in RAID?
[A]
Take away possessions from someone
[B]
Get undressed
[C]
All of the other choices
[D]
Distributing data over multiple drives
37 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[C]
Converting binary integers to ASCII for printing
[D]
Writing commands to the device registers!
157. A
39 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Imagine that a certain modem can read 7,000 characters
per second and that the time to read a
character to the modem register is so short it can be
ignored. If to run this modem using interrupt-
driven I/O and each character read requires an interrupt
that takes 10 usee all-in to service. How
many percent of the CPU does the interrupt overhead
cost?
[A]
4% of the CPU
[B]
7% of the CPU
[C]
96% of the CPU
[D]
93% of the CPU
40 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
buffer
[D]
The CPU starts the transfer and goes off to do something
else until the interrupt arrives
41 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
To receive system call
[D]
To initialize the device, if needed
43 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Squares.
[D]
Ellipse
173. C
44 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
What is the weakness of the Banker's algorithm?
[A]
Enabling processes to hold their resources indefinitely
[B]
Enabling the number of resources to fluctuate
[C]
Requiring that processes state their maximum needs in
advance
[D]
Allowing the population of processes to vary over time
45 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
The device driver stops the current jobs and releases the
devices
[B]
The device driver kills those requesting processes
[C]
All of the other choices
[D]
The device driver decides blocking and returning an error
code
46 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[D]
Circular-wait condition
48 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
3: Scheduler picks this process; 4: Scheduler picks
another process
[C]
1: Process blocks for input; 2: Scheduler picks this
process; 3: Scheduler picks another process; 4: Input
becomes available
[D]
1: Process blocks for input; 2: Scheduler picks another
process; 3: Scheduler picks this process; 4: Input
becomes available
49 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Error exit (voluntary)
[C]
Normal exit (voluntary)
[D]
Killed by another process (involuntary)
50 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[D]
Referenced bit
196. A In general, which is the best technique for I/O Data trans-
fer?
51 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[A]
Direct Memory Access
[B]
None of the other choices
[C]
Programmed I/O
[D]
Interrupt-Driven I/O
52 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
APPEND
[D]
REWRITE
53 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Pop-up
[C]
Upcall
[D]
Distributed
54 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Division by zero occurs.
[D]
A system call instruction is executed.
56 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
from beginning to end and take smallest hole that is
adequate.
[D]
None of the other choices
216. D
57 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Which of the events that causes the processes to be
created, when an operation system is booted?
[A]|
Execution of a process creation system cal
[B]
Initiation of a batch job
[C]
User request to create a new process
[D]
System initialization
58 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[B]
Gigabytes of slow cheap disk storage
[C]
None of the other choices
[D]
Some medium-speed medium price main memory
221. A Assume the following events and actions take place. The
following statement is true. Event Action
1 P1 requests and is allocated R1. P1 requests and is
allocated R1
2 P2 requests and is allocated R2
3 P3 requests and is allocated R3
4 P1 requests R2.
5 P2 requests R3.
6 P3 requests R1.
[A]
There is no deadlock
[B]
Event 5 caused deadlock.
[C]
Event 4 caused deadlock
[D]
Event 6 caused deadlock.
59 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[B]
Root directory on the system
[C]
All of the other choices
[D]
Login directory
60 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Character devices
[D]
None of the other choices
4%
90%
[C]
None of the other choices (97,3%)
[D]
96%
61 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
229. D Which of the following statements is not correct about the
device controller of I/O devices?
[A]
Is also called adapter
[B]
Can handle two, four, or even eight identical devices
[C]
Is electronic component of device
[D]
Is software component of device
62 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
Paging
[C]
Segmentation
[D]
Partition
63 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
236. A Which of special register contains the condition code bits,
the CPU priority, the mode bit and other control bits?
[A]
Program Status Word (PSW)
[B]
None of the other choices
[C]
Instruction Register (IR)
[D]
Program Counter (PC)
64 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
3
[C]
2
[D]
4
240. A Which of the following file structure is used for file system
in Window?
[A]
Tree
[B]
Record sequence
[C]
Byte sequence
[D]
Ring
65 / 66
OSG202 (Full)
HÍc trñc tuy¿n t¡i https://quizlet.com/_6gpm9s
[A]
Multicore
[B]
Pipeline
[C]
None of the other choices
[D]
Superscalar
66 / 66