Language Processors Objective Questions and Answers - Set 05 - ObjectiveBooks

Language Processors Objective Questions and Answers - Set 05

Practice Test: Question Set - 05

1. 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

2. 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

3. 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

4. Indicate which of the following is not true about 4GL?
    (A) 4GL does not support a high-level of screen interaction
    (B) Many database management system packages support 4GLs
    (C) A 4GL is a software tool which is written, possibly, in some third generation language
    (D) All of the above

5. The Process Manager has to keep track of:
    (A) The status of each program
    (B) The priority of each program
    (C) The information management support to a programmer using the system
    (D) Both (a) and (b)

6. 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

7. Which table is a permanent databases that has an entry for each terminal symbol?
    (A) Terminal table
    (B) Literal table
    (C) Identifier table
    (D) Reductions

8. Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:
    (A) 0111EF
    (B) 9001E6
    (C) DA000F
    (D) 40

9. A loader is
    (A) A program that places programs into memory and prepares them for execution
    (B) A program that automate the translation of assembly language into machine language
    (C) Is a program that appears to execute a source program as if it were machine language
    (D) Program that accepts a program written in a high level language and produces an object program

10. 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

Show and hide multiple DIV using JavaScript View All Answers

    Blogger Comment
    Facebook Comment