logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Language Processors Comments

  • Question
  • 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

  • Correct Answer
  • can itself perform the relocation of its address-sensitive portions 


  • Language Processors problems


    Search Results


    • 1. Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:

    • Options
    • A. 0111EF
    • B. 9001E6
    • C. DA000F
    • D. 40
    • Discuss
    • 2. 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
    • 3. 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
    • 4. 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
    • 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. The type to be used in an instantiation of a class template follows ________

    • Options
    • A. the generic class name
    • B. the keyword template
    • C. the keyword class
    • D. the template definition
    • Discuss
    • 7. Which type of statement does not occur in computer programs?

    • Options
    • A. sequence
    • B. loop
    • C. denial
    • D. selection
    • Discuss
    • 8. The newline character is always included between

    • Options
    • A. pair of parentheses
    • B. pair of curly braces
    • C. control string
    • D. &
    • E. None of the above
    • Discuss
    • 9. You mark the beginning of a function's block of code with the _____

    • Options
    • A. /
    • B. *
    • C. {
    • D. }
    • E. either (c) or (d) can be used
    • Discuss
    • 10. The step-by-step instructions that solve a problem are called _____

    • Options
    • A. an algorithm
    • B. a list
    • C. a plan
    • D. a sequential structure
    • Discuss


    Comments

    There are no comments.

Enter a new Comment