Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for compiler-design+gate1998
18
votes
2
answers
1
GATE CSE 1998 | Question: 1.28
A linker reads four modules whose lengths are $200, 800, 600$ and $500$ words, respectively. If they are loaded in that order, what are the relocation constants? $0, 200, 500, 600$ $0, 200, 1000, 1600$ $200, 500, 600, 800$ $200, 700, 1300, 2100$
A linker reads four modules whose lengths are $200, 800, 600$ and $500$ words, respectively. If they are loaded in that order, what are the relocation constants?$0, 200, ...
Kathleen
5.9k
views
Kathleen
asked
Sep 25, 2014
Compiler Design
gate1998
compiler-design
runtime-environment
normal
+
–
46
votes
2
answers
2
GATE CSE 1998 | Question: 1.27
Type checking is normally done during lexical analysis syntax analysis syntax directed translation code optimization
Type checking is normally done duringlexical analysissyntax analysissyntax directed translationcode optimization
Kathleen
14.0k
views
Kathleen
asked
Sep 25, 2014
Compiler Design
gate1998
compiler-design
parsing
easy
+
–
12
votes
4
answers
3
GATE CSE 1998 | Question: 14
Let $G_1 = (N, T, P, S_1)$ be a CFG where, $N=\{S_1, A, B\},T=\{a, b\}$ and $P$ ... $5$ production rules. Is $L_2$ inherently ambiguous?
Let $G_1 = (N, T, P, S_1)$ be a CFG where, $N=\{S_1, A, B\},T=\{a, b\}$ and $P$ is given by$$\begin{array}{l|l}S_1 \rightarrow a S_1 b &S_1 \rightarrow a B b \\S_1 \right...
Kathleen
4.4k
views
Kathleen
asked
Sep 26, 2014
Compiler Design
gate1998
compiler-design
grammar
descriptive
+
–
26
votes
3
answers
4
GATE CSE 1998 | Question: 1.25, ISRO2008-41
In a resident – OS computer, which of the following systems must reside in the main memory under all situations? Assembler Linker Loader Compiler
In a resident – OS computer, which of the following systems must reside in the main memory under all situations?AssemblerLinkerLoaderCompiler
Kathleen
9.4k
views
Kathleen
asked
Sep 25, 2014
Compiler Design
gate1998
compiler-design
runtime-environment
normal
isro2008
+
–
24
votes
2
answers
5
GATE CSE 1998 | Question: 1.26
Which of the following statements is true? SLR parser is more powerful than LALR LALR parser is more powerful than Canonical LR parser Canonical LR parser is more powerful than LALR parser The parsers SLR, Canonical CR, and LALR have the same power
Which of the following statements is true?SLR parser is more powerful than LALRLALR parser is more powerful than Canonical LR parserCanonical LR parser is more powerful t...
Kathleen
12.8k
views
Kathleen
asked
Sep 25, 2014
Compiler Design
gate1998
compiler-design
parsing
normal
+
–
26
votes
2
answers
6
GATE CSE 1998 | Question: 6b
Consider the grammar S $\rightarrow Aa \mid b$ A $\rightarrow Ac \mid Sd \mid \epsilon$ Construct an equivalent grammar with no left recursion and with minimum number of production rules.
Consider the grammarS $\rightarrow Aa \mid b$A $\rightarrow Ac \mid Sd \mid \epsilon$Construct an equivalent grammar with no left recursion and with minimum number of pr...
Kathleen
7.1k
views
Kathleen
asked
Sep 25, 2014
Compiler Design
gate1998
compiler-design
grammar
descriptive
+
–
18
votes
1
answer
7
GATE CSE 1998 | Question: 23
Let the attribute ‘$val$’ give the value of a binary number generated by $S$ in the following grammar: $S \rightarrow L.L \mid L$ $L \rightarrow LB \mid B$ $B \rightarrow 0 \mid 1$ For example, an input $101.101$ gives $S.val = 5.625$ Construct a syntax directed translation scheme using only synthesized attributes, to determine $S.val$.
Let the attribute ‘$val$’ give the value of a binary number generated by $S$ in the following grammar:$S \rightarrow L.L \mid L$$L \rightarrow LB \mid B$$B \rightarro...
Kathleen
11.9k
views
Kathleen
asked
Sep 26, 2014
Compiler Design
gate1998
compiler-design
syntax-directed-translation
normal
descriptive
+
–
22
votes
2
answers
8
GATE CSE 1998 | Question: 22
An identifier in a programming language consists of up to six letters and digits of which the first character must be a letter. Derive a regular expression for the identifier. Build an $LL(1)$ parsing table for the language defined by the $LL(1)$ ... $X \rightarrow d \text{ semi } X \mid sY$ $Y \rightarrow \text{ semi } s Y \mid \epsilon$
An identifier in a programming language consists of up to six letters and digits of which the first character must be a letter. Derive a regular expression for the identi...
Kathleen
3.8k
views
Kathleen
asked
Sep 26, 2014
Compiler Design
gate1998
compiler-design
parsing
descriptive
+
–
28
votes
1
answer
9
GATE CSE 1998 | Question: 2.15
Faster access to non-local variables is achieved using an array of pointers to activation records called a stack heap display activation tree
Faster access to non-local variables is achieved using an array of pointers to activation records called a stackheapdisplayactivation tree
Kathleen
8.8k
views
Kathleen
asked
Sep 25, 2014
Compiler Design
gate1998
programming
compiler-design
normal
runtime-environment
+
–
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