Code No: R05311201

R05

Set No. 2

III B.Tech I Semester Examinations,November 2010 AUTOMATA AND COMPILER DESIGN Common to Information Technology, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. Consider the following grammar: S → E$ E → E + E |E ∗ E| (E) |I I → I digit I |digit (a) Give the Syntax Directed Translation Scheme for the above grammar. (b) Find the sequence of moves for acceptance of an input string: 2 3 * 5 + 4 $. [8+8] 2. (a) Let L be the set of all binary strings whose last two symbols are same. Design the NFA and find equivalent DFA. (b) Obtain the Regular Expression represented by the following Regular Set: {0, 1, 00, 01, 000, 001, 0000, 0001, ...}. [12+4] 3. Explain the following: (a) Implementation of Stack allocation Scheme (b) Activation Record.

[8+8]

4. Build the SLR(1) parsing table for the following grammar: E → E + T |T T → TF |F F → F∗ |a| b.

[16]

5. Explain the machine independent Optimization in Detail?

[16]

6. Write and explain Unification algorithm.

[16]

7. (a) What is recursive-descent parser? Explain. (b) Construct the recursive procedures for the following grammar: E → E + T |T T → T∗ F |F F → (E) |a. 8. Write and explain about DAG?

[16] [16]

?????

1

Code No: R05311201

R05

Set No. 4

III B.Tech I Semester Examinations,November 2010 AUTOMATA AND COMPILER DESIGN Common to Information Technology, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Let L be the set of all binary strings whose last two symbols are same. Design the NFA and find equivalent DFA. (b) Obtain the Regular Expression represented by the following Regular Set: {0, 1, 00, 01, 000, 001, 0000, 0001, ...}. [12+4] 2. Consider the following grammar: S → E$ E → E + E |E ∗ E| (E) |I I → I digit I |digit (a) Give the Syntax Directed Translation Scheme for the above grammar. (b) Find the sequence of moves for acceptance of an input string: 2 3 * 5 + 4 $. [8+8] 3. Build the SLR(1) parsing table for the following grammar: E → E + T |T T → TF |F F → F∗ |a| b.

[16]

4. Explain the following: (a) Implementation of Stack allocation Scheme (b) Activation Record.

[8+8]

5. Explain the machine independent Optimization in Detail?

[16]

6. Write and explain Unification algorithm.

[16]

7. (a) What is recursive-descent parser? Explain. (b) Construct the recursive procedures for the following grammar: E → E + T |T T → T∗ F |F F → (E) |a. 8. Write and explain about DAG?

[16] [16]

?????

2

Code No: R05311201

R05

Set No. 1

III B.Tech I Semester Examinations,November 2010 AUTOMATA AND COMPILER DESIGN Common to Information Technology, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Let L be the set of all binary strings whose last two symbols are same. Design the NFA and find equivalent DFA. (b) Obtain the Regular Expression represented by the following Regular Set: {0, 1, 00, 01, 000, 001, 0000, 0001, ...}. [12+4] 2. Write and explain about DAG?

[16]

3. (a) What is recursive-descent parser? Explain. (b) Construct the recursive procedures for the following grammar: E → E + T |T T → T∗ F |F F → (E) |a.

[16]

4. Explain the following: (a) Implementation of Stack allocation Scheme (b) Activation Record.

[8+8]

5. Build the SLR(1) parsing table for the following grammar: E → E + T |T T → TF |F F → F∗ |a| b.

[16]

6. Consider the following grammar: S → E$ E → E + E |E ∗ E| (E) |I I → I digit I |digit (a) Give the Syntax Directed Translation Scheme for the above grammar. (b) Find the sequence of moves for acceptance of an input string: 2 3 * 5 + 4 $. [8+8] 7. Explain the machine independent Optimization in Detail? 8. Write and explain Unification algorithm. ?????

3

[16] [16]

Code No: R05311201

R05

Set No. 3

III B.Tech I Semester Examinations,November 2010 AUTOMATA AND COMPILER DESIGN Common to Information Technology, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. Explain the following: (a) Implementation of Stack allocation Scheme (b) Activation Record.

[8+8]

2. Write and explain Unification algorithm.

[16]

3. Consider the following grammar: S → E$ E → E + E |E ∗ E| (E) |I I → I digit I |digit (a) Give the Syntax Directed Translation Scheme for the above grammar. (b) Find the sequence of moves for acceptance of an input string: 2 3 * 5 + 4 $. [8+8] 4. (a) What is recursive-descent parser? Explain. (b) Construct the recursive procedures for the following grammar: E → E + T |T T → T∗ F |F F → (E) |a. 5. Build the SLR(1) parsing table for the following grammar: E → E + T |T T → TF |F F → F∗ |a| b. 6. Explain the machine independent Optimization in Detail?

[16]

[16] [16]

7. (a) Let L be the set of all binary strings whose last two symbols are same. Design the NFA and find equivalent DFA. (b) Obtain the Regular Expression represented by the following Regular Set: {0, 1, 00, 01, 000, 001, 0000, 0001, ...}. [12+4] 8. Write and explain about DAG?

[16] ?????

4

R05 III B.Tech I Semester Examinations,November 2010 AUTOMATA ...

R05 III B.Tech I Semester Examinations,November 20 ... logy, Computer Science And Systems Engineering.pdf. R05 III B.Tech I Semester Examinations ...

39KB Sizes 2 Downloads 178 Views

Recommend Documents

