Search questions
97 questions
- GATE CSE 2026 Set 1, Q17, MSQ, Compiler designConsider the following C statements: [code] Which of the following options is/are correct?
- GATE CSE 2026 Set 1, Q18, MSQ, Compiler designWhich of the following statements is/are true?
- GATE CSE 2026 Set 1, Q32, MCQ, Compiler designConsider the control flow graph shown in the figure. [figure] Which one of the following options correctly lists the set of redundant expressions (common…
- GATE CSE 2026 Set 1, Q43, MSQ, Compiler designConsider the following two syntax-directed definitions SDD1 and SDD2 for type declarations. SDD1 Grammar (G1)Semantic Rules D → T VD.type = T.type V.type =…
- GATE CSE 2026 Set 2, Q19, MSQ, Compiler designWhich of the following grammars is/are ambiguous?
- GATE CSE 2026 Set 2, Q25, NAT, Compiler designA lexical analyzer uses the following token definitions letter → [A-Za-z] digit → [0-9] id → letter (letter | digit)^* number → digit ^+ ws → (blank | tab|…
- GATE CSE 2026 Set 2, Q31, MCQ, Compiler designConsider the canonical L R(0) parsing of the grammar below using terminals {a, b, c} and non-terminals {A, B, C, S} with S as the start symbol.…
- GATE CSE 2026 Set 2, Q35, MCQ, Compiler designConsider the control flow graph given below. [figure] Which one of the following options is the set of live variables at the exit point of each basic block?
- GATE CSE 2025 Set 1, Q2, MCQ, Compiler designWhich ONE of the following statements is FALSE regarding the symbol table?
- GATE CSE 2025 Set 1, Q3, MCQ, Compiler designWhich ONE of the following techniques used in compiler code optimization uses live variable analysis?
- GATE CSE 2025 Set 1, Q36, MSQ, Compiler designWhich of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler?
- GATE CSE 2025 Set 1, Q42, NAT, Compiler designRefer to the given 3-address code sequence. This code sequence is split into basic blocks. The number of basic blocks is ________. (Answer in integer) 1001: i =…
- GATE CSE 2025 Set 2, Q11, MCQ, Compiler designConsider the following statements about the use of backpatching in a compiler for intermediate code generation: (I) Backpatching can be used to generate code…
- GATE CSE 2025 Set 2, Q12, MCQ, Compiler designGiven the following syntax directed translation rules: Rule 1: R → A B{B . i=R . i-1 ; A . i=B . i ; R . i=A . i+1 ;} Rule 2: P → C D{P . i=C . i+D . i ; D .…
- GATE CSE 2025 Set 2, Q30, MCQ, Compiler designGiven a Context-Free Grammar G as follows: [formula] Which ONE of the following statements is TRUE?
- GATE CSE 2025 Set 2, Q41, MSQ, Compiler designConsider two grammars G_1 and G_2 with the production rules given below: G_1 : S → if E then S | if E then S else S | a E → b G_2 :S → if E…
- GATE CSE 2024 Set 1, Q16, MSQ, Compiler designWhich of the following is/are Bottom-Up Parser(s)?
- GATE CSE 2024 Set 1, Q23, NAT, Compiler designConsider the operator precedence and associativity rules for the integer arithmetic operators given in the table below.…
- GATE CSE 2024 Set 1, Q27, MCQ, Compiler designConsider the following syntax-directed definition (SDD).…
- GATE CSE 2024 Set 1, Q28, MCQ, Compiler designConsider the following grammar G, with S as the start symbol. The grammar G has three incomplete productions denoted by (1), (2), and (3).…