0% found this document useful (0 votes)
5 views8 pages

QB 2 S

Uploaded by

hv31122004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views8 pages

QB 2 S

Uploaded by

hv31122004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

QN=1 File is generally defined to be:

a. A basic element of data


b. A collection of related fields
c.. A collection of similar records
d. None of the other choices

QN=2 Which of the following is not file structure?


a. Byte sequence
b. Record sequence
c.. Ring
d. Tree

QN=3 ____ is a specialized WRITE command for existing data files that allows
for adding records to end of the file.
a.. APPEND
b. UPDATE
c. REWRITE
d. MODIFY

QN=4 Which are allocation methods of disk blocks for files?


a. Contiguous allocation
b. Linked allocation
c. Indexed allocation
d.. All of the other choices

QN=5 Which part of a disk is used to boot the computer?


a. Free block
b.. MBR
c. Root block
d. Super block

1
QN=6 Which of the following is not correct about hard links and symbolic links?
a. Symbolic links need space to store the path name and considerable number
of extra disk accesses
b. Hard links do not require extra disk space
c. Symbolic links can point to files in the network
d.. Hard links can point to files on other machines

QN=7 Which ways are used to keep track of free block in disk space
management?
a. A linked list method
b. A bitmap method
c.. Both linked list method and bitmap method
d. None of the other choices

QN=8 The File Manager writes the volume name and other descriptive
information on an easy-to-access place on each unit: ____ of the magnetic
disk
a.. The outermost part
b. The innermost part
c. Immediately following the master file directory
d. Stored at the beginning of the volume

QN=9 Which is the maximum partition size, if the FAT type is FAT-32 and the
block size is 4 KB?
a.. 1 TB
b. 128 MB
c. 256 MB
d. 512 MB

2
QN=10 The main classes of I/O devices are:
a. Stream devices
b. Block devices
c. Character devices
d.. Block devices and Character devices

QN=11 Which of the following statements about the task of device controller of I/O
devices is correct?
a. Convert serial bit stream to block of bytes
b. Perform error correction as necessary
c. Make available to main memory
d.. All of the other choices

QN=12 Which of the following statement is not true about separating I/O and
memory space?
a. Device drivers must be written using assembly language
b. Programs must use 2 instructions to test whether the device is ready
c. There is special protection mechanism to keep user processes from
performing I/O
d.. Caching a device control register would be disastrous

QN=13 Which statement about DMA is incorrect?


a. The controller does not need to wait for the CPU to transfer data to/from
memory
b. The CPU can start a DMA block transfer, and in the mean time do other
work
c. The CPU needs not to be concerned with the time it takes to transfer data
d.. It is always true that DMA is less expensive than CPU-mediate data
transfers

3
QN=14 An interrupt that leaves the machine in well-defined state is called a(n)
______
a.. Precise interrupt
b. Imprecise interrupt
c. Required interrupt
d. Disappointed interrupt

QN=15 Which of the following statements is not correct about "device


independence"?
a. Files and devices are accessed in the same way, independent of their
physical nature
b. A system has to maintain only one set of system calls for both writing on a
file and writing on the console
c.. Device independence requires all programmers to deal with different
devices directly
d. Device independent interfaces should be given to programmers

QN=16 Which is the right order between the 4 I/O software layers?
a. User-level I/O software, Device drivers, Interrupt handlers,
Device-independent OS software
b. User-level I/O software, Interrupt handlers, Device drivers,
Device-independent OS software
c. Device-independent OS software, user-level I/O software, Device drivers,
Interrupt handlers
d.. User-level I/O software, Device-independent OS software, Device drivers,
Interrupt handlers

4
QN=17 Which of the following statements about device drivers is incorrect?
a. A device driver is a set of device-specific code for controlling the I/O
device attached to a computer
b. Most operating systems expect device drivers to be part of the kernel
c.. In the I/O software architecture, the device drivers layer lie right above the
hardware, and below the interrupt handlers layer
d. None of the other choices

QN=18 In a fixed magnetic disk, each circle is called a ____.


a. sector
b. block
c.. track
d. platter

QN=19 Which of the following is not correct about the reliability of different RAID
levels?
a. There is no reliability support in RAID level 0
b.. All RAID levels can survive one disk crash
c. In RAID level 2, a single bit error in a word can be detected AND
corrected
d. In RAID levels 3, 4, 5 a single bit error in a word can be detected

QN=20 High- level format of disk lays down:


a. A boot block
b. The free storage administration
c. Root directory, and an empty file system
d.. All of the other choices

5
QN=21 Assuming that it takes 10 nsec to copy a byte, how much time does it take
to completely rewrite the screen of a 1000 x 600 pixel graphics with 24- bit
color?
a.. 18 msec
b. 180 micro-sec
c. 180 msec
d. 18 micro-sec

QN=22 All deadlocks involve conflicting needs for resources by


a. One or more processes
b.. Two or more processes
c. Three or more processes
d. None of the other choices

QN=23 ____ is the act of allowing only one process to have access to a dedicated
resource.
a.. Mutual-exclusion condition
b. Circular-wait condition
c. Hold and wait condition
d. No preemption condition

QN=24 If in a resource-allocation graph, each resource type has exactly one


instance, which of the following indicate a deadlock situation?
a.. The graph has at least one cycle.
b. The graph has no cycle.
c. The graph is connected.
d. The graph is not connected.

6
QN=25 The permanent blocking of a set of processes that compete for system
resources is called
a. Starvation
b.. Deadlock
c. Prioritization
d. None of the other choices

QN=26 A possibility of deadlock can occur:


a. If a system is in safe state
b.. If a system is in unsafe state
c. If a system is in instable state
d. None of the other choices

QN=27 Which deadlock condition does “Request all resources initially” attack?
a. Mutual exclusion
b.. Hold and wait
c. No preemption
d. Circular-wait condition

QN=28 What is the correct approach with the “No preemption condition” to prevent
Deadlock?
a. Order resources numerically
b. Request all resources initially
c. Spool everything
d.. Take resources away

7
QN=2 Consider the following state of a system with four processes, P1, P2, P3 and
9 P4, and five types of resources RS1, RS2, RS3, RS4 and RS5.
Process Allocated Matrix Request Matrix
----------------------------------------------------------------------------------------------
----
P1 01112 11021 E =
(24144)
P2 21000 02110 A =
(01021)
P3 00001 02031
P4 01010 01021

Deadlocked processes are :


a.. P1, P2
b. P1, P3
c. P2, P3
d. P1, P4

QN=30 Which strategy is used in the Banker’s algorithm for dealing with
deadlocks?
a. Deadlock ignorance
b. Deadlock detection
c.. Deadlock avoidance
d. Deadlock prevention

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy