Compiler Design - Basic Blocks
GATE CSE & IT · 2 questions across 2 years (2024-2025) · 5% recurrence rate
Recurrence sparkline
2024–202520242025
Difficulty mix
med 100%
Question types
NAT1
MCQ1
All 2 questions on Compiler Design - Basic Blocks
2025 Q52
Refer to the given 3-address code sequence. This code sequence is split into basic blocks. The number of basic blocks is ________. (Answer in integer) 1001: i = 1 1002: j = 1 1003: t1 = 10*i 1004: t2 = t1+j 1005: t3 = 8*...
Med✓
2024 Q39
Consider the following pseudo-code. L1: t1 = -1 L2: t2 = 0 L3: t3 = 0 L4: t4 = 4 * t3 L5: t5 = 4 * t2 L6: t6 = t5 * M L7: t7 = t4 + t6 L8: t8 = a[t7] L9: if t8 <= max goto L11 L10: t1 = t8 L11: t3 = t3 + 1 L12: if t3 < M...
Med✓