Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged first-and-follow
3
3 votes
3
3 answers
507
507 views
GO Classes DPP | COMPILER|FIRST AND FOLLOW
Which of the following statement(s) is/are FALSE while computing $\textbf{FIRST}$ and $\textbf{FOLLOW}$ sets for a Context-Free Grammar?If $X \rightarrow \alpha$ is a pro...
GO Classes
507
views
asked
Dec 26, 2025
Compiler Design
goclasses
compiler
goclasses-cs-dpp
goclasses-cs-dpp-day-165
goclasses-compiler-practice-questions
multiple-selects
first-and-follow
+
–
0
0 votes
1
1 answer
283
283 views
UGC NET CSE | August 2024 | Part 2 | Question: 2
Consider the Grammar:$\begin{array}{l}\mathrm{T} \rightarrow \mathrm{Q} x \\\mathrm{Q} \rightarrow \mathrm{RS} \\\mathrm{R} \rightarrow \mathrm{y} \mid \varepsilon \\\mat...
Shubham Sharma 2
283
views
asked
Sep 9, 2025
Theory of Computation
ugcnetcse-aug2024
compiler-design
first-and-follow
grammar
+
–
1
1 vote
1
1 answer
277
277 views
GO Classes Test Series 2025 | NIELIT Mock Test 1 | Question: 99
How many of the following are TRUE regarding construction of $\text{FIRST(X)}$ for a grammar symbol $\mathrm{X}?$ If $\text{X}$ is a terminal, then $\text{FIRST(X)}$ is $...
GO Classes
277
views
asked
May 5, 2025
Others
goclasses2025-nielit-mock-1
goclasses
compiler-design
first-and-follow
one-mark
+
–
21
21 votes
4
4 answers
6.7k
6.7k views
GATE CSE 2025 | Set 1 | Question: 36
Which of the following statement(s) is/are TRUE while computing $\operatorname{First}$ and $\operatorname{Follow}$ during top down parsing by a compiler?For a production ...
Arjun
6.7k
views
asked
Feb 27, 2025
Compiler Design
gatecse2025-set1
compiler-design
first-and-follow
parsing
multiple-selects
two-marks
+
–
1
1 vote
1
answers
1 answer
1.2k
1.2k views
14. Compute FIRST and FOLLOW for the following grammar S->AS, S->b, A->SA, A-> a
14. Compute FIRST and FOLLOW for the following grammar S->AS, S->b, A->SA, A- a
Prasanna 4
1.2k
views
asked
Feb 2, 2025
Compiler Design
compiler-design
first-and-follow
+
–
2
2 votes
1
1 answer
341
341 views
Help me find the correct look ahead symbols for LR(1) parser Hi! I have this grammar: S -> E E -> E + (E) E -> int What will be First Canonical item or state will be generated
Help me find the correct look ahead symbols for LR(1) parserHi!I have this grammar: S - E E - E + (E) E - intWhat will be First Canonical item or state will be g...
Lovepreet sharma
341
views
asked
Jan 17, 2025
Compiler Design
compiler-design
first-and-follow
+
–
0
0 votes
1
1 answer
1.3k
1.3k views
first follow
Find First and Follow for the following grammar:S→A C B |CbB |BaA → da| BCB → g | εC→ h | ε
Mukesh 1
1.3k
views
asked
Nov 20, 2024
Compiler Design
compiler-design
first-and-follow
+
–
0
0 votes
2
answers
2 answers
636
636 views
First and Follow
Find the first and follow of given grammar $S->A$$A - AB|\epsilon$$B->aB|b$
Faizan_Ur_rehman
636
views
asked
Nov 5, 2024
Compiler Design
compiler-design
first-and-follow
parsing
+
–
0
0 votes
1
1 answer
478
478 views
COMPILER DESIGN
Which of the following are present in FIRST(S) ∩ FIRST(F)?S → EE → Ff | GhF → ef | Gh | ϵG → Gg | ϵ A) {e, f, g, h} B). {e, f, h, ϵ}C). {e, g, h, ϵ}D). {...
ykaran12x
478
views
asked
Sep 22, 2024
Compiler Design
compiler-design
first-and-follow
+
–
1
1 vote
1
1 answer
475
475 views
igate booklet question
Consider the following grammar: Prog → {S} S→ Prog X; | Y = z; X →ϵ |S Prog Y → SZ Z→id Determine follow(S) from the above grammar. (A) { } , id} (B) { }, ϵ , id} (...
Ayushhh_
475
views
asked
Jun 22, 2024
Compiler Design
compiler-design
first-and-follow
+
–
0
0 votes
2
2 answers
747
747 views
FIRST $ FOLLOW
S - A BA - f S fA - b b B dB - ƐB - cFirst(S) =First(A) =First(B) =Follow(S) =Follow(A) =Follow(B) =
Ana_101
747
views
asked
Apr 19, 2024
Compiler Design
first-and-follow
compiler-design
parsing
grammar
+
–
0
0 votes
2
2 answers
624
624 views
FIRST & FOLLOR
S - A BA - f S fA - b b B dB - ƐB - cFirst(S) =First(A) =First(B) =Follow(S) =Follow(A) =Follow(B) =
Ana_101
624
views
asked
Apr 19, 2024
Compiler Design
first-and-follow
compiler-design
parsing
first-order-logic
descriptive
+
–
20
20 votes
2
answers
2 answers
12.3k
12.3k views
GATE CSE 2024 | Set 1 | Question: 28
Consider the following grammar $G$, with $S$ as the start symbol. The grammar $G$ has three incomplete productions denoted by $(1), (2)$, and $(3)$.$$\begin{aligned} & S ...
Arjun
12.3k
views
asked
Feb 16, 2024
Compiler Design
gatecse-2024-set1
compiler-design
first-and-follow
two-marks
+
–
1
1 vote
3
answers
3 answers
1.6k
1.6k views
Made Easy Test Series - Compiler Design
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
Rahhul A
1.6k
views
asked
Nov 10, 2023
Compiler Design
compiler-design
made-easy-test-series
first-and-follow
+
–
0
0 votes
1
1 answer
431
431 views
first follow self doubt
Does Follow and First operation always apply on non left recursive grammar?
Sajal Mallick
431
views
asked
Oct 13, 2023
Compiler Design
compiler-design
first-and-follow
+
–
Page:
1
2
3
next »