Explore topic-wise MCQs in Technical Programming.

This section includes 1690 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.

801.

It is __________ to reread a page from the file system than to write it to swap space and then to reread it from there.

A. useless
B. less efficient
C. more efficient
D. none of the mentioned
Answer» D. none of the mentioned
802.

In UNIX, two per process ________ are used by the kernel to track swap space use.

A. process tables
B. swap maps
C. memory maps
D. partition maps
Answer» C. memory maps
803.

For swap space created in a separate disk partition where no file system or directory structure is placed, _____________ used to allocate and deallocate the blocks.

A. special routines must be
B. normal file system routines can be
C. normal file system routines cannot be
D. swap space storage manager is
Answer» E.
804.

If the swap space is simply a large file, within the file system, ____________ used to create it, name it and allocate its space.

A. special routines must be
B. normal file system routines can be
C. normal file system routines cannot be
D. swap space storage manager is
Answer» C. normal file system routines cannot be
805.

A single swap space ______ reside in two places.

A. can
B. cannot
C. must not
D. none of the mentioned
Answer» B. cannot
806.

Using swap space significantly _________ system performance.

A. increases
B. decreases
C. maintains
D. does not affect
Answer» C. maintains
807.

Virtual memory uses disk space as an extension of _________

A. secondary storage
B. main memory
C. tertiary storage
D. none of the mentioned
Answer» C. tertiary storage
808.

An unrecoverable error is known as _________

A. hard error
B. tough error
C. soft error
D. none of the mentioned
Answer» B. tough error
809.

The scheme used in the above question is known as _______ or ________

A. sector sparing & forwarding
B. forwarding & sector utilization
C. backwarding & forwarding
D. sector utilization & backwarding
Answer» B. forwarding & sector utilization
810.

In SCSI disks used in high end PCs, the controller maintains a list of _________ on the disk. The disk is initialized during ________ formatting which sets aside spare sectors not visible to the operating system.

A. destroyed blocks, high level formatting
B. bad blocks, partitioning
C. bad blocks, low level formatting
D. destroyed blocks, partitioning
Answer» D. destroyed blocks, partitioning
811.

Defective sectors on disks are often known as __________

A. good blocks
B. destroyed blocks
C. bad blocks
D. none of the mentioned
Answer» D. none of the mentioned
812.

A disk that has a boot partition is called a _________

A. start disk
B. end disk
C. boot disk
D. All of the mentioned
Answer» D. All of the mentioned
813.

For most computers, the bootstrap is stored in ________

A. RAM
B. ROM
C. Cache
D. Tertiary storage
Answer» C. Cache
814.

The _______ program initializes all aspects of the system, from CPU registers to device controllers and the contents of main memory, and then starts the operating system.

A. main
B. bootloader
C. bootstrap
D. rom
Answer» D. rom
815.

The two steps the operating system takes to use a disk to hold its files are _______ and ________

A. partitioning & logical formatting
B. swap space creation & caching
C. caching & logical formatting
D. logical formatting & swap space creation
Answer» B. swap space creation & caching
816.

The header and trailer of a sector contain information used by the disk controller such as _________ and _________

A. main section & disk identifier
B. error correcting codes (ECC) & sector number
C. sector number & main section
D. disk identifier & sector number
Answer» C. sector number & main section
817.

The data structure for a sector typically contains :

A. header
B. data area
C. trailer
D. all of the mentioned
Answer» E.
818.

The process of dividing a disk into sectors that the disk controller can read and write, before a disk can store data is known as :

A. partitioning
B. swap space creation
C. low-level formatting
D. none of the mentioned
Answer» D. none of the mentioned
819.

In the ______ algorithm, the disk arm goes as far as the final request in each direction, then reverses direction immediately without going to the end of the disk.

A. LOOK
B. SCAN
C. C-SCAN
D. C-LOOK
Answer» B. SCAN
820.

In the _______ algorithm, the disk head moves from one end to the other , servicing requests along the way. When the head reaches the other end, it immediately returns to the beginning of the disk without servicing any requests on the return trip.

A. LOOK
B. SCAN
C. C-SCAN
D. C-LOOK
Answer» D. C-LOOK
821.

In the ______ algorithm, the disk arm starts at one end of the disk and moves toward the other end, servicing requests till the other end of the disk. At the other end, the direction is reversed and servicing continues.

A. LOOK
B. SCAN
C. C-SCAN
D. C-LOOK
Answer» C. C-SCAN
822.

SSTF algorithm, like SJF __________ of some requests.

A. may cause starvation
B. will cause starvation
C. does not cause starvation
D. causes aging
Answer» B. will cause starvation
823.

On media that use constant linear velocity (CLV), the _____________ is uniform.

A. density of bits on the disk
B. density of bits per sector
C. the density of bits per track
D. none of the mentioned
Answer» D. none of the mentioned
824.

Magnetic tape drives can write data at a speed ________ disk drives.

