GATE CSE Concept Authority Hub

Compiler Design Solved GATE Questions

Build lexical analyzer tokens, LL(1)/LALR(1) parser tables, three-address intermediate code, and loop register allocations.

Indexed Doubts 10 Questions
Core Syllabus Focus GATE & ISRO CS

Practice Questions (10)

NQuestions1070

LL(1) Parser Conflicts and Ambiguity (Variation 10)

Which of the following grammar classes is **always** unambiguous?...

Asked by NileshNama Votes: 30 | Views: 610
NQuestions1069

Compiler Design: Number of Tokens in a C Code Snippet (Variation 9)

Consider the following line of C code: ```c printf("Result is %d, %d, %d\n", a, b, c); ``` What is the total number of tokens identified by th...

Asked by Rahul_Mehta Votes: 29 | Views: 602
NQuestions1068

LL(1) Parser Conflicts and Ambiguity (Variation 8)

Which of the following grammar classes is **always** unambiguous?...

Asked by Ananya_Sharma Votes: 28 | Views: 594
NQuestions1067

Compiler Design: Number of Tokens in a C Code Snippet (Variation 7)

Consider the following line of C code: ```c printf("Result is %d, %d, %d\n", a, b, c); ``` What is the total number of tokens identified by th...

Asked by Kiran_Kumar Votes: 27 | Views: 586
NQuestions1066

LL(1) Parser Conflicts and Ambiguity (Variation 6)

Which of the following grammar classes is **always** unambiguous?...

Asked by Pradyumna_Rao Votes: 26 | Views: 578
NQuestions1065

Compiler Design: Number of Tokens in a C Code Snippet (Variation 5)

Consider the following line of C code: ```c printf("Result is %d, %d, %d\n", a, b, c); ``` What is the total number of tokens identified by th...

Asked by NileshNama Votes: 25 | Views: 570
NQuestions1064

LL(1) Parser Conflicts and Ambiguity (Variation 4)

Which of the following grammar classes is **always** unambiguous?...

Asked by Rahul_Mehta Votes: 24 | Views: 562
NQuestions1063

Compiler Design: Number of Tokens in a C Code Snippet (Variation 3)

Consider the following line of C code: ```c printf("Result is %d, %d, %d\n", a, b, c); ``` What is the total number of tokens identified by th...

Asked by Ananya_Sharma Votes: 23 | Views: 554
NQuestions1062

LL(1) Parser Conflicts and Ambiguity

Which of the following grammar classes is **always** unambiguous?...

Asked by Kiran_Kumar Votes: 22 | Views: 546
NQuestions1061

Compiler Design: Number of Tokens in a C Code Snippet

Consider the following line of C code: ```c printf("Value of x = %d, y = %d", x, &y); ``` What is the total number of tokens identified by the...

Asked by Pradyumna_Rao Votes: 21 | Views: 538

Explore Other GATE CSE Subjects

Theory of ComputationOperating SystemsComputer NetworksDatabase Management SystemsEngineering MathematicsComputer Organization and ArchitectureDigital LogicData StructuresAlgorithms