Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged compilation-phases
1
votes
3
answers
1
GATE CSE 2024 | Set 2 | Question: 11
Consider the following two sets: Set $\text{X}$ Set $\text{Y}$ P. Lexical Analyzer 1. Abstract Syntax Tree Q. Syntax Analyzer 2. Token R. Intermediate Code Generator 3. Parse Tree S. Code Optimizer 4. Constant Folding Which one of the following options is the CORRECT match ... $\mathrm{P}-4 ; \mathrm{Q}-3 ; \mathrm{R}-2 ; \mathrm{S}-1$
Consider the following two sets:Set $\text{X}$Set $\text{Y}$P. Lexical Analyzer1. Abstract Syntax TreeQ. Syntax Analyzer2. TokenR. Intermediate Code Generator3. ...
Arjun
2.3k
views
Arjun
asked
Feb 16
Compiler Design
gatecse2024-set2
compiler-design
compilation-phases
match-the-following
+
–
21
votes
4
answers
2
GATE CSE 2023 | Question: 1
Consider the following statements regarding the front-end and back-end of a compiler. S1: The front-end includes phases that are independent of the target hardware. S2: The back-end includes phases that are specific to the target hardware. S3: The back-end includes phases that are ... $\mathbf{S 3}$ are all TRUE. Only $\mathbf{S 1}$ and $\mathbf{S 3}$ are TRUE.
Consider the following statements regarding the front-end and back-end of a compiler.S1: The front-end includes phases that are independent of the target hardware.S2: The...
admin
15.1k
views
admin
asked
Feb 15, 2023
Compiler Design
gatecse-2023
compiler-design
compilation-phases
1-mark
+
–
1
votes
1
answer
3
Made Easy Test Series
According to the solution, there is no error in the program. And I ran the program there is no error. But how the rank is declared as int and initialized by 10.3 which is float. So, there should be a semantic error.
According to the solution, there is no error in the program. And I ran the program there is no error. But how the rank is declared as int and initialized by 10.3 which is...
Nihal Singh
531
views
Nihal Singh
asked
Oct 4, 2021
Compiler Design
compiler-design
compilation-phases
+
–
21
votes
7
answers
4
GATE CSE 2021 Set 2 | Question: 3
Consider the following $\text{ANSI C}$ program: int main () { Integer x; return 0; } Which one of the following phases in a seven-phase $C$ compiler will throw an error? Lexical analyzer Syntax analyzer Semantic analyzer Machine dependent optimizer
Consider the following $\text{ANSI C}$ program:int main () { Integer x; return 0; }Which one of the following phases in a seven-phase $C$ compiler will throw an error?Lex...
Arjun
17.2k
views
Arjun
asked
Feb 18, 2021
Compiler Design
gatecse-2021-set2
compilation-phases
compiler-design
1-mark
+
–
0
votes
1
answer
5
UGC NET CSE | June 2005 | Part 2 | Question: 31
Which of the statements related to Compilers is wrong ? Lexical analysis is breaking the input into tokens Syntax analysis is for parsing the phrase Syntax analysis is for analyzing the semantic None of these
Which of the statements related to Compilers is wrong ?Lexical analysis is breaking the input into tokensSyntax analysis is for parsing the phraseSyntax analysis is for a...
go_editor
1.0k
views
go_editor
asked
Mar 26, 2020
Compiler Design
ugcnetcse-june2005-paper2
compiler-design
compilation-phases
+
–
26
votes
4
answers
6
GATE CSE 2020 | Question: 9
Consider the following statements. Symbol table is accessed only during lexical analysis and syntax analysis. Compilers for programming languages that support recursion necessarily need heap storage for memory allocation in the run-time environment. Errors violating the condition any ... the above statements is/are TRUE? I only I and III only Ⅱ only None of Ⅰ, Ⅱ and Ⅲ
Consider the following statements.Symbol table is accessed only during lexical analysis and syntax analysis.Compilers for programming languages that support recursion nec...
Arjun
14.5k
views
Arjun
asked
Feb 12, 2020
Compiler Design
gatecse-2020
compiler-design
compilation-phases
runtime-environment
1-mark
+
–
4
votes
3
answers
7
ISRO2020-17
Which one indicates a technique of building cross compilers? Beta cross Canadian cross Mexican cross X-cross
Which one indicates a technique of building cross compilers?Beta crossCanadian crossMexican crossX-cross
Satbir
2.2k
views
Satbir
asked
Jan 13, 2020
Compiler Design
isro-2020
compiler-design
compilation-phases
normal
+
–
0
votes
0
answers
8
Made easy
I am having difficulty in finding the type of errors like if given a statement, if I have to tell which type of error it is ( syntax or semantic). Can anyone help me with it,explain it to me in a simple language by giving examples.
I am having difficulty in finding the type of errors like if given a statement, if I have to tell which type of error it is ( syntax or semantic). Can anyone help me with...
Jyoti Kumari97
401
views
Jyoti Kumari97
asked
Jan 29, 2019
Compiler Design
compiler-design
compilation-phases
+
–
0
votes
1
answer
9
Doubt in compiler
Any transcription error can be repaired by (a) insertion alone (b) deletion alone (c) insertion and deletion alone (d) replacement alone
Any transcription error can be repaired by(a) insertion alone (b) deletion alone(c) insertion and deletion alone (d) replacement alone
goluabhinan
1.5k
views
goluabhinan
asked
Sep 16, 2018
Compiler Design
compiler-design
compilation-phases
+
–
0
votes
1
answer
10
General doubt
What is the best resources to study Handles in compiler Design ? I can not understand this.
What is the best resources to study Handles in compiler Design ?I can not understand this.
Avik Chowdhury
184
views
Avik Chowdhury
asked
Sep 9, 2018
Compiler Design
compiler-design
compilation-phases
+
–
0
votes
1
answer
11
MadeEasy Test Series: Compiler Design - Compilation Phases
Which of the following is true? A) Symbol table is constructed during the analysis part of compiler i.e., (front end B) Type checking is done during syntax analysis phase. C) SDD with only synthesised attribute, always have a order of evaluation. D) Both (a) and (c)
Which of the following is true?A) Symbol table is constructed during the analysis part of compiler i.e., (front endB) Type checking is done during syntax analysis phase...
himgta
2.0k
views
himgta
asked
Sep 1, 2018
Compiler Design
compiler-design
compilation-phases
made-easy-test-series
+
–
0
votes
0
answers
12
self doubt
Why we need turning machine in semantic analysis? Why we need PDA in syntax analysis?
Why we need turning machine in semantic analysis?Why we need PDA in syntax analysis?
Prince Sindhiya
481
views
Prince Sindhiya
asked
Jul 18, 2018
Compiler Design
compiler-design
compilation-phases
+
–
0
votes
0
answers
13
Compiler Design from University papers
Ronish Jariwala 1
212
views
Ronish Jariwala 1
asked
Apr 15, 2018
Compiler Design
compiler-design
recursive-and-recursively-enumerable-languages
compilation-phases
+
–
28
votes
3
answers
14
GATE CSE 2018 | Question: 8
Which one of the following statements is FALSE? Context-free grammar can be used to specify both lexical and syntax rules Type checking is done before parsing High-level language programs can be translated to different Intermediate Representations Arguments to a function can be passed using the program stack
Which one of the following statements is FALSE?Context-free grammar can be used to specify both lexical and syntax rulesType checking is done before parsingHigh-level lan...
gatecse
11.7k
views
gatecse
asked
Feb 14, 2018
Compiler Design
gatecse-2018
compiler-design
easy
compilation-phases
1-mark
+
–
1
votes
2
answers
15
Machine dependent phase. How is it?
Parshu gate
5.1k
views
Parshu gate
asked
Nov 18, 2017
CO and Architecture
co-and-architecture
compilation-phases
+
–
2
votes
1
answer
16
Intermediate Code Generation
Why do we use Three Address Code generally in intermediate Code Generation phase of compiler ?
Why do we use Three Address Code generally in intermediate Code Generation phase of compiler ?
ankitgupta.1729
993
views
ankitgupta.1729
asked
Nov 12, 2017
Compiler Design
compiler-design
compilation-phases
descriptive
+
–
2
votes
1
answer
17
UGC NET CSE | June 2009 | Part 2 | Question: 34
A compiler that runs on one machine and produces code for a different machine is called : Cross compilation One pass compilation Two pass compilation None of the above
A compiler that runs on one machine and produces code for a different machine is called :Cross compilation One pass compilation Two pass compilation N...
rishu_darkshadow
1.9k
views
rishu_darkshadow
asked
Sep 23, 2017
CO and Architecture
ugcnetcse-june2009-paper2
compiler-design
compilation-phases
+
–
0
votes
1
answer
18
Compiler Design
a) (i) and (ii) only b) (ii) and (iii) only c) (i) and (iv) only d) All are correct
a) (i) and (ii) onlyb) (ii) and (iii) onlyc) (i) and (iv) onlyd) All are correct
stblue
869
views
stblue
asked
Aug 26, 2017
Compiler Design
compiler-design
intermediate-code
compilation-phases
test-series
+
–
39
votes
5
answers
19
GATE CSE 2017 Set 2 | Question: 05
Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it: ... $\text{P-iii; Q-iv; R-i; S-ii}$ $\text{P-i; Q-iv; R-ii; S-iii}$
Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it:$$\begin{array}{|l|l|}\hline \text{P. Syntax t...
Madhav
9.6k
views
Madhav
asked
Feb 14, 2017
Compiler Design
gatecse-2017-set2
compiler-design
match-the-following
compilation-phases
easy
+
–
2
votes
1
answer
20
Test by Bikram | Compiler Design | Test 1 | Question: 26
In compilers, the type checking is done in: Lexical Analysis Semantic Analysis Code Generation Phase Parsing Phase
In compilers, the type checking is done in:Lexical AnalysisSemantic AnalysisCode Generation PhaseParsing Phase
Bikram
247
views
Bikram
asked
Nov 25, 2016
Compiler Design
tbb-cd-1
compiler-design
compilation-phases
+
–
29
votes
3
answers
21
GATE CSE 1990 | Question: 2-ix
Match the pairs in the following questions: ...
Match the pairs in the following questions:$$\begin{array}{ll|ll} (a) & \text{Lexical analysis} & (p) & \text{DAG's} \\\hline (b) & \text{Code optimization} & (q) & \tex...
makhdoom ghaya
14.4k
views
makhdoom ghaya
asked
Nov 19, 2016
Compiler Design
gate1990
match-the-following
compiler-design
compilation-phases
+
–
16
votes
2
answers
22
GATE CSE 1987 | Question: 1-xi
In a compiler the module that checks every character of the source text is called: The code generator. The code optimiser. The lexical analyser. The syntax analyser.
In a compiler the module that checks every character of the source text is called:The code generator.The code optimiser.The lexical analyser.The syntax analyser.
makhdoom ghaya
6.4k
views
makhdoom ghaya
asked
Nov 8, 2016
Compiler Design
gate1987
compiler-design
compilation-phases
+
–
2
votes
5
answers
23
UGC NET CSE | August 2016 | Part 2 | Question: 33
In compiler optimization, operator strength reduction uses mathematical identities to replace slow math operations with faster operations. Which of the following code replacements is an illustration of operator strength reduction ? Replace $P + P$ by $2 ^{*} P$ or Replace $3 + 4$ ... $P ^{*} 0$ by $0$ Replace $(P < <4) - P$ by $P ^{*} 15$
In compiler optimization, operator strength reduction uses mathematical identities to replace slow math operations with faster operations. Which of the following code rep...
makhdoom ghaya
5.3k
views
makhdoom ghaya
asked
Sep 28, 2016
Compiler Design
ugcnetcse-aug2016-paper2
compiler-design
compilation-phases
+
–
2
votes
1
answer
24
UGC NET CSE | December 2010 | Part 2 | Question: 33
Grammar of the programming is checked at ________ phase of compiler. Semantic analysis Code generation Syntax analysis Code optimization
Grammar of the programming is checked at ________ phase of compiler.Semantic analysisCode generationSyntax analysisCode optimization
makhdoom ghaya
3.3k
views
makhdoom ghaya
asked
Sep 8, 2016
Others
ugcnetcse-dec2010-paper2
compiler-design
compilation-phases
+
–
4
votes
1
answer
25
Compiler phase Semantic phase
Even though Semantic analysis is one of the important phase of compiler design.But recently i came across a line that said "The compiler does not detect semantic errors, because they don't violate C rules" .Can someone explain in detail if ... not detect the semantic errors then who Does ? What is the point of having it if it does not detect errors.
Even though Semantic analysis is one of the important phase of compiler design.But recently i came across a line that said "The compiler does not detect semantic errors, ...
shekhar chauhan
1.0k
views
shekhar chauhan
asked
Jun 7, 2016
Compiler Design
compiler-design
compilation-phases
+
–
0
votes
1
answer
26
Compiler Translation Phase
What exactly a translation Process is ? in compiler Design .Can someone explain Briefly .
What exactly a translation Process is ? in compiler Design .Can someone explain Briefly .
Amit Sharma
1.6k
views
Amit Sharma
asked
Jun 7, 2016
Compiler Design
compiler-design
compilation-phases
descriptive
+
–
14
votes
2
answers
27
CMI2012-A-09
Consider the following programming errors: Type mismatch in an expression. Array index out of bounds. Use of an uninitialized variable in an expression. Which of these errors will typically be caught at compile-time by a modern compiler. I, II and III I and II I and III None of them
Consider the following programming errors:Type mismatch in an expression.Array index out of bounds.Use of an uninitialized variable in an expression.Which of these errors...
go_editor
2.9k
views
go_editor
asked
May 22, 2016
Compiler Design
cmi2012
compiler-design
compilation-phases
normal
+
–
0
votes
1
answer
28
what is compiler?
NehaDutonde
557
views
NehaDutonde
asked
Mar 21, 2016
Compiler Design
compiler-design
compilation-phases
+
–
22
votes
1
answer
29
GATE CSE 2016 Set 2 | Question: 19
Match the following: ... $ iv}$ $\text{P $\leftrightarrow$ iv, Q $\leftrightarrow$ i, R $\leftrightarrow$ ii, S $\leftrightarrow$ iii}$
Match the following:$$\begin{array}{ll|ll}\hline \text{(P)} & \text{Lexical analysis} & \text{(i)} & \text{Leftmost derivation} \\\hline \text{(Q)} & \text{Top down pars...
Akash Kanase
5.1k
views
Akash Kanase
asked
Feb 12, 2016
Compiler Design
gatecse-2016-set2
compiler-design
easy
match-the-following
compilation-phases
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register