

MCQOPTIONS
Saved Bookmarks
This section includes 227 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.
201. |
Backups should be done |
A. | daily for most installations |
B. | weekly for most installations |
C. | as several image copies, followed by an incremental |
D. | as several incrementals, followed by an image copy |
Answer» E. | |
202. |
An instruction in a programming language that is replaced by a sequence of instructions prior to assembly or compiling is known as |
A. | procedure name |
B. | macro |
C. | label |
D. | literal |
Answer» C. label | |
203. |
Feed back queue |
A. | are very easy to implement |
B. | dispatch tasks according to execution characteristics |
C. | are used to favor real-time tasks |
D. | require manual intervention to implement properly |
Answer» C. are used to favor real-time tasks | |
204. |
The details of all external symbols and relocation formation (relocation list or map) is provided to linker by |
A. | Macro processor |
B. | Translator |
C. | Loader |
D. | Editor |
Answer» C. Loader | |
205. |
Advantage(s) of using assembly language rather than machine language is (are): |
A. | It is mnemonic and easy to read. |
B. | Addresses any symbolic, not absolute |
C. | Introduction of data to program is easier |
D. | all of the above |
Answer» E. | |
206. |
Which of the following instruction steps, would be written within the diamond-shaped box, of a flowchart? |
A. | S = B - C |
B. | IS A<10 |
C. | PRINT A |
D. | DATA X,4Z |
Answer» C. PRINT A | |
207. |
What is the name of the operating system for the laptop computer called MacLite? |
A. | Windows |
B. | DOS |
C. | MS-DOS |
D. | OZ |
Answer» E. | |
208. |
A critical region is |
A. | a program segment that has not been proved bug-free |
B. | a program segment that often causes unexpected system crashes |
C. | a program segment where shared resources are accessed |
D. | one which is enclosed by a pair of P and V operations on semaphores |
Answer» E. | |
209. |
Bug means |
A. | A logical error in a program |
B. | A difficult syntax error in a program |
C. | Documenting programs using an efficient documentation tool |
D. | All of the above |
Answer» B. A difficult syntax error in a program | |
210. |
The principle of locality of reference justifies the use of |
A. | reenterable |
B. | non reusable |
C. | virtual memory |
D. | cache memory |
Answer» E. | |
211. |
Capacity planning |
A. | requires detailed system performance information |
B. | is independent of the operating system |
C. | does not depend on the monitoring tools available |
D. | is not needed in small installations |
Answer» C. does not depend on the monitoring tools available | |
212. |
Which of the following refers to the associative memory? |
A. | the address of the data is generated by the CPU |
B. | the address of the data is supplied by the users |
C. | there is no need for an address i.e. the data is used as an address |
D. | the data are accessed sequentially |
Answer» D. the data are accessed sequentially | |
213. |
Addressing structure |
A. | defines the fundamental method of determining effective operand addresses |
B. | are variations in the use of fundamental addressing structures, or some associated actions which are related to addressing. |
C. | performs indicated operations on two fast registers of the machine and leave the result in one of the registers. |
D. | all of the above |
Answer» B. are variations in the use of fundamental addressing structures, or some associated actions which are related to addressing. | |
214. |
A system program that combines the separately compiled modules of a program into a form suitable for execution |
A. | assembler |
B. | linking loader |
C. | cross compiler |
D. | load and go |
Answer» C. cross compiler | |
215. |
The FIFO algorithm |
A. | executes first the job that last entered the queue |
B. | executes first the job that first entered the queue |
C. | execute first the job that has been in the queue the longest |
D. | executes first the job with the least processor needs |
Answer» C. execute first the job that has been in the queue the longest | |
216. |
Process is |
A. | program in High level language kept on disk |
B. | contents of main memory |
C. | a program in execution |
D. | a job in secondary memory |
Answer» D. a job in secondary memory | |
217. |
While running DOS on a PC, which command would be used to duplicate the entire diskette? |
A. | COPY |
B. | DISKCOPY |
C. | CHKDSK |
D. | TYPE |
Answer» C. CHKDSK | |
218. |
The memory allocation scheme subject to "external" fragmentation is |
A. | segmentation |
B. | swapping |
C. | pure demand paging |
D. | multiple contiguous fixed partitions |
Answer» B. swapping | |
219. |
In which of the storage placement strategies a program is placed in the largest available hole in the main memory? |
A. | best fit |
B. | first fit |
C. | worst fit |
D. | buddy |
Answer» D. buddy | |
220. |
To avoid the race condition, the number of processes that may be simultaneously inside their critical section is |
A. | 8 |
B. | 1 |
C. | 16 |
D. | 0 |
Answer» C. 16 | |
221. |
In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated with |
A. | recognition of basic syntactic constructs through reductions. |
B. | recognition of basic elements and creation of uniform symbols. |
C. | creation of more optional matrix. |
D. | use of macro processor to produce more optimal assembly code |
Answer» D. use of macro processor to produce more optimal assembly code | |
222. |
In virtual memory systems, Dynamic address translation |
A. | is the hardware necessary to implement paging |
B. | stores pages at a specific location on disk |
C. | is useless when swapping is used |
D. | is part of the operating system paging algorithm |
Answer» B. stores pages at a specific location on disk | |
223. |
Page stealing |
A. | is a sign of an efficient system |
B. | is taking page frames from other working sets |
C. | should be the tuning goal |
D. | is taking larger disk spaces for pages paged out |
Answer» C. should be the tuning goal | |
224. |
Which of the following systems software does the job of merging the records from two files into one? |
A. | Security software |
B. | Utility program |
C. | Networking software |
D. | Documentation system |
Answer» C. Networking software | |
225. |
The initial value of the semaphore that allows only one of the many processes to enter their critical sections, is |
A. | 8 |
B. | 1 |
C. | 16 |
D. | 0 |
Answer» C. 16 | |
226. |
Thrashing can be avoided if |
A. | the pages, belonging to the working set of the programs, are in main memory |
B. | the speed of CPU is increased |
C. | the speed of I/O processor is increased |
D. | all of the above |
Answer» B. the speed of CPU is increased | |
227. |
The part of machine level instruction, which tells the central processor what has to be done, is |
A. | Operation code |
B. | Address |
C. | Locator |
D. | Flip-Flop |
Answer» B. Address | |