logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Language Processors Comments

  • Question
  • In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated with


  • Options
  • A. recognition of basic syntactic constructs through reductions
  • B. recognition of basic elements and creation of uniform symbols
  • C. creation of more optional matrix
  • D. use of macro processor to produce more optimal assembly code

  • Correct Answer
  • creation of more optional matrix 


  • Language Processors problems


    Search Results


    • 1. The function(s) of the Storage Assignment is/are:

    • Options
    • A. to assign storage to all variables referenced in the source program
    • B. to assign storage to all temporary locations that are necessary for intermediate results
    • C. to assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized
    • D. All of the above
    • Discuss
    • 2. Advantage(s) of using assembly language rather than machine language is/are:

    • Options
    • 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
    • Discuss
    • 3. The total inductive reactance of a parallel inductor circuit is:

    • Options
    • A. equal to the sum of the individual inductive-reactance values
    • B. equal to the sum of the individual inductance values
    • C. equal to the source voltage divided by total current
    • D. less than the inductance value of the smallest inductor
    • E. None of the above
    • Discuss
    • 4. Thevenin theorem replaces a complicated circuit facing a load by an

    • Options
    • A. Ideal voltage source and parallel resistor
    • B. Ideal current source and parallel resistor
    • C. Ideal voltage source and series resistor
    • D. Ideal current source and series resistor
    • E. None of the above
    • Discuss
    • 5. How may valence electrons does a silicon atom have?

    • Options
    • A. 0
    • B. 1
    • C. 2
    • D. 4
    • E. None of the above
    • Discuss
    • 6. The macro processor must perform

    • Options
    • A. recognize macro definitions and macro calls
    • B. save the macro definitions
    • C. expand macro calls and substitute arguments
    • D. All of the above
    • Discuss
    • 7. A system program that combines the separately compiled modules of a program into a form suitable for execution

    • Options
    • A. assembler
    • B. linking loader
    • C. cross compiler
    • D. load and go
    • Discuss
    • 8. Convert the 080D4E machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:

    • Options
    • A. ASRA
    • B. LOADA h#OD4E, i
    • C. STOREA h#014B, d
    • D. ADDA h#01FE, i
    • Discuss
    • 9. In an absolute loading scheme, which loader function is accomplished by assembler

    • Options
    • A. Reallocation
    • B. Allocation
    • C. Linking
    • D. Loading
    • Discuss
    • 10. A relocate program form is the one which

    • Options
    • 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
    • Discuss


    Comments

    There are no comments.

Enter a new Comment