System Software And Compiler Design Mcq Questions And Answers

Multiple choice and objective type questions on System software and compiler design
1) Which of the following system software resides in the main memory always ?
  1. Text editor
  2. Assembler
  3. Linker
  4. Loader
Show/Hide Answer
Answer = D 
Explanation: Loader is a part of operating system that is used for loading programs.
2) A software is to be developed for a system which has a small memory. The software should ?
  1. use recursion wherever possible
  2. avoid using recursion
  3. use macros instead of functions
  4. Not use macros instead of functions
  5. B and D
Show/Hide Answer
Answer =E

3) In a two pass assembler the pseudo code EQU is to be evaluated during ?
  1. Pass 1
  2. Pass 2
  3. not evaluated by the assembler
  4. None of above
Show/Hide Answer
Answer = A 
4) Producer consumer problem can be solved using ?
  1. semaphores
  2. event counters
  3. monitors
  4. all of above
  5. none of above
Show/Hide Answer
Answer = D 

5) 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. Macro processor
  2. Load and go assembler
  3. Two pass assembler
  4. Compiler
  5. None of above
Show/Hide Answer
Answer = B 

6)  What is bootstraping?
  1. A language interpreting other language program
  2. A language compiling other language program
  3. A language compile itself
  4. All of above
Show/Hide Answer
Answer = C 

7) Indicate which of the following is not true about interpreter ?
  1. Interpreter generate an object program from the source program
  2. Interpreter analyses each source statement every time it is to be executed
  3. Interpreter is a kind of translator
  4. All of above
  5. None of above
Show/Hide Answer
Answer = A 
8) Functions of Lexical analyzer are  ?
  1. Removing white space
  2. Removing constants, identifiers and keywords
  3. Removing comments
  4. All of above
Show/Hide Answer
Answer = D 

9) Bottom up parsing involves ?
  1. Shift reduce
  2. Handle pruning
  3. Operator check
  4. A and B
Show/Hide Answer
Answer =  D

10) Yacc resolves conflicts by of type ?
  1. Reduce - Reduce
  2. Shift reduce
  3. Shift - Shift
  4. A and B
Show/Hide Answer
Answer =  D


Do You Like This? Please take 5 seconds to share with your firends.

2 comments:

Anonymous said...

Thank You..
Useful Information

Unknown said...

Very usefull questions for preparation.

Post a Comment