

MCQOPTIONS
This section includes 72 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. |
Convert the ASLA assembly language instructions into hexadecimal machine language:$? |
A. | 0111EF |
B. | 9.00E+09 |
C. | DA000F |
D. | 40 |
Answer» E. | |
52. |
A non-relocatable 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» B. consists of a program and relevant information for its relocation | |
53. |
Convert the 080D4E 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» C. STOREA h#014B, d | |
54. |
In which way(s) can a macro processor for assembly language be implemented?$? |
A. | independent two-pass processor |
B. | independent one-pass processor |
C. | processor incorporated into pass of a standard two-pass assembler |
D. | All of the above |
Answer» E. | |
55. |
A compiler for a high-level language that runs on one machine and produces code for a different machine is called$? |
A. | optimizing compiler |
B. | one pass compiler |
C. | cross compiler |
D. | multipass compiler |
Answer» D. multipass compiler | |
56. |
Convert the .BYTE h#F8 assembly language pseudo-ops into hexadecimal machine language:$? |
A. | 0111EF |
B. | 03 16 |
C. | F8 |
D. | 42 65 61 72 |
Answer» D. 42 65 61 72 | |
57. |
A sequence of instructions, in a computer language, to get the desired result, is known as$? |
A. | Algorithm |
B. | Decision Table |
C. | Program |
D. | All of the above |
Answer» D. All of the above | |
58. |
The function(s) of the Syntax phase is/ are:$? |
A. | to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs |
B. | to build a literal table and an identifier table |
C. | to build a uniform symbol table |
D. | to parse the source program into the basic elements or tokens of the language |
Answer» B. to build a literal table and an identifier table | |
59. |
Which of the following systems software does the job of merging the records from two flies into one?$? |
A. | Documentation system |
B. | Utility program |
C. | Networking software |
D. | Security software |
Answer» C. Networking software | |
60. |
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 | |
61. |
Convert the .BYTE h#F8 assembly language pseudo-ops into hexadecimal machine language:? |
A. | 0111EF |
B. | 03 16 |
C. | F8 |
D. | 42 65 61 72 |
Answer» D. 42 65 61 72 | |
62. |
The function(s) of the Syntax phase is/ are:? |
A. | to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs |
B. | to build a literal table and an identifier table |
C. | to build a uniform symbol table |
D. | to parse the source program into the basic elements or tokens of the language |
Answer» B. to build a literal table and an identifier table | |
63. |
A sequence of instructions, in a computer language, to get the desired result, is known as? |
A. | Algorithm |
B. | Decision Table |
C. | Program |
D. | All of the above |
Answer» D. All of the above | |
64. |
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 | |
65. |
A compiler for a high-level language that runs on one machine and produces code for a different machine is called? |
A. | optimizing compiler |
B. | one pass compiler |
C. | cross compiler |
D. | multipass compiler |
Answer» D. multipass compiler | |
66. |
A non-relocatable 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» B. consists of a program and relevant information for its relocation | |
67. |
Which of the following systems software does the job of merging the records from two flies into one? |
A. | Documentation system |
B. | Utility program |
C. | Networking software |
D. | Security software |
Answer» C. Networking software | |
68. |
The table created by lexical analysis to describe all literals used in the source program, is:? |
A. | Terminal table |
B. | Literal table |
C. | Identifier table |
D. | Reductions |
Answer» C. Identifier table | |
69. |
Convert the ASLA assembly language instructions into hexadecimal machine language:? |
A. | 0111EF |
B. | 9.00E+09 |
C. | DA000F |
D. | 40 |
Answer» E. | |
70. |
Convert the .WORD d#790 assemblylanguage pseudo-ops into hexadecimal machine language:? |
A. | 0111EF |
B. | 03 16 |
C. | F8 |
D. | 42 65 61 72 |
Answer» C. F8 | |
71. |
In which way(s) can a macro processor for assembly language be implemented? |
A. | independent two-pass processor |
B. | independent one-pass processor |
C. | processor incorporated into pass of a standard two-pass assembler |
D. | All of the above |
Answer» E. | |
72. |
Convert the 080D4E 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» C. STOREA h#014B, d | |