Recent questions tagged compiler-design

13 votes
2 answers
303
Consider the following context-free grammar where the set of terminals is $\{a,b,c,d,f\}$. $$\begin{array}{lll} \text{S} & \rightarrow & d \: a \: \text{T} \mid \text{R} ...
1 votes
3 answers
307
In case of the dynamic programming approach the value of an optimal solution is computed in :Top down fashionBottom up fashionLeft to Right fashionRight to Left fashion
1 votes
1 answer
308
1 votes
1 answer
309
1 votes
1 answer
311
Type of conflicts that can arise in $\text{LR(0)}$ techniques are ________.Shift-reduce conflictShift-Shift conflictBoth “Shift-reduce conflict” & “Shift-Shift conf...
1 votes
1 answer
312
Shift reduce parsing can also be called as:Reverse of the Right Most DerivationRight Most DerivationLeft Most DerivationNone of the options
1 votes
4 answers
314
The $\text{LL(1)}$ and $\text{LR(0)}$ techniques are ___________Both same in powerBoth simulate reverse of right most derivationBoth simulate reverse of left most derivat...
5 votes
1 answer
315
0 votes
2 answers
318
Which of the following can be accessed by transfer vector approach of linking?External data segmentsExternal subroutinesData located in other procedureAll of these
0 votes
2 answers
319
Relocation bits used by relocating loader are specified byRelocating loader itselfLinkerAssemblerMacro processor
1 votes
1 answer
320