logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Language Processors Comments

  • Question
  • In an absolute loading scheme, which loader function is accomplished by loader?


  • Options
  • A. Reallocation
  • B. Allocation
  • C. Linking
  • D. Loading

  • Correct Answer
  • Loading 


  • Language Processors problems


    Search Results


    • 1. In what module, multiple instances of execution will yield the same result even if one instancy has not terminated before the next one has begun?

    • Options
    • A. non-reusable module
    • B. serially reusable
    • C. reenterable module
    • D. recursive module
    • Discuss
    • 2. Loaders that allow for program relocation are called

    • Options
    • A. relocating loaders
    • B. relative loaders
    • C. both (a) and (b)
    • D. None of the above
    • Discuss
    • 3. Convert the 48 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
    • 4. The function(s) of the Syntax phase is/ are:

    • Options
    • 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
    • Discuss
    • 5. Indicate whether the statement LDA B is a statement, in

    • Options
    • A. Machine language
    • B. Assembly language
    • C. High level language
    • D. All of the above
    • Discuss
    • 6. A loader is

    • Options
    • 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
    • Discuss
    • 7. The table created by lexical analysis to describe all literals used in the source program, is:

    • Options
    • A. Terminal table
    • B. Literal table
    • C. Identifier table
    • D. Reductions
    • Discuss
    • 8. Convert the .BYTE h#F8 assembly language pseudo-ops into hexadecimal machine language:

    • Options
    • A. 0111EF
    • B. 03 16
    • C. F8
    • D. 42 65 61 72
    • Discuss
    • 9. Indicate which of the following is not true about an interpreter?

    • Options
    • A. Interpreter generates an object program from the source program
    • B. Interpreter is a kind of translator
    • C. Interpreter analyses each source statement every time it is to be executed
    • D. All of the above
    • Discuss
    • 10. Bug means

    • Options
    • A. A logical error in a program
    • B. A difficult syntax error in a program
    • C. Documenting programs using an efficient documentation tool
    • D. All of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment