ALL PRINTABLE PDF BOOKS FREE DOWNLOAD <<CLICK HERE>>
ALL PRINTABLE PDF BOOKS FREE DOWNLOAD <<CLICK HERE>>
Language processors MCQ


Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which of the following functions is/ are performed by the loader?
Allocate space in memory for the programs and resolve symbolic references between object decks | |
Physically place the machine instructions and data into memory | |
Adjust all address dependent locations, such as address constants, to correspond to the allocated space | |
All of the above |
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Convert the 11014B machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:
ASRA | |
LOADA h#OD4E, i | |
STOREA h#014B, d | |
ADDA h#01FE, i |
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
The advantage(s) of incorporating the macro processor into pass 1 is/ are:
many functions do not have to be implemented twice | |
Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler | |
more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros | |
All of the above |
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?
absolute mode | |
indirect mode | |
immediate mode | |
index mode |
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
A self-relocating program is one which
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 | |
consists of a program and relevant information for its relocation | |
can itself perform the relocation of its address-sensitive portions | |
All of the above |
There are 5 questions to complete.