menu
Recent questions tagged compiler-design
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Recent questions tagged compiler-design
All Activity
Q&A
Questions
Unanswered
Tags
Categories
Users
Ask a Question
Blogs
Previous Year
Exams
Recent questions tagged compiler-design
0
votes
0
answers
64
views
made easy test series
In which cases we can apply strength reduction, for example can i apply strength reductio on : for(i=0 to n) { z=5*(i+1) }
Pankaj_Kumar
asked
in
Compiler Design
Dec 2, 2021
by
Pankaj_Kumar
5
points
64
views
made-easy-test-series
compiler-design
0
votes
1
answer
101
views
made easy test series compiler design
I have a doubt in statement number 2 , why we can’t compute the strength reduction in 2nd statement
Pankaj_Kumar
asked
in
Compiler Design
Dec 2, 2021
by
Pankaj_Kumar
5
points
101
views
made-easy-test-series
compiler-design
0
votes
0
answers
18
views
#SelfDoubt #First and Follow
Hi guys can anyone help me to find that what will be the First and Follow set for this production? {A->BaA|epsilon, B->bB|ABC|epsilon, C->B}
arnab2022
asked
in
Compiler Design
Aug 24, 2021
by
arnab2022
5
points
18
views
self-doubt
compiler-design
first-follow
0
votes
0
answers
39
views
How to design Turing machine for addition of 2 binary numbers
ykrishnay
asked
in
Theory of Computation
Aug 18, 2021
by
ykrishnay
103
points
39
views
turing-machine
self-doubt
compiler-design
toc-languages
finite-automata
0
votes
0
answers
22
views
#Made Easy practice Book # Left-Recursion
Given a LR grammar {S->A|B, A->Aa|epsilon, B->Bb|Sc|epsilon} can I solve it in following way? 1) S->A|Bb|Sc|epsilon (Placing B’s productions in S) => AS' | BbS' | epsilon & S'->cS' | epsilon 2) A->A' & A'->aA' | epsilon 3)B->ScB' | B' & B'->bB' | epsilon
arnab2022
asked
in
Compiler Design
Jul 18, 2021
by
arnab2022
5
points
22
views
compiler-design
0
votes
0
answers
51
views
GATE-2017 set-01
Errors violating the condition ‘any variable must be declared before its use’ are detected during semantic analysis. Why cannot it come under syntax analysis? Does declaration not fall under Syntax?
GreyMatter
asked
in
Compiler Design
Jul 14, 2021
by
GreyMatter
5
points
51
views
register-allocation
gate2017-1
compiler-design
syntax
intermediate-code
0
votes
0
answers
24
views
#Self Doubt #Recursive CFG
Are all recursive grammar may it direct or indirect produce infinite language?
arnab2022
asked
in
Compiler Design
Jul 13, 2021
by
arnab2022
5
points
24
views
cfg
theory-of-computation
compiler-design
0
votes
0
answers
32
views
Gate 2021 Compiler Design Modified Question Doubt
In the following gate 2021 question from compiler design, https://gateoverflow.in/357425/gate-cse-2021-set-1-question-26 suppose option C is modified as : The actions can be used to type-check syntactically correct boolean variable declarations BUT ... rule using the production D → bool ID. Then, will option C be correct in addition to option B ?
debendra2021
asked
in
Compiler Design
Jun 1, 2021
by
debendra2021
5
points
32
views
compiler-design
0
votes
1
answer
44
views
Made Easy Subject Test Series , Compiler Design, Syntax Directed Translation
Raj_XR
asked
in
Compiler Design
May 31, 2021
by
Raj_XR
5
points
44
views
compiler-design
0
votes
0
answers
24
views
Applied Gate Live CD-2
Consider the basic block given below: a=10 b=4*a t1=i*j c=t1+b t2=15*a d=t2*c e=i t3=e*j t4=i*a c=t3+t4 The minimum number of nodes present in the DAG representation of the above basic block is _____.
bg_kenZ
asked
in
Compiler Design
May 28, 2021
by
bg_kenZ
5
points
24
views
compiler-design
code-optimization
0
votes
0
answers
25
views
Workbook Question Found on Web
rahul0521
asked
in
Compiler Design
May 15, 2021
by
rahul0521
5
points
25
views
compiler
compiler-design
parsing
grammar
0
votes
0
answers
42
views
CollegeAssignment
Draw the canonical collection of lr(0) item s-->da|ab a-->ba|c B-->bB|c. Find out whether the grammar is LR(0) or not and SLR(1) or not.
Prubhtej_9
asked
in
Compiler Design
Apr 3, 2021
by
Prubhtej_9
5
points
42
views
compiler-design
0
votes
0
answers
39
views
#Madeeasywork book
Caption
Pradeep Verma
asked
in
Compiler Design
Mar 12, 2021
by
Pradeep Verma
5
points
39
views
compiler-design
8
votes
6
answers
3.1k
views
GATE CSE 2021 Set 2 | Question: 3 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
3.1k
views
gate2021-cse-set2
compilation-phases
compiler-design
0
votes
3
answers
1.2k
views
GATE CSE 2021 Set 2 | Question: 13 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
1.2k
views
gate2021-cse-set2
multiple-selects
compiler-design
intermediate-code
3
votes
2
answers
1.0k
views
GATE CSE 2021 Set 2 | Question: 30 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
1.0k
views
gate2021-cse-set2
code-optimization
compiler-design
1
vote
3
answers
469
views
GATE CSE 2021 Set 2 | Question: 38 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
469
views
gate2021-cse-set2
code-optimization
compiler-design
0
votes
1
answer
561
views
GATE CSE 2021 Set 2 | Question: 51 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
561
views
gate2021-cse-set2
compiler-design
lr-parsing
numerical-answers
1
vote
2
answers
763
views
GATE CSE 2021 Set 1 | Question: 5 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
763
views
gate2021-cse-set1
compiler-design
lr-parser
1
vote
2
answers
1.2k
views
GATE CSE 2021 Set 1 | Question: 26 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
1.2k
views
gate2021-cse-set1
compiler-design
syntax-directed-translation
3
votes
2
answers
485
views
GATE CSE 2021 Set 1 | Question: 31 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
485
views
gate2021-cse-set1
compiler-design
grammar
1
vote
2
answers
549
views
GATE CSE 2021 Set 1 | Question: 50 | Video Solution
Arjun
asked
in
Compiler Design
Feb 18, 2021
by
Arjun
1.4k
points
549
views
gate2021-cse-set1
compiler-design
code-optimization
dag
1
vote
0
answers
35
views
Parsing table
Can we generate different parsing table for grammar
SHWETA RAO
asked
in
Compiler Design
Feb 14, 2021
by
SHWETA RAO
9
points
35
views
self-doubt
compiler-design
parsing
0
votes
0
answers
34
views
compiler construction self doubt
Consider the following grammar S → S ; T | T T → s Construct DFA of LR(1) Items Show the parsing stack for the input string s;s;s
ruqyya
asked
in
Compiler Design
Feb 10, 2021
by
ruqyya
5
points
34
views
compiler-design
0
votes
1
answer
62
views
quest is from compiler design subject BSCS topic errors
ruqyya
asked
in
Compiler Design
Feb 10, 2021
by
ruqyya
5
points
62
views
compiler-design
1
vote
0
answers
90
views
Made Easy Test
How to solve it?
Parth27
asked
in
Compiler Design
Jan 29, 2021
by
Parth27
163
points
90
views
test-series
compiler-design
0
votes
0
answers
91
views
self doubt: Compiler Design
(i) if a non token were in the code would it be counted in the lexical analysis? (ii) and will it generate an error in the lexical analysis phase or simply ignore that and count rest of the tokens? like, in this code : ifx = 12*54; what would be the output from lexical analysis phase?
5andy
asked
in
Compiler Design
Jan 26, 2021
by
5andy
5
points
91
views
tokens
compiler-design
0
votes
0
answers
62
views
Doubt Compiler design
what are the minimum number of registers required without any register splitting in following case c=a+b; d=a+b; as we can see at instruction 1, a and b are live c is dead at instruction 2 also a and b are live d is dead how many min register ... only. so according to that only 2 variable at max are live at any point so 2 register should be required..what would be the answer
Sneha negi
asked
in
Compiler Design
Jan 23, 2021
by
Sneha negi
9
points
62
views
compiler-design
0
votes
1
answer
34
views
selfdoubt madeeasy test series
Consider the basic block given below. u=u+v v=v+w x=v-w y=v-x z=u+v Find the sum of the minimum no of edges and nodes present in the DAG representation of the basic block given above.
Divyanshu Shukla
asked
in
Compiler Design
Jan 22, 2021
by
Divyanshu Shukla
1
point
34
views
compiler-design
0
votes
1
answer
46
views
Self doubt Madeeasy test series
Choose the correct output when the lexical analyzer scans the following input: “cabacccab”.
Divyanshu Shukla
asked
in
Compiler Design
Jan 21, 2021
by
Divyanshu Shukla
1
point
46
views
compiler-design
0
votes
0
answers
32
views
Made Easy Test series
Answer will 8 or 9? i got 9 (according to me no optimization should be done in Intermediate representation form)
Nitinkumar.097
asked
in
Compiler Design
Jan 13, 2021
by
Nitinkumar.097
13
points
32
views
test-series
compiler-design
1
vote
0
answers
202
views
Intermediate 3 address code generation doubt related to unary operators in an arithmetic expression
rish-18
asked
in
Compiler Design
Dec 30, 2020
by
rish-18
13
points
202
views
compiler-design
self-doubt
3-address-code
0
votes
0
answers
26
views
madeeasy notes
S->AB A->a B->b is ambiguous or not ? i think not ambiguous becz not having two same left most derivation tree or not hab=ving two same RMD tree…...is it correct
eyeamgj
asked
in
Compiler Design
Dec 28, 2020
by
eyeamgj
29
points
26
views
compiler-design
0
votes
0
answers
32
views
PREVIOUS YEAR STATIC and GLOBAL SCOPE
https://gateoverflow.in/89082/gate1989-8b WHAT IS CORRECT ANSWER PLEASE SEE…. I M GETTING 0
eyeamgj
asked
in
Programming
Dec 25, 2020
by
eyeamgj
29
points
32
views
compiler-design
0
votes
0
answers
20
views
ACE Academy Test series problem. Need explanation. According to them Option C is correct.
taurus05
asked
in
Compiler Design
Dec 24, 2020
by
taurus05
7
points
20
views
compiler-design
1
vote
1
answer
37
views
#madeeasytestseries
x=x*x y=y*y x=x*y y=y*x Minimum number of total variables in single static assignment for above code?
BHOJARAM
asked
in
Compiler Design
Dec 15, 2020
by
BHOJARAM
13
points
37
views
compiler-design
0
votes
0
answers
91
views
Madeeasy Test series Compiler Q4
Anyone please clarify.
Shivateja MST
asked
in
Compiler Design
Dec 14, 2020
by
Shivateja MST
45
points
91
views
compiler-design
0
votes
1
answer
85
views
Made easy Compiler design Q3
Anyone please clarify why lexical error is generated.
Shivateja MST
asked
in
Compiler Design
Dec 13, 2020
by
Shivateja MST
45
points
85
views
compiler-design
compiler
0
votes
0
answers
23
views
Made easy compiler question 2
Which of the following is/are not the functions of Syntax analyzer ? Recognize the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs. Build a literal table and an ... Build a uniform symbol table Parse the source program into basic elements or tokens of the language. Anyone please clarify.
Shivateja MST
asked
in
Compiler Design
Dec 13, 2020
by
Shivateja MST
45
points
23
views
compiler-design
0
votes
0
answers
40
views
Made-Easy test Series - Compiler Design, Parsing, 2021
sankalpmittal
asked
in
Compiler Design
Dec 12, 2020
by
sankalpmittal
41
points
40
views
compiler-design
parsing
Page:
1
2
3
4
...
11
next »
Ask a Question
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Recent Posts
New GATEOverflow PDFs
Guidelines to users
No Recent Blog Comments
Search GATE CSE Doubts