

MCQOPTIONS
Saved Bookmarks
This section includes 60 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.
51. |
A self-relocating program is one which |
A. | cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation |
B. | consists of a program and relevant information for its relocation |
C. | can itself perform the relocation of its address-sensitive portions |
D. | All of the above |
Answer» D. All of the above | |
52. |
If special forms are needed for printing the output, the programmer specifies these forms through |
A. | JCL |
B. | IPL |
C. | Utility programs |
D. | Load modules |
Answer» B. IPL | |
53. |
In analyzing the compilation of PL/I program, the description "resolving symbolic address (labels) and generating machine language" is associated with |
A. | Assembly and output |
B. | Code generation |
C. | Storage assignment |
D. | Syntax analysis |
Answer» B. Code generation | |
54. |
Convert the 11014B machine language instructions into assembly language, assuming that they were not generated by pseudo-ops: |
A. | ASRA |
B. | LOADA h#OD4E, i |
C. | STOREA h#014B, d |
D. | ADDA h#01FE, i |
Answer» D. ADDA h#01FE, i | |
55. |
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 macro processor and input to the assembler |
C. | more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros |
D. | All of the above |
Answer» E. | |
56. |
The system/370 assembler language |
A. | is a term that refers to the control programs of an operating system |
B. | is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain |
C. | allows multiple programs to reside in separate areas of core at the same time |
D. | allows the programmer to write base registers and displacements explicitly in the source program |
Answer» E. | |
57. |
Convert the CHARI h#000F, s assembly language instructions into hexadecimal machine language: |
A. | 0111EF |
B. | 9000000000 |
C. | DA000F |
D. | 40 |
Answer» D. 40 | |
58. |
In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register? |
A. | absolute mode |
B. | indirect mode |
C. | immediate mode |
D. | index mode |
Answer» E. | |
59. |
A development stategy whereby the executive control modules of a system are coded and tested first, is known as |
A. | Bottom-up development |
B. | Top-down development |
C. | Left-Right development |
D. | All of the above |
Answer» C. Left-Right development | |
60. |
Which of the following functions is/ are performed by the loader? |
A. | Allocate space in memory for the programs and resolve symbolic references between object decks |
B. | Physically place the machine instructions and data into memory |
C. | Adjust all address dependent locations, such as address constants, to correspond to the allocated space |
D. | All of the above |
Answer» E. | |