Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged code-optimization
7
7 votes
7
7 answers
2.2k
2.2k views
GATE CSE 2026 | Set 1 | Question: 32
Consider the control flow graph shown in the figure. Which one of the following options correctly lists the set of redundant expressions (common subexpressions) in the ba...
gatecse
2.2k
views
asked
Feb 23
Compiler Design
gatecse-2026-set1
compiler-design
two-marks
code-optimization
+
–
1
1 vote
1
answers
1 answer
227
227 views
Compiler Design | Practice Type |
Match the following statements with True (T) / False (F).S1: replacing A + 4*3 with A + 12 is called strength reductionS2: replacing A * 4 with A << 2 is called constant ...
Vishnu__
227
views
asked
Feb 4
Compiler Design
compiler-design
code-optimization
+
–
1
1 vote
2
2 answers
346
346 views
GO Classes DPP | COMPILER|CODE OPTIMIZATION
Which one of the following is FALSE?Reaching Definitions analysis is a forward data flow analysis problem. Live Variable analysis is used to determine which variables hol...
GO Classes
346
views
asked
Dec 26, 2025
Compiler Design
goclasses
compiler
goclasses-cs-dpp
goclasses-cs-dpp-day-165
goclasses-compiler-practice-questions
code-optimization
+
–
0
0 votes
1
1 answer
305
305 views
UGC NET CSE | June 2025 | Part 2 | Question: 95
Consider the following Three Address code sample for solving the questions:$\begin{array}{lll} 100 & : & t1=y+2 \\ 101 & : & \mathrm{initial } = x/t1 \\ 102 & : & \math...
Shubham Sharma 2
305
views
asked
Sep 10, 2025
Compiler Design
ugcnetcse-june2025
compiler-tokenization
code-optimization
three-address-code
+
–
0
0 votes
0
0 answers
226
226 views
UGC NET CSE | January 2025 | Part 2 | Question: 68
Regarding the code optimization, choose the correct sequenceAlgebraic SimplificationUse of machine idiomsRedundant - instruction eliminationFlow of control optimizationIm...
Shubham Sharma 2
226
views
asked
Sep 10, 2025
Compiler Design
ugcnetcse-jan2025
compiler-design
code-optimization
+
–
0
0 votes
2
2 answers
431
431 views
UGC NET CSE | August 2024 | Part 2 | Question: 51
Arrange the following stages of parsing in the correct order as they typically occur in the compilation process.Lexical AnalysisSematic AnalysisSyntax AnalysisIntermediat...
Shubham Sharma 2
431
views
asked
Sep 9, 2025
Compiler Design
ugcnetcse-aug2024
compiler-design
parsing
lexical-analysis
syntax-analysis
intermediate-code
code-optimization
+
–
0
0 votes
1
1 answer
188
188 views
NIELIT Scientific Assistant June 2025 | Question: 112
Which of the following best describes the purpose of the "backpatching" technique in code generation?It is used to resolve forward jumps by filling in missing addresses.I...
Shubham Sharma 2
188
views
asked
Jul 24, 2025
Compiler Design
nielit-sta-2025
compiler
intermediate-code
code-optimization
+
–
22
22 votes
5
5 answers
6.9k
6.9k views
GATE CSE 2025 | Set 1 | Question: 3
Which ONE of the following techniques used in compiler code optimization uses live variable analysis?Run-time function call managementRegister assignment to variablesStre...
Arjun
6.9k
views
asked
Feb 27, 2025
Compiler Design
gatecse2025-set1
compiler-design
code-optimization
easy
one-mark
+
–
0
0 votes
2
2 answers
782
782 views
compiler design tcompiler-design-timothy-g-griffin
6. Generate code for the following C program using any code generation algorithm. [3 Marks] main() { int x, a, b, c, d, e; ...
Ebrahim
782
views
asked
Jan 31, 2024
Compiler Design
compiler-design
syntax-directed-translation
code-optimization
parsing
ullman
+
–
0
0 votes
0
0 answers
368
368 views
compiler-design-timothy-g-griffin
Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b
Ebrahim
368
views
asked
Jan 11, 2024
Compiler Design
compiler-design
parsing
ullman
syntax-directed-translation
code-optimization
+
–
0
0 votes
0
0 answers
428
428 views
compiler-design-timothy-g-griffin
Please provide in detail solution step by step 5. Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC ...
Ebrahim
428
views
asked
Jan 10, 2024
Compiler Design
compiler-design
syntax-directed-translation
parsing
code-optimization
+
–
0
0 votes
0
0 answers
530
530 views
UGC NET CSE | June 2008 | Part 2 | Question: 34
Dead-code elimination in machine code optimization refers to :removal of all labels.removal of values that never get used.removal of function which are not involved.remov...
admin
530
views
asked
Jan 6, 2024
Compiler Design
ugcnetcse-june2008-paper2
code-optimization
compiler-design
+
–
0
0 votes
2
2 answers
1.5k
1.5k views
Compiler Construction : Timothy G. Griffin
Please Answer this question in detail step by step: 3. Translate the arithmetic expression (a + b * c) + d + (a + b * c) − d + e into: a). Syntax tree, (please draw...
Ebrahim
1.5k
views
asked
Dec 18, 2023
Compiler Design
compiler-design
syntax-directed-translation
code-optimization
+
–
0
0 votes
1
1 answer
868
868 views
Test Series
$\text{ Anyone please explain : }$
Rahhul A
868
views
asked
Nov 13, 2023
Compiler Design
compiler-design
code-optimization
process-and-threads
threads
intermediate-code
+
–
0
0 votes
1
1 answer
590
590 views
Madeasy test Series
Please explain how 2?
SKMAKM
590
views
asked
Jul 29, 2022
Compiler Design
code-optimization
made-easy-test-series
+
–
1
1 vote
0
0 answers
929
929 views
NIELIT 2022 April Scientist B | Section B | Question: 52
Consider the expression $(a-1) * (((b+c) / 3)) + d))$. Let $\text{X}$ be the minimum number of registers required by an optimal code generation (without any register spil...
soujanyareddy13
929
views
asked
Apr 12, 2022
Compiler Design
nielit2022apr-scientistb
compiler-design
code-optimization
co-and-architecture
+
–
2
2 votes
0
0 answers
1.0k
1.0k views
NIELIT 2022 April Scientist B | Section B | Question: 56
Consider these two functions and two statements $\text{S1}$ and $\text{S2}$ about them. int work1(int *a, int i, int j) { int x = a[i+2]; a[j] = x+1; return a[i+2] - 3; }...
soujanyareddy13
1.0k
views
asked
Apr 12, 2022
Compiler Design
nielit2022apr-scientistb
programming-in-c
code-optimization
data-structures
+
–
1
1 vote
1
answers
1 answer
2.7k
2.7k views
Live Variable Analysis | Made Easy Full Syllabus Test
A variable v is live at a program point p if some path from p to program exit contains an r-value occurrence of v which is not preceded by an l-value occurrence of v . Th...
palashbehra5
2.7k
views
asked
Jan 11, 2022
Compiler Design
compiler-design
made-easy-test-series
live-variable-analysis
code-optimization
+
–
0
0 votes
1
1 answer
633
633 views
Made Easy Test
How to approach such questions ?
Prasad Deshmukh
633
views
asked
Dec 21, 2021
Compiler Design
compiler-design
code-optimization
made-easy-test-series
+
–
42
42 votes
3
answers
3 answers
20.5k
20.5k views
GATE CSE 2021 | Set 2 | Question: 30
Consider the following $\text{ANSI C}$ code segment:z=x + 3 + y->f1 + y->f2; for (i = 0; i < 200; i = i + 2) { if (z i) { p = p + x + 3; q = q + y->f1; } else { p ...
Arjun
20.5k
views
asked
Feb 18, 2021
Compiler Design
gatecse-2021-set2
code-optimization
compiler-design
two-marks
+
–
Page:
1
2
3
4
next »