Ads 720 x 90

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




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.  Consider a “correct” (meaning it compiles and runs correctly) C++ program consisting of two files, Stack.h and Stack.C. Assuming that this code follows coding and naming conventions . Which command would compile the C++program and generate an executable file called “stack” that is ready for debugging with gdb.


    1.  g++ -g Stack.C

    2.  gcc *.C

    3.  gcc -g Stack.C

    4.  g++ -g -o stack Stack.C







  2. The command interpreter ______.


    1.  is menu drive

    2.  requires fixed format commands

    3.  is usually the primary user interface

    4.  is quite different from the SCL interpreter







  3. The dispatches __________


    1.  puts tasks in input/output wait

    2.  is always small and simple

    3.  never changes task priority

    4.  both (a) & (b)







  4. What is a process?


    1.  It is a job in secondary memory

    2.  It is a program in High level language kept on disk

    3.  It is a contents of main memory

    4.  It is a program in execution







  5. A producer consumer problem can be solved using _____.


    1.  monitors

    2.  event counters

    3.  semaphores

    4.  all of above







  6. Type checking is normally done during _______.


    1.  Lexical analysis

    2.  Syntax directed translation

    3.  Syntax analysis

    4.  Code optimization







  7. Which one of the following is the most powerful parsing method? 


    1.  Canonical LR

    2.  LALR

    3.  SLR

    4.  LL(I)







  8. System programs such as compilers are designed so that they are __________.


    1.  serially usable

    2.  recursive

    3.  re-enterable

    4.  non reusable







  9. The translator which perform macro expansion is called  _____.


    1.  Macro processor

    2.  Macro pre-processor

    3.  Micro pre-processor

    4.  Assembler







  10. Yacc resolves conflicts by of type _________.


    1.  Shift reduce

    2.  Reduce - Reduce

    3.  Shift - Shift

    4.  Both (a) & (b)
























Post a Comment

0 Comments