Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged first-and-follow
5
votes
1
answer
1
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 2
Consider the following grammar- ... $\text{Follow(T)}$ are same. $\operatorname{First}(\mathrm{A})$ and $\operatorname{First}(\mathrm{T})$ are same.
Consider the following grammar-$$\begin{aligned}& S \rightarrow b T \\& T \rightarrow A b \mid B a \\& A \rightarrow a S \mid C B \\& B \rightarrow b D \\& C \rightarrow ...
GO Classes
542
views
GO Classes
asked
Jan 21
Compiler Design
goclasses2024-mockgate-12
goclasses
compiler-design
parsing
first-and-follow
multiple-selects
1-mark
+
–
1
votes
3
answers
2
Made Easy Test Series - Compiler Design
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
Rahhul A
466
views
Rahhul A
asked
Nov 10, 2023
Compiler Design
compiler-design
made-easy-test-series
first-and-follow
+
–
0
votes
1
answer
3
first follow self doubt
Does Follow and First operation always apply on non left recursive grammar?
Does Follow and First operation always apply on non left recursive grammar?
Sajal Mallick
155
views
Sajal Mallick
asked
Oct 13, 2023
Compiler Design
compiler-design
first-and-follow
+
–
2
votes
1
answer
4
Compiler Design
Confusion in follow of A,Please clarify.
Confusion in follow of A,Please clarify.
Overflow04
355
views
Overflow04
asked
Jul 12, 2022
Compiler Design
compiler-design
ace-test-series
first-and-follow
+
–
0
votes
3
answers
5
Remove left recusrion and find out first and follow
Compute the FIRST and FOLLOW for the postfix grammar after removing the left recursion: $ S → S S+/ S S* /a$
Compute the FIRST and FOLLOW for the postfix grammar after removing the left recursion:$ S → S S+/ S S* /a$
jayanth
3.3k
views
jayanth
asked
Jun 16, 2022
Compiler Design
compiler-design
left-recursion
first-and-follow
+
–
0
votes
1
answer
6
Compute FIRST and FOLLOW sets
Compute FIRST and FOLLOW sets: S→ aAC | bB A→ Abc| Abd | e B→ f | g C→ h | i
Compute FIRST and FOLLOW sets:S→ aAC | bBA→ Abc| Abd | eB→ f | gC→ h | i
Subhrangsu
2.0k
views
Subhrangsu
asked
Apr 15, 2022
Compiler Design
compiler-design
grammar
parsing
first-and-follow
+
–
0
votes
1
answer
7
NIELIT 2017 OCT Scientific Assistant A (CS) - Section B: 10
Consider an $\varepsilon$-tree CFG. If for every pair of productions $A\rightarrow u$ and $A\rightarrow v$ If $\text{FIRST(u)} \cap \text{FIRST(v)}$ is empty then the CFG has to be $LL(1).$ If the CFG is $LL(1)$ then $\text{FIRST(u)} \cap \text{FIRST(v)}$ has to be empty. Both $(A)$ and $(B)$ None of the above
Consider an $\varepsilon$-tree CFG. If for every pair of productions $A\rightarrow u$ and $A\rightarrow v$If $\text{FIRST(u)} \cap \text{FIRST(v)}$ is empty then the CFG ...
admin
3.2k
views
admin
asked
Apr 1, 2020
Compiler Design
nielit2017oct-assistanta-cs
compiler-design
context-free-grammar
first-and-follow
+
–
0
votes
0
answers
8
Ullman (Compiler Design) Edition 2 Exercise 4.4 Question 4 (Page No. 231)
Compute FIRST and FOLLOW for each of the grammars of $S\rightarrow 0S1\mid 01$ $S\rightarrow +SS\mid \ast SS\mid a$ $S\rightarrow S(S)S\mid \epsilon$ $S\rightarrow S+S\mid SS\mid (S)\mid S\ast\mid a$ ... $bterm\:\rightarrow\:bterm\:and\:bfactor\mid bfactor$ $bfactor\:\rightarrow\:not\:bfactor\mid (bexpr)\mid true\mid false$
Compute FIRST and FOLLOW for each of the grammars of $S\rightarrow 0S1\mid 01$ $S\rightarrow +SS\mid \ast SS\mid a$ $S\rightarrow S(S)S\mid \epsilon$ $S\rightarrow S+S\mi...
admin
624
views
admin
asked
Aug 20, 2019
Compiler Design
ullman
compiler-design
grammar
first-and-follow
descriptive
+
–
0
votes
2
answers
9
Ullman (Compiler Design) Edition 2 Exercise 4.4 Question 3 (Page No. 231)
Compute FIRST and FOLLOW for the grammar of $S\rightarrow SS + \mid SS {\ast} \mid a$
Compute FIRST and FOLLOW for the grammar of $S\rightarrow SS + \mid SS {\ast} \mid a$
admin
507
views
admin
asked
Aug 20, 2019
Compiler Design
ullman
compiler-design
grammar
first-and-follow
descriptive
+
–
0
votes
1
answer
10
Follow Set Self Doubt
X->aABe B->c | d A->a What will be the follow of A here? {c, d, $} or {c, d, e, dollar}
X->aABeB->c | dA->aWhat will be the follow of A here?{c, d, $} or {c, d, e, dollar}
aditi19
455
views
aditi19
asked
Jun 8, 2019
Compiler Design
compiler-design
first-and-follow
+
–
0
votes
1
answer
11
Self doubt on first follow
Rishabh Baghel
360
views
Rishabh Baghel
asked
Jun 3, 2019
Compiler Design
compiler-design
parsing
grammar
first-and-follow
+
–
1
votes
0
answers
12
First set and follow set self-doubt
why do first sets can have epsilon symbol but follow sets don’t? P.S: I’ve a silly doubt :P
why do first sets can have epsilon symbol but follow sets don’t?P.S: I’ve a silly doubt :P
aditi19
1.6k
views
aditi19
asked
May 12, 2019
Compiler Design
compiler-design
parsing
first-and-follow
+
–
1
votes
1
answer
13
MadeEasy Test Series: Compiler Design - Grammar
Consider the following grammar G shown Below : S → abS | ScS | d | c The number of terminals in follow set of non-terminal S is ___________________ Is “$” symbol considered terminal?
Consider the following grammar G shown Below :S → abS | ScS | d | cThe number of terminals in follow set of non-terminal S is ___________________ Is “$” symbol cons...
vinay chauhan
1.2k
views
vinay chauhan
asked
Dec 30, 2018
Compiler Design
first-and-follow
made-easy-test-series
grammar
+
–
1
votes
1
answer
14
compiler design. Why SLR(1) even if follow are different?
Consider the following grammar S --> Ka|bKc|dc|bda K ---> d The grammar is not LALR(1) SLR(1) LR(1) none of the above
Consider the following grammarS Ka|bKc|dc|bdaK - dThe grammar is notLALR(1)SLR(1)LR(1)none of the above
rahuljai
961
views
rahuljai
asked
Dec 13, 2018
Compiler Design
compiler-design
first-and-follow
+
–
0
votes
2
answers
15
ME test series
Consider the following CFG, with S as start symbol: S -> aA l CB A -> BaA I e B-> bB l Abc l e C -> B (HERE ‘e’ IS EPSILON OR NULL PRODUCTION) FIRST(B)? FOLLOW(C)?
Consider the following CFG, with S as start symbol:S - aA l CBA - BaA I eB- bB l Abc l eC - B (HERE ‘e’ IS EPSILON OR NULL PRODUCTION)FIRST(B)?FOLLOW(C)?
newdreamz a1-z0
921
views
newdreamz a1-z0
asked
Dec 8, 2018
Compiler Design
compiler-design
parsing
first-and-follow
made-easy-test-series
+
–
0
votes
1
answer
16
#CD Doubt
#CD compute first and follow for S->SS+\SS*\a
#CDcompute first and follow forS->SS+\SS*\a
Pavan Karthik
425
views
Pavan Karthik
asked
Oct 28, 2018
Compiler Design
compiler-design
grammar
parsing
first-and-follow
+
–
0
votes
2
answers
17
FIRST Set
S->Aa A->BD B->b | ɛ D->d | ɛ what is FIRST(S)?
S->AaA->BDB->b | ɛD->d | ɛwhat is FIRST(S)?
aditi19
458
views
aditi19
asked
Sep 14, 2018
Compiler Design
compiler-design
grammar
parsing
first-and-follow
+
–
0
votes
1
answer
18
Follow
Compute follow of the following grammar? $E \rightarrow TE'$ $E' \rightarrow +TE'/\epsilon$ $T \rightarrow FT'$ $T' \rightarrow ^*FT'/\epsilon$ $F \rightarrow (E)/id$
Compute follow of the following grammar?$E \rightarrow TE'$$E' \rightarrow +TE'/\epsilon$$T \rightarrow FT'$$T' \rightarrow ^*FT'/\epsilon$$F \rightarrow (E)/id$
saumya mishra
221
views
saumya mishra
asked
Jun 5, 2018
Compiler Design
compiler-design
parsing
first-and-follow
+
–
0
votes
1
answer
19
First and follow
Find first and follow of the given grammar? S->AB A->BS/a/€ B->AS/b
Find first and follow of the given grammar?S->ABA->BS/a/€B->AS/b
saumya mishra
3.1k
views
saumya mishra
asked
Jun 3, 2018
Compiler Design
compiler-design
grammar
parsing
first-and-follow
+
–
Page:
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register