R05 III B.Tech I Semester Examinations,December 2011 AUTOMATA ...
R05 III B.Tech I Semester Examinations,December 20 ... logy, Computer Science And Systems Engineering.pdf. R05 III B.Tech I Semester Examinations ...

R07 III B.Tech I Semester Examinations,December 2011 AUTOMATA ...
There was a problem previewing this document. Retrying... Download. Connect more apps... R07 III B.Tec ... gineering.pdf. R07 III B.Tech ... ngineering.pdf.

R05 IV B.Tech I Semester Examinations,November 2010 ...
T → int|float. L → L, id |id. (a) Write the Syntax Directed Definitions to add the type of each identifier to its. entry in the symbol table during semantic analysis.

NR311103 III B.Tech I Semester Supplementary Examinations ...
(a) Explain the pre-anesthetic care and preparation undertaken in a hospital. Why it is important? Explain. [8] · (b) How the patients are monitored during surgery ...

NR310204 III B.Tech I Semester Supplementary Examinations ...
III B.Tech I Semester Supplementary Examinations, November 2005. POWER ELECTRONICS · (Electrical & Electronic Engineering) · Time: 3 hours · Max Marks: 80 · Answer any FIVE Questions · All Questions carry equal marks · ***** · 1. (a) Explain the oper

NR311301 III B.Tech I Semester Supplementary Examinations ...
(c) Explain inverted paging method of memory management. [4+4+8] · 4. (a) Explain banker's algorithm for deadlock detection. (b) What are the criteria for a ...

NR311901 III B.Tech I Semester Supplementary Examinations ...
(a) Discuss the path sensitization in a combinational circuit. shown in figure1 · (b) Find the test set to detect A1- SA0 and A1- SA1 faults using Boolean difference.

NR311105 III B.Tech I Semester Supplementary Examinations ...
Code No: NR311105. NR. III B.Tech I Semester Supplementary Examinations, November 2005. BIO-MEDICAL EQUIPMENT · (Bio-Medical Engineering).

NR311904 III B.Tech I Semester Supplementary Examinations ...
Code No: NR311904. NR. III B.Tech I Semester Supplementary Examinations, November 2006 · COMPUTER GRAPHICS · (Electronics & Computer Engineering).

NR310405 III B.Tech I Semester Supplementary Examinations ...
8. The convolutional encoder is given below Figure1: · Figure 1: ... (b) Construct a code tree for the convolutional encoder for 3-bit input data. [10] · ⋆⋆⋆⋆⋆.

NR310305 III B.Tech I Semester Supplementary Examinations ...
i. plain carbon steel with 4% carbon and 0.8% manganese, ... (a) It is required to design a square key for fixing a gear on a shaft of 30 mm · diameter; to transmit ...

NR311803 III B.Tech I Semester Supplementary Examinations ...
III B.Tech I Semester Supplementary Examinations, November 2005. HEAT TREATMENT TECHNOLOGY · (Metallurgy & Material Technology) · Time: 3 hours.

NR310105 III B.Tech I Semester Supplementary Examinations ...
(b) The ground water level in a deposit of fine sand is 1.5 m below ground level. Above the water table ... is 21 kN/m3. Calculate the total stress, the neutral stress.

NR311403 III B.Tech I Semester Supplementary Examinations ...
Code No: NR311403. NR. III B.Tech I Semester Supplementary Examinations, November 2005. FINITE ELEMENT ANALYSIS · (Mechatronics) · Time: 3 hours.

NR311802 III B.Tech I Semester Supplementary Examinations ...
(b) Explain the following particle size measurement techniques. i. Sedimentation ... compaction. [6]. (b) Define Sintering and how is it different from hot pressing.

NR312105 III B.Tech I Semester Supplementary Examinations ...
III B.Tech I Semester Supplementary Examinations, November 2005. AERO SPACE ... (b) Maximum energy theory. [16] ... plain with live examples. (b) Write a ...

NR311001 III B.Tech I Semester Supplementary Examinations ...
4. What are the objectives of wage and salary administration function? [4+6+6] · 5. Write short notes on: · [4x4=16] · (a) Speculative purchasing · (b) Rate contract ...

NR310202 III B.Tech I Semester Supplementary Examinations ...
(a) What are the different problems associated with measurement of low resis- · tances. Explain. (b) How these problems are eliminated by using Kelvins double ...

NR311902 III B.Tech I Semester Supplementary Examinations ...
(b) What is score boarding and its use in RISC? [10] · 5. (a) Explain the salient features of Pentium architecture. [6] · (b) Draw the schematic blocks of Floating ...

NR310503 III B.Tech I Semester Supplementary Examinations ...
Which one you are saving by using statistical time-division multiplexing and prove · it. [16M] · 8. Give two full duplex protocols and explain their operation? [16M].

NR311002 III B.Tech I Semester Supplementary Examinations ...
(a) Pattern plating process. (b) Tenting process. [8+8] · 7. (a) Draw the schematic diagram of magnetic amplifier with a center tapped trans- · former and D.C. ...

NR310802 III B.Tech I Semester Supplementary Examinations ...
A reversible engine operating between a reservoir at 600 K and the ambient at- · mosphere at ... Determine the ratio of energy rejected by both the devices to the.

NR312106 III B.Tech I Semester Supplementary Examinations ...
What is degree of reaction of a gas turbine; how it can be controlled, derive its ... A single stage free vortex turbine is designed for zero degree of reaction at root.

NR311101 III B.Tech I Semester Supplementary Examinations ...
(b) Discuss the help of computers in Cardio vascular evaluation in ICU. [8] · 7. Discribe the use of computers for handicapped persons. Give two examples and.