

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.
1. |
Job Control Language (JCL) statements are used to |
A. | Read the input from the slow-speed card reader to the high-speed magnetic disk |
B. | Specify, to the operating system, the beginning and end of a job in a batch |
C. | Allocate the CPU to a job |
D. | All of the above |
E. | None of the above |
Answer» C. Allocate the CPU to a job | |
2. |
Multiprogramming systems: |
A. | to balance resource utilization |
B. | to obey priorities |
C. | to be predictable |
D. | None of the above |
Answer» D. None of the above | |
3. |
Object modules generated by assemblers that contain unresolved external references are resolved for two or more object modules by a/an |
A. | Interpreter is a kind of translator |
B. | Interpreter analyses each source statement every time it is to be executed |
C. | All of the above |
D. | None of the above |
Answer» D. None of the above | |
4. |
Software that measures, monitors, analyzes, and controls real-world events is called: |
A. | provides a layered, user-friendly interface |
B. | enables the programmer to draw a flowchart |
C. | all of the above |
D. | None of the above |
Answer» C. all of the above | |
5. |
The instruction register |
A. | is a hardware memory device which denotes the location of the current instruction being executed. |
B. | is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory. |
C. | contains the address of the memory location that is to be read from or stored into. |
D. | contains a copy of the designated memory location specified by the MAR after a "read" or the new contents of the memory prior to a "write". |
Answer» C. contains the address of the memory location that is to be read from or stored into. | |
6. |
In which way(s) a macro processor for assembly language can be implemented: |
A. | independent two-pass processor |
B. | independent one-pass processor |
C. | processor incorporated into pass 1 of a standard two-pass assembler |
D. | all of the above |
Answer» E. | |
7. |
Which of the following is true about pseudocode |
A. | A machine language |
B. | An assembly language |
C. | A high-level language |
D. | All of the above |
Answer» E. | |
8. |
What is the initial value of the semaphore to allow only one of the many processes to enter their critical section? |
A. | 8 |
B. | 1 |
C. | 16 |
D. | 0 |
Answer» C. 16 | |
9. |
In analyzing the compilation of PL/I program, the description "creation of more optimal matrix" is associated with |
A. | Assembly and output |
B. | Code generation |
C. | Syntax analysis |
D. | Machine independent optimization |
Answer» E. | |
10. |
The Operating system manages |
A. | Memory |
B. | Processor |
C. | Disks and I/O devices |
D. | All of the above |
Answer» E. | |
11. |
The main function of the dispatcher (the portion of the process scheduler) is |
A. | swapping a process to the disk |
B. | assigning ready process to the CPU |
C. | suspending some of the processes when the CPU load is high |
D. | bring processes from the disk to the main memory |
Answer» C. suspending some of the processes when the CPU load is high | |
12. |
Operating system |
A. | links a program with the subroutines it references |
B. | provides a layered, user-friendly interface |
C. | enables the programmer to draw a flowchart |
D. | all of the above |
Answer» C. enables the programmer to draw a flowchart | |
13. |
Which are the most important features of Microsoft Windows program? |
A. | Windows |
B. | Pull-down menus |
C. | Icons |
D. | All of the above |
Answer» E. | |
14. |
The state transition initiated by the user process itself in an operating system is |
A. | block |
B. | dispatch |
C. | wake up |
D. | timer run out |
Answer» B. dispatch | |
15. |
System maintenance: |
A. | is usually not necessary |
B. | is necessary on all systems, regardless of how good |
C. | is not required if the system is well written |
D. | always requires several programs |
Answer» C. is not required if the system is well written | |
16. |
Block or buffer caches are used |
A. | to improve disk performance |
B. | to handle interrupts |
C. | to increase the capacity of main memory |
D. | to speed up main memory read operation |
Answer» B. to handle interrupts | |
17. |
IBM released its first PC in 1981. Can you name the operating system which was most popular at that time? |
A. | MS-DOS |
B. | PC-DOS |
C. | OS/360 |
D. | CP/M |
Answer» E. | |
18. |
Indicate which is a pre-emptive scheduling algorithm |
A. | Round-robin |
B. | Shortest-job-next |
C. | Priority-based |
D. | All of the above |
Answer» B. Shortest-job-next | |
19. |
What is the name given to all the programs inside the computer with makes it usable? |
A. | Application software |
B. | System software |
C. | Firm ware |
D. | Shareware |
Answer» C. Firm ware | |
20. |
A Processor |
A. | is a device that performs a sequence of operations specified by instructions in memory. |
B. | is the device where information is stored |
C. | is a sequence of instructions |
D. | is typically characterized by interactive processing and time of the CPU's time to allow quick response to each user. |
Answer» B. is the device where information is stored | |
21. |
The advantage(s) inherent to using high level languages is (are) |
A. | Fewer people, less management and shorter transition in learning time |
B. | Improved debugging capability, and superior documentation |
C. | A greater degree of machine independence |
D. | All of the above |
Answer» E. | |
22. |
In which addressing mode, the address of the location of the operand is given explicitly as a part of the instruction. |
A. | absolute mode |
B. | immediate mode |
C. | index mode |
D. | modulus mode |
Answer» B. immediate mode | |
23. |
The disadvantages of "Compile and Go" loading scheme is (are): |
A. | a portion of memory is wasted because the core occupied by the assembler is unavailable to the object program. |
B. | it is necessary to retranslate the user's program deck every time it is run. |
C. | it is very difficult to handle multiple segments, especially if the source programs are in different languages, and to produce orderly modular programs. |
D. | all of the above |
Answer» E. | |
24. |
Which, of the following is not true about the description of a decision table? |
A. | A decision table is easy to modify |
B. | A decision table is directly understood by the computer |
C. | A decision table is easy to understand |
D. | All of the above |
Answer» C. A decision table is easy to understand | |
25. |
Producer consumer problem can be solved using |
A. | semaphores |
B. | event counters |
C. | monitors |
D. | all of the above |
Answer» E. | |
26. |
Virtual memory is |
A. | simple to implement |
B. | used in all major commercial operating systems |
C. | less efficient in utilization of memory |
D. | useful when fast I/O devices are not available |
Answer» C. less efficient in utilization of memory | |
27. |
For how many processes which are sharing common data, the Dekker's algorithm implements mutual exclusion? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» C. 3 | |
28. |
Which of the following capabilities is required for a system program to execute more than one program at a time? |
A. | word processing |
B. | compiling |
C. | virtual memory |
D. | multitasking |
Answer» E. | |
29. |
Swapping |
A. | works best with many small partitions |
B. | allows many programs to use memory simultaneously |
C. | allows each program in turn to use the memory |
D. | does not work with overlaying |
Answer» D. does not work with overlaying | |
30. |
Under multiprograming, turnaround time for short jobs is usually _____ and that for long jobs is slightly _____. |
A. | lengthened; shortened |
B. | shortened; lengthened |
C. | shortened; shortened |
D. | lengthened; lengthened |
Answer» C. shortened; shortened | |
31. |
Which, of the following checks, cannot be carried out on the input data to a system? |
A. | consistency check |
B. | Syntax check |
C. | Range check |
D. | All of the above |
Answer» C. Range check | |
32. |
The SJF algorithm executes first the job |
A. | that last entered the queue |
B. | that first entered the queue |
C. | that has been in the queue the longest |
D. | with the least processor needs |
Answer» E. | |
33. |
A public key encryption system |
A. | allows anyone to decode the transmission |
B. | allows only the correct sender to decode the data |
C. | allows only the correct receiver to decode the data |
D. | does not encode the data before transmitting it |
Answer» D. does not encode the data before transmitting it | |
34. |
A hardware device that is capable of executing a sequence of instructions, is known as |
A. | CPU |
B. | ALU |
C. | CU |
D. | Processor |
Answer» E. | |
35. |
Under virtual storage, |
A. | a single program is processed by two or more CPUs |
B. | two or more programs are stored concurrently in primary storage |
C. | only the active pages of a program are stored in primary storage |
D. | interprogram interference may occur |
Answer» D. interprogram interference may occur | |
36. |
Which of the following is not applications software? |
A. | Word processing |
B. | Spreadsheet |
C. | UNIX |
D. | Desktop publishing |
Answer» D. Desktop publishing | |
37. |
What is the name of the operating system which was originally designed by scientists and engineers for use by scientists and engineers? |
A. | XENIX |
B. | UNIX |
C. | OS/2 |
D. | MS DOS |
Answer» C. OS/2 | |
38. |
The advantage(s) of incorporating the macro processor into pass 1 is(are): |
A. | many functions do not have to be implemented twice. |
B. | Functions are combined and it is not necessary to create intermediate files as output from the macros processor and input to the assembler. |
C. | more flexibility is available to the programmer in that he may use all the features of the assembler in conjunction with macros. |
D. | all of the above |
Answer» E. | |
39. |
Relocation bits used by relocating loader are specified (generated) by |
A. | Relocating loader itself |
B. | Linker |
C. | Assembler or translator |
D. | Macro processor |
Answer» C. Assembler or translator | |
40. |
The most common systems security method is |
A. | passwords |
B. | encryption |
C. | firewall |
D. | all of the above |
Answer» B. encryption | |
41. |
Which of the following is not true about documentation? |
A. | Documentation, of a system, should be as clear and direct as possible |
B. | Documentation increases the maintenance time and cost |
C. | Documentation gives better understanding of the problem |
D. | All of the above |
Answer» C. Documentation gives better understanding of the problem | |
42. |
Special software to create a job queue is called a |
A. | Drive |
B. | Spooler |
C. | Interpreter |
D. | Linkage editor |
Answer» C. Interpreter | |
43. |
Which of the following is a phase of a compilation process |
A. | Lexical analysis |
B. | Code generation |
C. | Both of the above |
D. | Static analysis |
Answer» D. Static analysis | |
44. |
What is the name given to the software which can be legally compiled and often used for free? |
A. | Shareware program |
B. | Public domain program |
C. | Firmware program |
D. | Mindware |
Answer» C. Firmware program | |
45. |
Can you name of the major Operating System used in computers? |
A. | MS DOS |
B. | OS/2 |
C. | UNIX |
D. | All of the above |
Answer» E. | |
46. |
Scissoring enables |
A. | a part of data to be displayed |
B. | entire data to be displayed |
C. | full data display on full area of screen |
D. | no data to be displayed |
Answer» B. entire data to be displayed | |
47. |
An incremental backup |
A. | should be done each month |
B. | uses more tapes |
C. | saves all files |
D. | saves only files that have recently changed |
Answer» E. | |
48. |
The function(s) performed by the paging software is (are) |
A. | Implementation of the access environment for all programs in the system |
B. | Management of the physical address space |
C. | Sharing and protection |
D. | All of the above |
Answer» E. | |
49. |
Which of following is/are the advantage(s) of modular programming? |
A. | The program is much easier to change |
B. | Modules can be reused in other programs |
C. | Easy debugging |
D. | Easy to compile |
Answer» B. Modules can be reused in other programs | |
50. |
If special forms are needed for printing the output, the programmer specifies these forms through? |
A. | JCL |
B. | JPL |
C. | Utility programs |
D. | Load modules |
Answer» B. JPL | |