logo

CuriousTab

CuriousTab

Language Processors problems


  • 1. Convert the ASLA assembly language instructions into hexadecimal machine language:

  • Options
  • A. 0111EF
  • B. 9001E6
  • C. DA000F
  • D. 40
  • Discuss
  • 2. If special forms are needed for printing the output, the programmer specifies these forms through

  • Options
  • A. JCL
  • B. IPL
  • C. Utility programs
  • D. Load modules
  • Discuss
  • 3. Which of the following might be used to convert high-level language instructions into machine language?

  • Options
  • A. system software
  • B. applications software
  • C. an operating environment
  • D. an interpreter
  • Discuss
  • 4. The system/370 assembler language

  • 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
  • 5. In analyzing the compilation of PL/I program, the term "Lexical analysis" 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
  • Discuss
  • 6. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?

  • Options
  • A. absolute mode
  • B. indirect mode
  • C. immediate mode
  • D. index mode
  • Discuss
  • 7. Convert the .WORD d#790 assemblylanguage pseudo-ops into hexadecimal machine language:

  • Options
  • A. 0111EF
  • B. 03 16
  • C. F8
  • D. 42 65 61 72
  • Discuss
  • 8. Multiprogramming was made possible by

  • Options
  • A. input/output units that operate independently of the CPU
  • B. operating systems
  • C. both (a) and (b)
  • D. neither (a) nor (b)
  • Discuss
  • 9. Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:

  • Options
  • A. 0111EF
  • B. 9001E6
  • C. DA000F
  • D. 40
  • Discuss
  • 10. A self-relocating program is 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

First 2 3 4 5 6 7