cookie

We use cookies to improve your browsing experience. By clicking «Accept all», you agree to the use of cookies.

avatar

GATE IES Civil EE ME PDF Exam

Reach Us - @Engineering_Exam_Bot GATE Exam 2023 Mechanical Computer Science Electrical Civil Electronics Chemical IT Complete Study Material, Books, PDF, Notes

Show more
Advertising posts
46 447
Subscribers
-4124 hours
-2777 days
-1 19130 days

Data loading in progress...

Subscriber growth rate

Data loading in progress...

GATE - 1994 COMPILER Which of the following features cannot be captured by context-free grammars?Anonymous voting
  • A. Syntax of if-then-else statements
  • B. Syntax of recursive procedures
  • C. Whether a variable has been declared before its use
  • D. Variable names of arbitrary length
0 votes
GATE - 2018 COMPILER Which one of the following statements is FALSE?Anonymous voting
  • A. Context-free grammar can be used to specify both lexical and syntax rules
  • B. Type checking is done before parsing
  • C. High-level language programs can be translated to different Intermediate Representations
  • D. Arguments to a function can be passed using the program stack
0 votes
GATE - 1987 COMPILER In a compiler the module the checks every character of the source text is called:Anonymous voting
  • A. The Code Generator
  • B. The Code Optimiser
  • C. The Lexical Analyser
  • D. The Syntax Analyser
0 votes
GATE - 2008 COMPILER Some code optimizations are carried out on the intermediate code because:Anonymous voting
  • A. They enhance the portability of the compiler to the target processor
  • B. Program analysis is more accurate on intermediate code than on machine code
  • C. The information from dataflow analysis cannot otherwise be used for optimization
  • D. The information from the front end cannot otherwise be used for optimization
0 votes
GATE - 2002 COMPILER To evaluate an expression without any embedded function calls:Anonymous voting
  • A. One stack is enough
  • B. Two stacks are needed
  • C. As many stacks as the height of the expression tree are needed
  • D. A Turing machine is needed in the general case
0 votes
GATE - 1996 COMPILER The pass numbers for each of the following activities: I. Object Code Generation II. Literals added to literal table III. Listing printed IV. Address resolution of local symbols that occur in a two pass assembler Respectively are:Anonymous voting
  • A. 1, 2, 1, 2
  • B. 2, 1, 2, 1
  • C. 2, 1, 1, 2
  • D. 1, 2, 2, 2
0 votes
GATE - 1987 COMPILER In a compiler the module the checks every character of the source text is called:Anonymous voting
  • A. The Code Generator
  • B. The Code Optimiser
  • C. The Lexical Analyser
  • D. The Syntax Analyser
0 votes
GATE - 1994 COMPILER Which of the following features cannot be captured by context-free grammars?Anonymous voting
  • A. Syntax of if-then-else statements
  • B. Syntax of recursive procedures
  • C. Whether a variable has been declared before its use
  • D. Variable names of arbitrary length
0 votes
GATE - 2018 COMPILER Which one of the following statements is FALSE?Anonymous voting
  • A. Context-free grammar can be used to specify both lexical and syntax rules
  • B. Type checking is done before parsing
  • C. High-level language programs can be translated to different Intermediate Representations
  • D. Arguments to a function can be passed using the program stack
0 votes
How many 2:1 MUX required to form 16:1 MUX?Anonymous voting
  • 7
  • 15
  • 3
  • 63
0 votes