System Programming MCQ

Below System Programming quiz are Multiple Choice Questions (MCQs) type Quiz. These System Programming MCQ Questions helps you to refresh your System Programming, you can see the correct option by clicking on it. .
  • 1. The scheme of which interpreter translates the source program is known as

    • Paragraph by paragraph
    • Instruction by instruction
    • Line by line
    • Both A & B
  • 2. Object code is the output of ……………

    • Operating System
    • Compiler or Assembler
    • only Assembler
    • None of these
  • 3. Code optimization is responsibility of:

    • Application programmer
    • System programmer
    • Operating system
    • Both A & B
  • 4. Dead-code elimination in machine code optimization refers to:

    • removal of all labels.
    • removal of values that never get used.
    • removal of function which are not involved.
    • None of these
  • 5. In .............., the bodies of the two loops are merged together to form a single loop provided that they do not make any references to each other.

    • Loop unrolling
    • Strength reduction
    • Loop concatenation
    • Loop jamming
  • 6. From the point of view of the programmer, what are the major advantages of using a high-level language rather than internal machine code or assembly language ?

    • Program portability
    • Easy development
    • Efficiency
    • None of these
  • 7. Which of the following are Assembler Directives?(i) EQU(ii) ORIGIN(iii) START(iv) END

    • (ii), (iii) and (iv)
    • (i), (iii) and (iv)
    • (iii) and (iv)
    • (i), (ii), (iii) and (iv)
  • 8. A permanent database of a general model of compiler is...................

    • Identifier table
    • Page map table
    • Literal table
    • Terminal table
  • 9. In a two pass compiler, during the first pass:

    • user defined address symbols are correlated with their binary equivalent
    • the syntax of the statement is checked and mistakes, if any, are listed
    • object program is generated
    • None of these
  • 10. In compiler design ‘reducing the strength’ refers to

    • reducing the range of values of input variables
    • code optimization using cheaper machine instructions
    • reducing efficiency of program
    • All of above