COMPILER DESIGN JNTU previous years question papers
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
1. (a) What is LEX? Explain, in detail, different sections of LEX program.
(b) Write regular expressions for the following patterns. Use auxiliary definitions wherever convenient.
i. the set of words having a,e,i,o,u appearing in that order, although not necessarily consecutively.
ii. comments in C. [8+8]
2. (a) What are the difficulties in top down parsing? Explain in detail.
(b) Consider the following grammar
S ! (L) |a
L ! L, S |S
Construct leftmost derivations and parse trees for the following sentences:
i. (a,(a,a))
ii. (a,((a,a),(a,a))). [8+8]
3. (a) Explain canonical LR parsing.
(b) Explain briefly, precedence functions. construct the precedence graph using the following prededence table. [8+8]
+ * ( ) id $
f 2 3 0 4 4 0
g 1 3 5 0 5 0
4. (a) Write a S - attributed grammar to connect the fopllowing grammar with prefix rotator
L ! E
E ! E+T | E-T | T
T ! T*F | T/F | F
F ! P " F | P
P ! (E)
P ! id.
(b) Construct triples of an expression: a -(b + c). [8+8]
5. (a) What is heap storage allocation? Explain in detail.
(b) Explain about implicit and explicit storage requests. [8+8]
6. (a) Explain in detail the Optimization technique “strength reduction”.
(b) What is a DAG. Explain its applications. [8+8]
7. (a) What is an Induction variable? Explain with an example.
(b) Discuss how induction variables can be detected and how transformation can be applied. [8+8]
8. Generate code for the following ’C’ statements
(a) x = f(a) + f(a) + f(a)
(b) x = f(a) / g(b,c)
(c) x = f(f(a))
(d) x = ++f(a)
November 25, 2011
COMPILER DESIGN JNTU previous years question papers
Subscribe to:
Post Comments
(
Atom
)
Labels
Accenture
Admission Notice - 2010
Admission Notification
Anna University
Anna University Chennai
Anna University Question Papers
Anna University Trichy
Apparel Technology and Management
Aptitude Questions
Arts and Science Colleges
Biomedical Engineering
C and CPP Ebooks
Calicut University
CBSE Question papers
Civil Engineering
Civil Service Exams
Colleges in India
Colleges Result
Computer Science Engineering
Core Jobs
CS R2008
CSE
CSIR NET
EBooks Download
ECE
EEE
EIE
Electives
Electrical and Electronics Engineering
Electronics and communication
Electronics and Instrumentation Engineering
Engineering
Engineering Colleges in Maharashtra
Engineering Colleges in TamilNadu
Engineering Admissions
Engineering Colleges
Engineering Colleges in Karnataka
Engineering Jobs
Engineering Syllabus
Entrance Exam Dates
Entrance Exam Results
Entrance Examination
Exam Time Table
Experiencer
First Year Syllabus
Freshers
Full Time Jobs
Government jobs in india
Hardware and Networking Jobs
Hotel Management and Catering Technology
IGNOU
Information Technology
INTEVIEW QUESTIONS
IT Jobs
JNTU Question Papers
Jobs in Bangalore
Jobs in Chennai
Jobs in Coimbatore
Jobs in Delhi
Jobs in Hyderabad
Jobs in India
Jobs in Kerala
Jobs in Noida
Jobs in Tamilnadu
Jobs in TATA
Karnataka Educations
Lab Manuals
Mechanical Engineering
Medical Colleges
Placement Papers
Plus 2
Preparation for exams
Private Jobs in India
Question Papers
Question Papers Download
Results Announcement
Semester 1
Semester 2
Semester 3
Semester 4
Semester 5
Semester 6
Semester 7
Semester 8
Syllabus
Syllabus Download
Tamil Movie
TCS Placement Papers
Teaching Jobs
TECH MAHINDRA
Textile Technology
Top colleges
University Results
UPSC
VICEVESVARAYA TECHNOLOGICAL UNIVERSITY
waec
Walk-in Interview
Web Designers
Followers
Archive
- ► 2012 ( 1032 )
-
▼
2011
(
736
)
-
▼
November
(
228
)
-
▼
Nov 25
(
44
)
- WEB TECHNOLOGIES JNTU previous years question papers
- VIRTUAL REALITY JNTU previous years question papers
- MANAGERIAL ECONOMICS AND FINANCIAL ANALYSIS JNTU p...
- SOFTWARE TESTING METHODOLOGIES JNTU previous years...
- UNIX AND SHELL PROGRAMMING JNTU previous years que...
- SOFTWARE ENGINEERING JNTU previous years question ...
- PRINCIPLES OF PROGRAMMING LANGUAGES JNTU previous ...
- MICROPROCESSORS AND INTERFACING JNTU previous year...
- MOBILE COMPUTING JNTU previous years question papers
- OBJECT ORIENTED ANALYSIS AND DESIGN JNTU previous ...
- OBJECT ORIENTED PROGRAMMING JNTU previous years qu...
- MANAGEMENT SCIENCE JNTU previous years question pa...
- INFORMATION SECURITY JNTU previous years question ...
- HUMAN COMPUTER INTERACTION JNTU previous years que...
- FORMAL LANGUAGES AND AUTOMATA THEORY JNTU previous...
- ENVIRONMENTAL STUDIES JNTU previous years question...
- EMBEDDED SYSTEMS JNTU previous years question papers
- ELECTRONIC DEVICES AND CIRCUITS JNTU previous year...
- E-COMMERCE JNTU previous years question papers
- DIGITAL LOGIC DESIGN JNTU previous years question ...
- DESIGN PATTERNS JNTU years question papers
- DESIGN AND ANALYSIS OF ALGORITHMS JNTU previous ye...
- Data Warehousing and Data Mining JNTU previous yea...
- DATABASE MANAGEMENT SYSTEMS JNTU previous years qu...
- COMPUTER NETWORKS JNTU previous years question papers
- COMPUTER ORGANIZATION JNTU previous years question...
- COMPILER DESIGN JNTU previous years question papers
- COMPUTER GRAPHICS JNTU previous years question papers
- C PROGRAMMING AND DATA STRUCTURES CPDS JNTU previo...
- ARTIFICIAL NEURAL NETWORKS JNTU previous years que...
- BASIC ELECTRICAL ENGINEERING JNTU previous years q...
- APPLIED PHYSICS JNTU previous years question paper...
- Advanced Computing Concepts JNTU previous years qu...
- Advanced computer Architecture JNTU previous years...
- Jobs in TNPL Nov-2011
- Recruitment in Punjab State Transmission Corporat...
- Vacancies in THDC as Engineer Trainee and Executiv...
- Doctors Job Vacancies 2011 – Hyderabad – State Ban...
- Syndicate Bank Agricultural Assistants recruitment...
- CSMMU MBBS Second Prof (Pass) Exam 2011 Result Dec...
- HNB Garhwal University M Com (Final Year) Back Pap...
- University of Jammu Certificate Courses Admission ...
- Gautam Buddha University PhD Admission 2011-12
- SVPITM PGDM/MBA Programme 2012 Admission
-
▼
Nov 25
(
44
)
-
▼
November
(
228
)
0 comments :
Post a Comment