Computer Science Mock Test NET Exam (System Software and Compilers) - Part 07


This Quiz is posted with the sole aim of guiding the aspirants of UGC-NET /CSIR -NET Exam to the path of success. To sharpen the edges of your own intelligence and practice, in a structured and concrete manner to ensure you definite Success in your endeavor and will Pave your way for a successful career in Teaching (or) Research Profession . All the very best...... Knock the door of success......
  1.  Minimum Hamming distance method is used for correction of ____.
    1.  semantic errors
    2.  transcription errors
    3.  syntactic errors
    4.  algorithmic errors

  2. Replacement of an expensive operation by a cheaper one is termed as __________.
    1.  loop variant computation
    2.  code motion
    3.  loop-invariant computation
    4.  reduction in strength

  3. Left factoring is a process of factoring out the common ______ .
    1.  prefixes of alternates
    2.  suffixes of alternates
    3.  predictive parsing
    4.  constant folding

  4. Which of the following system program foregoes the production of object code to generate absolute machine code and load it into the physical main storage location from which it will be executed immediately upon completion of the assembly ? 
    1.  Two pass assembler
    2.  Compiler
    3.  Macro processor
    4.  Load and go assembler

  5. Local and loop optimization in turn provide motivation for _____.
    1.  peephole optimization
    2.  DFA and constant folding
    3.  code motion
    4.  data flow analysis

  6. The graph that shows the basic blocks and their successor relationship is called _______.
    1.  Hamiltonion graph
    2.  control graph
    3.  short path graph
    4.  flow graph

  7. A compiler for a high level language that runs on one machine and produce code for  a different machine is called _______.
    1.  cross compiler
    2.  optimization compiler
    3.  one pass compiler
    4.  multipass compiler

  8. The method which merges  the bodies of two loopa is _____.
    1.  loop ramping
    2.  loop ramming
    3.  loop unrolling
    4.  loop folding

  9. Semantic errors can be detected ______.
    1.  at run time only
    2.  at compiler time only
    3.  both (a) & (b)
    4.  none of the above

  10. A general macroprocessor is an inbuilt function of ________.
    1.  linker
    2.  loader
    3.  operating system
    4.  assembler



0 comments