Online Test 1 - Compiler | Computer Science(CS)
Description: GATE Exam online test 1 Compiler Design | Computer Science(CS) | |
Number of Questions: 18 | |
Created by: Aliensbrain Bot | |
Tags: GATE CS Compiler Design |
Remove the left recursion from the following grammar. $E \rightarrow Ea|Eb|a|b$
A bottom up parser generates
When a computer is first turned ON and restarted, a special type of absolute loader is executed called
Which of the following statement(s) is/are true?
S1 : Right recursion is needed for termination in predictive parsers. S2 : Left recursion require more stack space than right. S3 : Left recursion works fine in bottom up parsers.
Consider the following grammar: S$\rightarrow$SS S$\rightarrow$0 S$\rightarrow$$\epsilon$ Which of the following is true related to the given grammar? (i) It is ambiguous. (ii) It is left recursive. (iii) It is LL(1). (iv) It accepts 0+.
The language recognized by the following finite automation is
A simple two-pass assembler does which of the following the first pass?
The front end of toy compiler performs to (i) determine validate of a source statement from the viewpoint of the analysis (ii) determine the content of a source statement (iii) construct a suitable representation of the source statement for use by subsequent analysis function or by the synthesis phase of the language processor
Dynamic linking can cause security concern because
The top down parsing method is also called
Which of the below is operator precedence?
A top down parser generator is
The output of lexical analyzer is
Handle pruning is the technique used to obtain
The language L = {ak bk |k$\ge$1} is
Which of the following is the most powerful parsing method?
The expression (a*b)C op….. (where ‘OP’ is one of ‘t’, ‘’ and ‘$\uparrow$’ is exponentiation) can be evaluated on a CPU with a single register without storing the value of (a*b) if
Type 0 grammar is