Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for compiler-design+gate1994
47
votes
2
answers
1
GATE CSE 1994 | Question: 1.12
Generation of intermediate code based on an abstract machine model is useful in compilers because it makes implementation of lexical analysis and syntax analysis easier syntax-directed translations can be written for intermediate code generation it ... the compiler it is not possible to generate code for real machines directly from high level language programs
Generation of intermediate code based on an abstract machine model is useful in compilers becauseit makes implementation of lexical analysis and syntax analysis easiersyn...
Kathleen
20.1k
views
Kathleen
asked
Oct 4, 2014
Compiler Design
gate1994
compiler-design
intermediate-code
easy
+
–
36
votes
3
answers
2
GATE CSE 1994 | Question: 1.18
Which of the following features cannot be captured by context-free grammars? Syntax of if-then-else statements Syntax of recursive procedures Whether a variable has been declared before its use Variable names of arbitrary length
Which of the following features cannot be captured by context-free grammars?Syntax of if-then-else statementsSyntax of recursive proceduresWhether a variable has been dec...
Kathleen
10.0k
views
Kathleen
asked
Oct 4, 2014
Compiler Design
gate1994
compiler-design
grammar
normal
+
–
3
votes
1
answer
3
GATE CSE 1994 | Question: 17b
State whether the following statements are True or False with reasons for your answer: A two pass assembler uses its machine opcode table in the first pass of assembly.
State whether the following statements are True or False with reasons for your answer:A two pass assembler uses its machine opcode table in the first pass of assembly.
gatecse
2.4k
views
gatecse
asked
May 3, 2021
Compiler Design
gate1994
compiler-design
normal
assembler
true-false
descriptive
+
–
5
votes
1
answer
4
GATE CSE 1994 | Question: 18b
State whether the following statements are True or False with reasons for your answer A symbol declared as ‘external’ in an assembly language program is assigned an address outside the program by the assembler itself.
State whether the following statements are True or False with reasons for your answerA symbol declared as ‘external’ in an assembly language program is assigned an ad...
gatecse
1.3k
views
gatecse
asked
May 3, 2021
Compiler Design
gate1994
compiler-design
normal
assembler
true-false
descriptive
+
–
19
votes
2
answers
5
GATE CSE 1994 | Question: 18a
State whether the following statements are True or False with reasons for your answer A subroutine cannot always be used to replace a macro in an assembly language program.
State whether the following statements are True or False with reasons for your answerA subroutine cannot always be used to replace a macro in an assembly language program...
Kathleen
3.0k
views
Kathleen
asked
Oct 5, 2014
Compiler Design
gate1994
compiler-design
normal
assembler
true-false
descriptive
+
–
16
votes
3
answers
6
GATE CSE 1994 | Question: 20
A grammar $G$ is in Chomsky-Normal Form (CNF) if all its productions are of the form $A \to BC$ or $A \to a$, where $A,B$ and $C$, are non-terminals and $a$ is a terminal. Suppose $G$ is a CFG in CNF and $w$ is a string in $L(G)$ of length $n$, then how long is a derivation of $w$ in $G$?
A grammar $G$ is in Chomsky-Normal Form (CNF) if all its productions are of the form $A \to BC$ or $A \to a$, where $A,B$ and $C$, are non-terminals and $a$ is a terminal...
Kathleen
5.0k
views
Kathleen
asked
Oct 5, 2014
Compiler Design
gate1994
compiler-design
grammar
normal
descriptive
+
–
24
votes
4
answers
7
GATE CSE 1994 | Question: 3.5
Match the following items ...
Match the following items$$\begin{array}{ll|ll}\hline \text{(i)} & \text{Backus-Naur form} & \text{(a)} & \text{Regular expressions} \\\hline \text{(ii)} & \text{Lexical...
Kathleen
5.4k
views
Kathleen
asked
Oct 4, 2014
Compiler Design
gate1994
compiler-design
grammar
normal
match-the-following
+
–
12
votes
2
answers
8
GATE CSE 1994 | Question: 17a
State whether the following statements are True or False with reasons for your answer: Coroutine is just another name for a subroutine.
State whether the following statements are True or False with reasons for your answer:Coroutine is just another name for a subroutine.
Kathleen
2.7k
views
Kathleen
asked
Oct 5, 2014
Compiler Design
gate1994
compiler-design
normal
assembler
true-false
descriptive
+
–
5
votes
0
answers
9
GATE CSE 1994 | Question: 23
Suppose we have a computer with single register and only three instructions given below: ... $T \rightarrow (E)\mid id$ Write a syntax directed translation to generate code using this grammar for the computer described above.
Suppose we have a computer with single register and only three instructions given below:$$\begin{array}{ll} \text{LOAD addren} & \text{; load register} \\ \text{} & \te...
Kathleen
1.0k
views
Kathleen
asked
Oct 5, 2014
Compiler Design
gate1994
compiler-design
grammar
syntax-directed-translation
descriptive
unsolved
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register