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)
58 views
4 pages
SSC
Uploaded by
fyfy
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 SSC For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
58 views
4 pages
SSC
Uploaded by
fyfy
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 SSC For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
50, will be treated as malpractice, ly raw diagonal cross lines on the remaining blank pages. 2. Any revealing of identification, appeal to evaluator and /or equations written eg, 42+8 Important Note: 1, On completing your answers, com, Livravian Se a institutes &» ay 18CS61 ww || 1] J oS Time: Sixth Semester B.E. Degree Examinafiop; July/August 2022 System Software angi; ompilers 3 hrs, Max. Marks: 100 Note: Answer any FIVE full questions, See ONE full questionSeom each module. oP b. oP C 6 a b. © Toa b. o Module-1, Explain in detail SIC/XE a chitecture. a, (10 Marks) oO List the various machine i jent assembler features, EXplain the control sections how the assembler convert them intpobject code. ? (10 Marks) “a er and ge Write an algorithm 1e 2... Assembler and give sample object program from One Pass Assembler. (20 Marks) ‘What'are the “ur of loader? nie two ways of program relocation in loaders. (10 Marks) a dule-2 Explaifivatious -_ of CompjféPSShow the wamlaig@yer an Assignment statement Postion = Initial rae * OP Clearly indicate the output of each phase. oe 4 (12 Maris) What are the applicationsia Compiler? Explain | (¢8 Marks) ke ots” ’ Write a brief note-on Language Processi tem. (06 Marks) Explain the coné&pt,of input buffering Lexical analygis,vith its implementation, isd a5 (G0 Marks) Define Token, Kexeme and Patt male (04 Marks) Module-3 DefinSContext Free creel Obtain CFG o generate strings of a’s and b's having ‘substring “ab”. (10 Marks) sider grammar given below from wu arithmetic expressions can be obtained. E+E Bei-E ESE E>E|E Eid how that the is anbiigg the sentence id + id + id (lo Marks) + Breusi Write an agpithm to eliminate 16 recursion from a grammar. Eliminate le recursion from the given grammar. ral A Ac|Sd|. (10 Marks) Define Shift ~ Reduce Bafsévand Handle, What are conflicts in shift ~ reduce parse, explain with example, (06 Marks) List and explain diffezent actions of shift - reducer parser (04 Marks) Module-4 Explain the three basic section of LEX program with example. (10 Marks) Write LEX pfogram to count word, character and line count in a given file (0 Marks) Y 1of210 a. Define $- Attribute and I - Atti {ree and annotated tree for sti +7 by using given 18CS61 a oR a. What is YACC? Explain the different sections u6ed Lit writing the YACC specification Explain with example program. e (10 Marks) ». Define Regular Expression. What is the use o {Noving ‘Meta characters : )- i) * i) a iy S WE} WD? (OT Marks) ¢. Discuss how Lexes and Parser communicé ay (03 Marks) Y cofistruct Syntax tree, Parse joditle-5 ith respect to SDD S>En ToT|F a ESE+T|E-T|T TOF, ¢ ToOT*F F > digit | S 1 (10 Marks) b, What are the diffeggntirce address code instructions? Translate the arithmetic expression a+b (-c) into, adthunles , triplets and inggee ies (40 Marks) ¢ a. Define ive SDD for simple type declaration. Construct a dependency graph for the decla int a,b 5 (10 Marks) bb. Expléinlyhe issues in design of (10 Marks) 2of2as malprac ly draw diagonal cross & = 2 @3CS Serlsills 7 18CS61 h Semester B.E. Degree Examination, Jan./Feb. 2023 AR System Software and Compilers Time: 3 hrs. Max. Marks: 100 Note: Answer any FIVE full questions, choosing ONE full question from each module. Module-1 1a. Explain the SIC/XE machine architecture. (10 Marks) b. Suppose alpha is an array of 100.words. Write a sequence of instruction for SIC/XE to set all 100 elements of an array to 0. (05 Marks) c. What is system software? Compare system software with application software and give couple of example. (05 Marks) OR 2 a. Explain the assembler directive and data structures used in assembler. (10 Marks) b. Write an algorithm of pass 1 of 2 — pass assembler. (05 Marks) c. Explain the bootstrap loader. (05 Marks) Module- 3. a. Explain the structure of complier with an example, (10 Marks) b. List and example the applications of compiler technology. (06 Marks) c. Differentiate between type checking and bound checking. (04 Marks) OR 4) a. Explain the role of lexical analyzer. (08 Marks) b. What is regular expression? Write the algebraic. laws of regular expression. (06 Marks) c. Explain the concept of input buffering in the Lenticels analysis. (06 Marks) Module- 5 a. Explain the different types of error recovery strategies in process. (06 Marks) b. Explain context free grammer and derivation. (06 Marks) cc. Explain the top down parsing and process for the string id + id + id. Given the grammer i) EDE+E ii) E> E*E ii) E > (E) WWE id (08 Marks) OR 6 a. Write the algorithm for recursive descent parser. For the following grammer write a recursive descent parser E-4T TOF E>SE+T (08 Marks) b. Is the following grammer ambiguous? (if — statement or if - then — else) SictSlictSeSla Cob, (04 Marks) c. Explain bottom — up parsing, shift-reduce parsing and LL(1) grammer. (08 Marks) 1of210 18CS61 Mod Explain the LEX specification with an example to count number vowels and consonants. (10 Marks) Explain the meta characters used in regular expression with an example. (05 Marks) Write a LEX program to count the number of scanf and printf statement and replacing them with readf and writef respectively. (05 Marks) OR Explain the YACC specification with an example, (10 Marks) Write a YACC program to accept strings of the form a"b” (n > 0). (05 Marks) Discuss two types of conflict in YACC with an example, (0S Marks) Mod: What is syntax directed definition? Write the’ grammer and SDD for a simple desk calculatiori and show annotated Parse tree for the expression (3 +4) *(S+6). (08 Marks) What is an attribute? Explain the different types of attributes with example. (08 Marks) What is the difference between syntax tree and parse tree? (04 Marks) OR Explain the Intermediate Code Generation (ICG) and type of method used to convert ICG (10 Marks) Explain the issues in the design of code generation. (10 Marks) 20f2
You might also like
Compiler Design Previous Papers
PDF
No ratings yet
Compiler Design Previous Papers
14 pages
ATCD
PDF
No ratings yet
ATCD
5 pages
Compiler Construction Past Questions
PDF
No ratings yet
Compiler Construction Past Questions
15 pages
Compiler Design
PDF
No ratings yet
Compiler Design
48 pages
PDF
PDF
No ratings yet
PDF
5 pages
2A English File
PDF
No ratings yet
2A English File
2 pages
Compiler Design Lab Manual
PDF
No ratings yet
Compiler Design Lab Manual
55 pages
Compiler Design
PDF
No ratings yet
Compiler Design
10 pages
CD Previous Question Papers According To Jntuh Syllabus
PDF
No ratings yet
CD Previous Question Papers According To Jntuh Syllabus
16 pages
Finalcomp PDF
PDF
No ratings yet
Finalcomp PDF
60 pages
r05320502 Compiler Design
PDF
100% (2)
r05320502 Compiler Design
6 pages
Compiler Design Pyqs
PDF
No ratings yet
Compiler Design Pyqs
20 pages
CT 1 Compiler Design Set C
PDF
No ratings yet
CT 1 Compiler Design Set C
77 pages
SPCC Te QB
PDF
No ratings yet
SPCC Te QB
15 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
Syllabus 2
PDF
No ratings yet
Syllabus 2
11 pages
PYQ Sem 5
PDF
No ratings yet
PYQ Sem 5
32 pages
CD Assignments Quizzes Combined
PDF
No ratings yet
CD Assignments Quizzes Combined
8 pages
Compiler Design ALL PYQ (Pran Tehare)
PDF
No ratings yet
Compiler Design ALL PYQ (Pran Tehare)
7 pages
All Practical CD
PDF
No ratings yet
All Practical CD
49 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
Compiler Design PYQ ALL (Pran Tehare)
PDF
No ratings yet
Compiler Design PYQ ALL (Pran Tehare)
11 pages
IAT - 1 Set2 Answers
PDF
No ratings yet
IAT - 1 Set2 Answers
11 pages
Compiler Design Jan 2023
PDF
No ratings yet
Compiler Design Jan 2023
8 pages
Btcoc601 Y20
PDF
No ratings yet
Btcoc601 Y20
3 pages
(R20CSE3202) Compiler Design: Question Bank With Blooms Taxonomy Level (BTL)
PDF
No ratings yet
(R20CSE3202) Compiler Design: Question Bank With Blooms Taxonomy Level (BTL)
10 pages
System Software Compiler Design Question Papers
PDF
No ratings yet
System Software Compiler Design Question Papers
8 pages
Compiler Design - Monowar Hussain
PDF
No ratings yet
Compiler Design - Monowar Hussain
4 pages
BIT - R - 5 - Comp and Design Const - Sept 2022
PDF
No ratings yet
BIT - R - 5 - Comp and Design Const - Sept 2022
8 pages
KCS502A
PDF
No ratings yet
KCS502A
2 pages
Cst302 Compiler Design, January 2024 2
PDF
No ratings yet
Cst302 Compiler Design, January 2024 2
3 pages
Compiler Design - Supple (13.06.2024)
PDF
No ratings yet
Compiler Design - Supple (13.06.2024)
2 pages
tcs601 Endsem 2022
PDF
No ratings yet
tcs601 Endsem 2022
2 pages
CD Merged
PDF
No ratings yet
CD Merged
2 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
CSE - CS604A - COMPILER DESIGN - R18 - Booklet
PDF
No ratings yet
CSE - CS604A - COMPILER DESIGN - R18 - Booklet
2 pages
SSCD (1) PDF
PDF
No ratings yet
SSCD (1) PDF
5 pages
Course Plan: DSEC/CSE/CS8602/III/VI
PDF
No ratings yet
Course Plan: DSEC/CSE/CS8602/III/VI
9 pages
@MQP
PDF
No ratings yet
@MQP
4 pages
Question Paper Code:: Reg. No.
PDF
No ratings yet
Question Paper Code:: Reg. No.
3 pages
Compiler Design Supl
PDF
No ratings yet
Compiler Design Supl
2 pages
ND-2020-CS 6660-Compiler Design
PDF
No ratings yet
ND-2020-CS 6660-Compiler Design
4 pages
2017 Paper - MgOr - R8GDKjKkTJkXFB
PDF
No ratings yet
2017 Paper - MgOr - R8GDKjKkTJkXFB
3 pages
SSQBANK
PDF
No ratings yet
SSQBANK
2 pages
Ce 705
PDF
No ratings yet
Ce 705
5 pages
Compiler Design 18CSC28
PDF
No ratings yet
Compiler Design 18CSC28
2 pages
2019 Paper - MgOrwxupnTGZbsptTPL
PDF
No ratings yet
2019 Paper - MgOrwxupnTGZbsptTPL
3 pages
CD CIC303 New Scheme Syllabus
PDF
No ratings yet
CD CIC303 New Scheme Syllabus
2 pages
CD
PDF
No ratings yet
CD
21 pages
Principles of Compiler Design
PDF
No ratings yet
Principles of Compiler Design
36 pages
The Mid-Term Exam of Compiler (2017521460090 - ALVIN)
PDF
No ratings yet
The Mid-Term Exam of Compiler (2017521460090 - ALVIN)
10 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
6 May-June10 Compiler Design
PDF
No ratings yet
6 May-June10 Compiler Design
2 pages
System Software: Answer Any FIVE Full Questions
PDF
No ratings yet
System Software: Answer Any FIVE Full Questions
1 page
3468 Compiler Construction
PDF
No ratings yet
3468 Compiler Construction
5 pages
System Software Jan 2005 Old
PDF
No ratings yet
System Software Jan 2005 Old
2 pages