

MCQOPTIONS
Saved Bookmarks
This section includes 557 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science Engineering (CSE) knowledge and support exam preparation. Choose a topic below to get started.
151. |
When the event for which a thread is blocked occurs? |
A. | thread moves to the ready queue |
B. | thread remains blocked |
C. | thread completes |
D. | a new thread is provided |
Answer» B. thread remains blocked | |
152. |
The time required to create a new thread in an existing process is |
A. | greater than the time required to create a new process |
B. | less than the time required to create a new process |
C. | equal to the time required to create a new process |
D. | none of the mentioned |
Answer» C. equal to the time required to create a new process | |
153. |
A process can be |
A. | single threaded |
B. | multithreaded |
C. | both single threaded and multithreaded |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
154. |
If one thread opens a file with read privileges then |
A. | other threads in the another process can also read from that file |
B. | other threads in the same process can also read from that file |
C. | any other thread can not read from that file |
D. | all of the mentioned |
Answer» C. any other thread can not read from that file | |
155. |
Which one of the following is not shared by threads? |
A. | program counter |
B. | stack |
C. | both program counter and stack |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
156. |
Which one of the following is not a linux distribution? |
A. | debian |
B. | gentoo |
C. | open suse |
D. | multics |
Answer» E. | |
157. |
Standard set of functions through which interacts with kernel is defined by |
A. | system libraries |
B. | kernel code |
C. | compilers |
D. | utility programs |
Answer» B. kernel code | |
158. |
What is Linux? |
A. | single user, single tasking |
B. | single user, multitasking |
C. | multi user, single tasking |
D. | multi user, multitasking |
Answer» E. | |
159. |
Which desktop environment is not used in any linux distribution? |
A. | gnome |
B. | kde |
C. | unity |
D. | none of the mentioned |
Answer» E. | |
160. |
The first process launched by the linux kernel is |
A. | init process |
B. | zombie process |
C. | batch process |
D. | boot process |
Answer» B. zombie process | |
161. |
Which one of the following bootloader is not used by linux? |
A. | grub |
B. | lilo |
C. | ntldr |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
162. |
Which binary format is supported by linux? |
A. | a.out |
B. | elf |
C. | both a.out and elf |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
163. |
The first linux kernel which supports the SMP hardware? |
A. | linux 0.1 |
B. | linux 1.0 |
C. | linux 1.2 |
D. | linux 2.0 |
Answer» E. | |
164. |
Which one of the following linux file system does not support journaling feature? |
A. | ext2 |
B. | ext3 |
C. | ext4 |
D. | none of the mentioned |
Answer» B. ext3 | |
165. |
If the number of cycles spent busy – waiting is not excessive, then |
A. | interrupt driven i/o is more efficient than programmed i/o |
B. | programmed i/o is more efficient than interrupt driven i/o |
C. | both programmed and interrupt driven i/o are equally efficient |
D. | none of the mentioned |
Answer» C. both programmed and interrupt driven i/o are equally efficient | |
166. |
A Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â is a full duplex connection between a device driver and a user level process. |
A. | bus |
B. | i/o operation |
C. | stream |
D. | flow |
Answer» D. flow | |
167. |
The                  keeps state information about the use of I/O components. |
A. | cpu |
B. | os |
C. | kernel |
D. | shell |
Answer» D. shell | |
168. |
The kernel data structures include |
A. | process table |
B. | open file table |
C. | close file table |
D. | all of the mentioned |
Answer» C. close file table | |
169. |
Spooling |
A. | holds a copy of the data |
B. | is fast memory |
C. | holds the only copy of the data |
D. | holds output for a device |
Answer» D. holds output for a device | |
170. |
Caching |
A. | holds a copy of the data |
B. | is fast memory |
C. | holds the only copy of the data |
D. | holds output for a device |
Answer» B. is fast memory | |
171. |
Caching is                  spooling. |
A. | same as |
B. | not the same as |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» C. all of the mentioned | |
172. |
Buffering is done to |
A. | cope with device speed mismatch |
B. | cope with device transfer size mismatch |
C. | maintain copy semantics |
D. | all of the mentioned |
Answer» E. | |
173. |
An asynchronous call |
A. | returns immediately, without waiting for the i/o to complete |
B. | does not return immediately and waits for the i/o to complete |
C. | consumes a lot of time |
D. | is too slow |
Answer» B. does not return immediately and waits for the i/o to complete | |
174. |
A non blocking system call |
A. | halts the execution of the application for an extended time |
B. | does not halt the execution of the application |
C. | does not block the interrupts |
D. | none of the mentioned |
Answer» C. does not block the interrupts | |
175. |
In polling |
A. | busy – wait cycles wait for i/o from device |
B. | interrupt handler receives interrupts |
C. | interrupt-request line is triggered by i/o device |
D. | all of the mentioned |
Answer» B. interrupt handler receives interrupts | |
176. |
A keyboard is an example of a device that is accessed through a                      interface. |
A. | block stream |
B. | set of blocks |
C. | character stream |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
177. |
A block device transfers |
A. | bytes one by one |
B. | block of bytes as a unit |
C. | with unpredictable response times |
D. | none of the mentioned |
Answer» C. with unpredictable response times | |
178. |
A character stream device transfers |
A. | bytes one by one |
B. | block of bytes as a unit |
C. | with unpredictable response times |
D. | none of the mentioned |
Answer» B. block of bytes as a unit | |
179. |
What is a dedicated device? |
A. | opposite to a sharable device |
B. | same as a sharable device |
C. | can be used concurrently by several processes |
D. | none of the mentioned |
Answer» B. same as a sharable device | |
180. |
For large data transfers, Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â is used. |
A. | dma |
B. | programmed i/o |
C. | controller register |
D. | none of the mentioned |
Answer» B. programmed i/o | |
181. |
Division by zero, accessing a protected or non existent memory address, or attempting to execute a privileged instruction from user mode are all categorized as |
A. | errors |
B. | exceptions |
C. | interrupt handlers |
D. | all of the mentioned |
Answer» C. interrupt handlers | |
182. |
The interrupt vector contains |
A. | the interrupts |
B. | the memory addresses of specialized interrupt handlers |
C. | the identifiers of interrupts |
D. | the device addresses |
Answer» C. the identifiers of interrupts | |
183. |
The                      is used by device controllers to request service. |
A. | nonmaskable interrupt |
B. | blocked interrupt |
C. | maskable interrupt |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
184. |
The                  can be turned off by the CPU before the execution of critical instruction sequences that must not be interrupted. |
A. | nonmaskable interrupt |
B. | blocked interrupt |
C. | maskable interrupt |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
185. |
The                    are reserved for events such as unrecoverable memory errors. |
A. | non maskable interrupts |
B. | blocked interrupts |
C. | maskable interrupts |
D. | none of the mentioned |
Answer» B. blocked interrupts | |
186. |
In general the two interrupt request lines are |
A. | maskable & non maskable interrupts |
B. | blocked & non maskable interrupts |
C. | maskable & blocked interrupts |
D. | none of the mentioned |
Answer» B. blocked & non maskable interrupts | |
187. |
The                    determines the cause of the interrupt, performs the necessary processing and executes a return from the interrupt instruction to return the CPU to the execution state prior to the interrupt. |
A. | interrupt request line |
B. | device driver |
C. | interrupt handler |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
188. |
The hardware mechanism that allows a device to notify the CPU is called |
A. | polling |
B. | interrupt |
C. | driver |
D. | controlling |
Answer» C. driver | |
189. |
The              register is written by the host to send output. |
A. | status |
B. | control |
C. | data in |
D. | data out |
Answer» E. | |
190. |
The              register is read by the host to get input. |
A. | flow in |
B. | flow out |
C. | data in |
D. | data out |
Answer» D. data out | |
191. |
The                    present a uniform device- access interface to the I/O subsystem, much as system calls provide a standard interface between the application and the operating system. |
A. | devices |
B. | buses |
C. | device drivers |
D. | i/o systems |
Answer» D. i/o systems | |
192. |
When device A has a cable that plugs into device B, and device B has a cable that plugs into device C and device C plugs into a port on the computer, this arrangement is called a |
A. | port |
B. | daisy chain |
C. | bus |
D. | cable |
Answer» C. bus | |
193. |
If one or more devices use a common set of wires to communicate with the computer system, the connection is called |
A. | cpu |
B. | monitor |
C. | wirefull |
D. | bus |
Answer» E. | |
194. |
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 | |
195. |
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 | |
196. |
For most computers, the bootstrap is stored in |
A. | ram |
B. | rom |
C. | cache |
D. | tertiary storage |
Answer» D. tertiary storage | |
197. |
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 | |
198. |
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 | |
199. |
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 | |
200. |
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 | |