A. much lesser than
B. comparable to
C. much faster than
D. none of the mentioned
Answer» C. much faster than
825.

Random access in magnetic tapes is _________ compared to magnetic disks.

A. fast
B. very fast
C. slow
D. very slow
Answer» E.
826.

Consider a disk queue with requests for I/O to blocks on cylinders : 98 183 37 122 14 124 65 67 Considering SSTF (shortest seek time first) scheduling, the total number of head movements is, if the disk head is initially at 53 :

A. 224
B. 236
C. 240
D. 245
Answer» C. 240
827.

Consider a disk queue with requests for I/O to blocks on cylinders : 98 183 37 122 14 124 65 67 Considering FCFS (first cum first served) scheduling, the total number of head movements is, if the disk head is initially at 53 :

A. 600
B. 620
C. 630
D. 640
Answer» E.
828.

If a process needs I/O to or from a disk, and if the drive or controller is busy then :

A. the request will be placed in the queue of pending requests for that drive
B. the request will not be processed and will be ignored completely
C. the request will be not be placed
D. none of the mentioned
Answer» B. the request will not be processed and will be ignored completely
829.

Whenever a process needs I/O to or from a disk it issues a ______________

A. system call to the CPU
B. system call to the operating system
C. a special procedure
D. all of the mentioned
Answer» C. a special procedure
830.

The disk bandwidth is :

A. the total number of bytes transferred
B. total time between the first request for service and the completion on the last transfer
C. the total number of bytes transferred divided by the total time between the first request for service and the completion on the last transfer
D. none of the mentioned
Answer» D. none of the mentioned
831.

______ controller sends the command placed into it, via messages to the _____ controller.

A. host, host
B. disk, disk
C. host, disk
D. disk, host
Answer» D. disk, host
832.

The host controller is :

A. controller built at the end of each disk
B. controller at the computer end of the bus
C. controller at the computer end of the bus
D. none of the mentioned
Answer» C. controller at the computer end of the bus
833.

A floppy disk is designed to rotate ___________ as compared to a hard disk drive.

A. faster
B. slower
C. at the same speed
D. none of the mentioned
Answer» C. at the same speed
834.

When the head damages the magnetic surface, it is known as _________

A. disk crash
B. head crash
C. magnetic damage
D. all of the mentioned
Answer» C. magnetic damage
835.

The time taken for the desired sector to rotate to the disk head is called :

A. positioning time
B. random access time
C. seek time
D. rotational latency
Answer» E.
836.

The time taken to move the disk arm to the desired cylinder is called the :

A. positioning time
B. random access time
C. seek time
D. rotational latency
Answer» D. rotational latency
837.

The set of tracks that are at one arm position make up a ___________

A. magnetic disks
B. electrical disks
C. assemblies
D. cylinders
Answer» E.
838.

The heads of the magnetic disk are attached to a _____ that moves all the heads as a unit.

A. spindle
B. disk arm
C. track
D. none of the mentioned
Answer» C. track
839.

In _______ information is recorded magnetically on platters.

A. magnetic disks
B. electrical disks
C. assemblies
D. cylinders
Answer» B. electrical disks
840.

A process is moved to wait queue when I/O request is made with

A. non-blocking I/O
B. blocking I/O
C. asynchronous I/O
D. synchronous I/O
Answer» C. asynchronous I/O
841.

Which one of the following connects high-speed high-bandwidth device to memory subsystem and CPU.

A. Expansion bus
B. PCI bus
C. SCSI bus
D. None of the mentioned
Answer» B. PCI bus
842.

Which buffer holds the output for a device?

A. spool
B. output
C. status
D. magic
Answer» B. output
843.

The device-status table contains

A. each I/O device type
B. each I/O device address
C. each I/O device state
D. all of the mentioned
Answer» E.
844.

Which hardware triggers some operation after certain programmed count?

A. programmable interval timer
B. interrupt timer
C. programmable timer
D. none of the mentioned
Answer» B. interrupt timer
845.

Device drivers are implemented to interface

A. character devices
B. block devices
C. network devices
D. All of the mentioned
Answer» E.
846.

When hardware is accessed by reading and writing to the specific memory locations, then it is called

A. port-mapped I/O
B. controller-mapped I/O
C. bus-mapped I/O
D. none of the mentioned
Answer» E.
847.

The host sets _____ bit when a command is available for the controller to execute.

A. write
B. status
C. command-ready
D. control
Answer» D. control
848.

The data-in register of I/O port is

A. Read by host to get input
B. Read by controller to get input
C. Written by host to send output
D. Written by host to start a command
Answer» B. Read by controller to get input
849.

I/O hardware contains

A. Bus
B. Controller
C. I/O port and its registers
D. All of the mentioned
Answer» E.
850.

When a client has a cascading mount, _______ server(s) is/are involved in a path name traversal.

A. at least one
B. more than one
C. more than two
D. more than three
Answer» C. more than two