Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
34 views
1 page
0f024ff2ba645662fba3f26d4e9819d6
Uploaded by
Pratham Wakde
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save 0f024ff2ba645662fba3f26d4e9819d6 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
34 views
1 page
0f024ff2ba645662fba3f26d4e9819d6
Uploaded by
Pratham Wakde
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save 0f024ff2ba645662fba3f26d4e9819d6 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save 0f024ff2ba645662fba3f26d4e9819d6 For Later
You are on page 1
/ 1
Search
Fullscreen
2 Any revealing of identification, appeal to evaluator and/or equations written eg, 4248=50, will be treated as malpractice. Imprtant Note: 1. On competing your anbnrs, compulsory éraw diagonal cots nes onthe remb..ng lank pages USN Zf 06CS63 Sixth Semester B.E. Degree Examination, Dec.09/Jan.10 Compiler Design Time: 3 hrs. Max. Marks:100 Note: Answer any FIVE full questions, selecting at least TWO questions from each part. PART-A 1a. Explain a language processing system, with a block diagram. (08 Marks) ’. Explain the concept of input buffering in the lexical analysis. (06 Marks) ©. Write the transition diagram to recognize the token relop. (Corresponding to relational operators ina language). (06 Marks) 2° a, Whatis left-recursion? Eliminate left recursion from the following grammar: E>E+T/T; ToT+F/F; F(B)/id (06 Marks) b. Obtain the predictive parsing table for the following grammar: SiESS'/a; — S'-reS/e; E+b (14 Marks) 3° a, Obtain LR(O) items for the following grammar: S+L=R/R; L'R/id; RoL (08 Marks) b. Obtain first and follow symbols for the grammar shown in Q3 (a) and obtain SLR parsing table. Is the grammar SLR? ; (12 Marks) 4a. Given the following grammar: S>CC; CoC/d i) Construct sets of LR(A) items. ii) Construct canonical LR(1) parsing table. (12 Marks) b. Construct LALR parsing tables for the grammar shown in Q4 (a) using LR(1) items. (08 Marks) PART-B Sa, Explain the concept of syntax directed translation, with examples. (06 Marks) b. Define inherited and synthesized attributes. (04 Marks) ©. Give SDD ofa simple desk calculator. (04 Marks) 4. Write the annotated parse tree for 3+5+4n. (06 Marks) 6 a Draw the DAG for the arithmetic expression, a+a*(b—c)+(b—c)#d. Show the steps for constructing the DAG. (10 Marks) b. What are three address codes? Explain different ways of representing three address codes, with examples. (10 Marks) 7. What is an activation record? Explain the purpose of each item in the activation record, with example. (08 Marks) b. Distinguish between static scope and dynamic scope. (04 Marks) ©. What do you mean by calling sequence? Explain the actions performed during, i) function call ii) retum, (08 Marks) 8 a. Explain the main issues in code generation. (10 Marks) b. For the following program segment: for i= 1 to 10.do for j=1 to 10.do afi, j} = 0.0 fori= 1 t0 10 do afi, i] = 1.0 generate intermediate code and identify basic blocks. (10 Marks) tenes
You might also like
Compiler Design
PDF
No ratings yet
Compiler Design
48 pages
Compiler Construction Past Questions
PDF
No ratings yet
Compiler Construction Past Questions
15 pages
ATCD
PDF
No ratings yet
ATCD
5 pages
Compiler Design Previous Papers
PDF
No ratings yet
Compiler Design Previous Papers
14 pages
Compiler Design Question Paper 21 22
PDF
No ratings yet
Compiler Design Question Paper 21 22
3 pages
Sem 7 All Gtu Papers
PDF
No ratings yet
Sem 7 All Gtu Papers
51 pages
DSIP Full Notes PDF
PDF
No ratings yet
DSIP Full Notes PDF
191 pages
Compiler Design Pyqs
PDF
No ratings yet
Compiler Design Pyqs
20 pages
CD Previous Question Papers According To Jntuh Syllabus
PDF
No ratings yet
CD Previous Question Papers According To Jntuh Syllabus
16 pages
III B. Tech II Semester Supplementary Examinations, December - 2023 Compiler Design
PDF
No ratings yet
III B. Tech II Semester Supplementary Examinations, December - 2023 Compiler Design
17 pages
PYQ Sem 5
PDF
No ratings yet
PYQ Sem 5
32 pages
21CS1603 CD QB
PDF
No ratings yet
21CS1603 CD QB
8 pages
CD Question Bank
PDF
No ratings yet
CD Question Bank
7 pages
Final Year Project Thesis
PDF
No ratings yet
Final Year Project Thesis
20 pages
Questions Set Compiler
PDF
No ratings yet
Questions Set Compiler
8 pages
SPCC Te QB
PDF
No ratings yet
SPCC Te QB
15 pages
CC QB
PDF
No ratings yet
CC QB
7 pages
Theoretical
PDF
No ratings yet
Theoretical
10 pages
CD Important Questions
PDF
No ratings yet
CD Important Questions
9 pages
Compiler Design: Btech/Idd (B.Tech and M.Tech
PDF
No ratings yet
Compiler Design: Btech/Idd (B.Tech and M.Tech
4 pages
CD End Term 2024 V Sem Cse Btech
PDF
No ratings yet
CD End Term 2024 V Sem Cse Btech
6 pages
CD Pyq
PDF
No ratings yet
CD Pyq
7 pages
Compipler Questions
PDF
No ratings yet
Compipler Questions
4 pages
KCS502A
PDF
No ratings yet
KCS502A
2 pages
UNIT 1: Introduction To Compiler Design
PDF
No ratings yet
UNIT 1: Introduction To Compiler Design
6 pages
Human Computer Interaction Unit 3
PDF
No ratings yet
Human Computer Interaction Unit 3
14 pages
16-E - CSEG 326 Compiler Design-Updated
PDF
No ratings yet
16-E - CSEG 326 Compiler Design-Updated
4 pages
CD Paper Harshdeep
PDF
No ratings yet
CD Paper Harshdeep
6 pages
Compiler Design Jan 2023
PDF
No ratings yet
Compiler Design Jan 2023
8 pages
Compiler Design
PDF
No ratings yet
Compiler Design
2 pages
New Microsoft Word Document
PDF
No ratings yet
New Microsoft Word Document
7 pages
Mobile Communication & Web Analytics Activity1 1
PDF
No ratings yet
Mobile Communication & Web Analytics Activity1 1
5 pages
Compiler 9
PDF
No ratings yet
Compiler 9
3 pages
P.E.S. College of Engineering, Mandya - 571 401
PDF
No ratings yet
P.E.S. College of Engineering, Mandya - 571 401
2 pages
Question Paper Code:: Reg. No.
PDF
No ratings yet
Question Paper Code:: Reg. No.
3 pages
@MQP
PDF
No ratings yet
@MQP
4 pages
Acd Q
PDF
No ratings yet
Acd Q
6 pages
Compiler Design Oct-Nov 2019
PDF
No ratings yet
Compiler Design Oct-Nov 2019
4 pages
Cst302 Compiler Design, January 2024 2
PDF
No ratings yet
Cst302 Compiler Design, January 2024 2
3 pages
CST302 Compiler Design, May 2023
PDF
No ratings yet
CST302 Compiler Design, May 2023
3 pages
Set-1 Ese Dec22 B Tech (Cse+Ai&Ml) B Tech (Cse+Ai&Ml) (Hons.) V Cseg3015 Compiler Design
PDF
No ratings yet
Set-1 Ese Dec22 B Tech (Cse+Ai&Ml) B Tech (Cse+Ai&Ml) (Hons.) V Cseg3015 Compiler Design
3 pages
Compiler Design Dec 2023
PDF
No ratings yet
Compiler Design Dec 2023
4 pages
CST302 Compiler Design May 2024
PDF
No ratings yet
CST302 Compiler Design May 2024
3 pages
WWW Gradplus Pro Lessons Elective IV Digital Image Processing Nagpur University
PDF
No ratings yet
WWW Gradplus Pro Lessons Elective IV Digital Image Processing Nagpur University
4 pages
Atcd 1 Sasipdf
PDF
No ratings yet
Atcd 1 Sasipdf
3 pages
Compiler Design July 2017 (2010 Scheme)
PDF
No ratings yet
Compiler Design July 2017 (2010 Scheme)
2 pages
Compiler Design 18CSC28
PDF
No ratings yet
Compiler Design 18CSC28
2 pages
Btech Cs 6 Sem Compiler Design f1031 May 2019
PDF
No ratings yet
Btech Cs 6 Sem Compiler Design f1031 May 2019
2 pages
System Software Compiler Design Question Papers
PDF
No ratings yet
System Software Compiler Design Question Papers
8 pages
Set-02 Socs Ese-Dec23 B.tech (Cse-h+Nh) - All Spec. 5 Cseg3015 Compiler Design
PDF
No ratings yet
Set-02 Socs Ese-Dec23 B.tech (Cse-h+Nh) - All Spec. 5 Cseg3015 Compiler Design
2 pages
Compiler Design July 2023
PDF
No ratings yet
Compiler Design July 2023
8 pages
UNIT 4,5 Ques Bank
PDF
No ratings yet
UNIT 4,5 Ques Bank
4 pages
SSC
PDF
No ratings yet
SSC
4 pages
RT 41053112016
PDF
No ratings yet
RT 41053112016
4 pages
Code No.: CS115 III B.Tech. II Sem. (RA15) Regular Examinations, April - 2018 Compiler Design
PDF
No ratings yet
Code No.: CS115 III B.Tech. II Sem. (RA15) Regular Examinations, April - 2018 Compiler Design
1 page
7-Sem Corrected Time-Table BTech 7-Sem All Br. CBCS
PDF
No ratings yet
7-Sem Corrected Time-Table BTech 7-Sem All Br. CBCS
3 pages
Cloud Computing Activity 2 Poster
PDF
No ratings yet
Cloud Computing Activity 2 Poster
1 page
CCS 305
PDF
No ratings yet
CCS 305
5 pages
2A English File
PDF
No ratings yet
2A English File
2 pages
Noc23 cs89
PDF
No ratings yet
Noc23 cs89
2 pages
8318c5537a36bff6b5cec58a352303eb (1)
PDF
No ratings yet
8318c5537a36bff6b5cec58a352303eb (1)
3 pages
Btech Cs It 5 Sem Compiler Design 510402 2022
PDF
No ratings yet
Btech Cs It 5 Sem Compiler Design 510402 2022
3 pages
Unit IV Question Bank
PDF
No ratings yet
Unit IV Question Bank
1 page
Energy & Environment Assignment I
PDF
No ratings yet
Energy & Environment Assignment I
2 pages
Wa0025
PDF
No ratings yet
Wa0025
1 page
Roll List 2020-21 (Copy)
PDF
No ratings yet
Roll List 2020-21 (Copy)
7 pages
Btech It 5 Sem Compiler Design Kit052 2021
PDF
No ratings yet
Btech It 5 Sem Compiler Design Kit052 2021
1 page
Answer All Questions, Each Carries 3 Marks.: Ɛ Ambiguous? Justify Your Answer
PDF
No ratings yet
Answer All Questions, Each Carries 3 Marks.: Ɛ Ambiguous? Justify Your Answer
2 pages
WWW - Manaresults.Co - In: (Computer Science and Engineering)
PDF
No ratings yet
WWW - Manaresults.Co - In: (Computer Science and Engineering)
2 pages
B F1031 Pages: 2: Reg No.: - Name
PDF
No ratings yet
B F1031 Pages: 2: Reg No.: - Name
2 pages
JSS Academy of Technical Education, Bangalore
PDF
No ratings yet
JSS Academy of Technical Education, Bangalore
2 pages
Multithreading and Answers MCQ Java
PDF
No ratings yet
Multithreading and Answers MCQ Java
5 pages
6 May-June10 Compiler Design
PDF
No ratings yet
6 May-June10 Compiler Design
2 pages
3468 Compiler Construction
PDF
No ratings yet
3468 Compiler Construction
5 pages