#1
June 17th, 2014, 04:18 PM
| |||
| |||
Objective type questions in Compiler Design
Can you please give me the some sample objective type questions in Compiler Design as it is very urgent for me? As you want to get the some sample objective type questions in Compiler Design so here is the information of the same for you: 1) Which of the following is not a feature of compiler ? Scans the entire program first and then translate it into machine code When all the syntax errors are removed execution takes place slow for debugging Answer = D 2) Parsing is also known as ? Lexical analysis Syntax analysis Semantic analysis Code generation Answer = B 3) The linker ? is same as the loader is required to create a load module is always used before programs are executed None of above Answer = B 4) Predictive parsers can be ? Recursive Constructive Non recursive Both A and B Answer = A 5) Producer consumer problem can be solved using ? semaphores event counters monitors All of above None of above Answer = D 6) Bottom up parsing involves ? shift reduce Handle pruning Operator check A & B Answer = D 7) An example of intermediate language is ? SNOBOL PASCAL COBOL UNCOL Answer = D 8) In a two pass assembler the object code generation is done during the ? Second pass First pass Zeroeth pass Not done by assembler Answer = A 9) A programming language is to be designed to run on a machine that does not have a big memory. The language should ? prefer a 2 pass compiler to a 1 pass compiler prefer a 1 pass compiler to a 2 pass compiler prefer an interpreter to a compiler Answer E 10) Which of the following system software resides in main memory always ? Text editor Assembler Linker Loader Last edited by Neelurk; February 4th, 2020 at 04:12 PM. |
|