logo

CuriousTab

CuriousTab

Language Processors problems


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

  • Options
  • A. Reallocation
  • B. Allocation
  • C. Linking
  • D. Loading
  • Discuss
  • 2. 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
  • 3. 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
  • 4. 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
  • 5. 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
  • 6. 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
  • 7. A base register table

  • Options
  • A. is a term that refers to the control programs of an operating system
  • B. is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain
  • C. allows multiple programs to reside in separate areas of core at the same time
  • D. allows the programmer to write base registers and displacements explicitly in the source program
  • Discuss
  • 8. A compiler 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. program that accepts a program written in a high level language and produces an object program
  • D. is a program that appears to execute a source program as if it were machine language
  • Discuss
  • 9. In which way(s) can a macro processor for assembly language be implemented?

  • Options
  • 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
  • Discuss
  • 10. An algorithm is best described as

  • Options
  • A. A computer language
  • B. A step by step procedure for solving a problem
  • C. A branch of mathematics
  • D. All of the above
  • Discuss

First 2 3 4 5 6 7