Professional Documents
Culture Documents
com
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
1.
2.
3.
4.
D
L
R
O
d) all
5.
6.
------------- file consists of tabular representation of the transmission diagrams Constructed for
expressions of specification file
[
a) lex.yy.c
b) x.l
c) a.out
d) none
7.
W
U
T
N
Interpreter is a type of
a) Preprocessor
b) compiler
c) translator
d) all
8.
In which parsing input symbols are placed at leaf nodes for successful parsing is
a) top down
b) bottom up
c) universal
d) predictive
9.
10.
While performing type checking ------ special basic types are needed.
a) 1
b) 2
c) 3
d) 4
Cont..2
www.jntuworld.com
www.jntuworld.com
:2:
Set No.1
II
11.
A right most derivation in reverse often called a canonical reduction sequence is obtained by -----
12.
13.
A LEX is a source program consists of 2 parts, a sequence of auxiliary definitions and --------
14.
The table management or book keeping portion of compiler keeps track of the names used by
program and -------------
15.
The RHS rule is directly converted into the program symbol by symbol in -------------
16.
17.
18.
The constructed data types are build using ------------- data types.
19.
20.
R
O
D
L
W
U
T
N
-oOo-
www.jntuworld.com
www.jntuworld.com
Code No: A107320502
Set No. 2
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
III B.Tech. II Sem., I Mid-Term Examinations, February 2011
COMPILER DESIGN
Objective Exam
Name: ______________________________ Hall Ticket No.
A
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
1.
d) all
2.
3.
------------- file consists of tabular representation of the transmission diagrams Constructed for
expressions of specification file
[
a) lex.yy.c
b) x.l
c) a.out
d) none
4.
Interpreter is a type of
a) Preprocessor
b) compiler
D
L
R
O
c) translator
d) all
5.
In which parsing input symbols are placed at leaf nodes for successful parsing is
a) top down
b) bottom up
c) universal
d) predictive
6.
7.
While performing type checking ------ special basic types are needed.
a) 1
b) 2
c) 3
d) 4
8.
9.
10.
W
U
T
N
Cont..2
www.jntuworld.com
www.jntuworld.com
:2:
Set No.2
II
11.
The table management or book keeping portion of compiler keeps track of the names used by
program and -------------
12.
The RHS rule is directly converted into the program symbol by symbol in -------------
13.
14.
15.
The constructed data types are build using ------------- data types.
16.
17.
18.
A right most derivation in reverse often called a canonical reduction sequence is obtained by -----
19.
20.
A LEX is a source program consists of 2 parts, a sequence of auxiliary definitions and --------
D
L
R
O
W
U
-oOo-
T
N
www.jntuworld.com
www.jntuworld.com
Code No: A107320502
Set No. 3
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
III B.Tech. II Sem., I Mid-Term Examinations, February 2011
COMPILER DESIGN
Objective Exam
Name: ______________________________ Hall Ticket No.
A
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
1.
------------- file consists of tabular representation of the transmission diagrams Constructed for
expressions of specification file
[
a) lex.yy.c
b) x.l
c) a.out
d) none
2.
Interpreter is a type of
a) Preprocessor
b) compiler
c) translator
d) all
D
L
3.
In which parsing input symbols are placed at leaf nodes for successful parsing is
a) top down
b) bottom up
c) universal
d) predictive
4.
5.
While performing type checking ------ special basic types are needed.
a) 1
b) 2
c) 3
d) 4
6.
7.
8.
9.
10.
R
O
W
U
T
N
d) all
Cont..2
www.jntuworld.com
www.jntuworld.com
:2:
Set No.3
II
11.
12.
13.
The constructed data types are build using ------------- data types.
14.
15.
16.
A right most derivation in reverse often called a canonical reduction sequence is obtained by -----
17.
18.
A LEX is a source program consists of 2 parts, a sequence of auxiliary definitions and --------
19.
The table management or book keeping portion of compiler keeps track of the names used by
program and -------------
20.
The RHS rule is directly converted into the program symbol by symbol in -------------
D
L
R
O
W
U
-oOo-
T
N
www.jntuworld.com
www.jntuworld.com
Code No: A107320502
Set No. 4
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
III B.Tech. II Sem., I Mid-Term Examinations, February 2011
COMPILER DESIGN
Objective Exam
Name: ______________________________ Hall Ticket No.
A
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
1.
In which parsing input symbols are placed at leaf nodes for successful parsing is
a) top down
b) bottom up
c) universal
d) predictive
2.
3.
While performing type checking ------ special basic types are needed.
a) 1
b) 2
c) 3
d) 4
4.
5.
6.
7.
R
O
D
L
W
U
T
N
d) all
8.
9.
------------- file consists of tabular representation of the transmission diagrams Constructed for
expressions of specification file
[
a) lex.yy.c
b) x.l
c) a.out
d) none
10.
Interpreter is a type of
a) Preprocessor
b) compiler
[
c) translator
d) all
Cont..2
www.jntuworld.com
www.jntuworld.com
:2:
Set No.4
II
11.
The constructed data types are build using ------------- data types.
12.
13.
14.
A right most derivation in reverse often called a canonical reduction sequence is obtained by -----
15.
16.
A LEX is a source program consists of 2 parts, a sequence of auxiliary definitions and --------
17.
The table management or book keeping portion of compiler keeps track of the names used by
program and -------------
18.
The RHS rule is directly converted into the program symbol by symbol in -------------
19.
20.
R
O
D
L
W
U
T
N
-oOo-
www.jntuworld.com