Recent questions tagged compiler-design

0 votes
2 answers
333
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
334
Relocation bits used by relocating loader are specified byRelocating loader itselfLinkerAssemblerMacro processor
1 votes
1 answer
335
1 votes
1 answer
336
$\text{YACC}$ builds up$\text{SLR}$ parsing tableCanonical $\text{LR}$ parsing table$\text{LALR}$ parsing tableNone of these
0 votes
6 answers
337
Context-free grammar can be recognized by finite state automation$2$- way linear bounded automatapush down automataboth (B) and (C)
4 votes
3 answers
342
The identification of common sub-expression and replacement of run time computations by compile-time computations is:Local optimizationConstant foldingLoop OptimizationDa...
0 votes
1 answer
343
0 votes
1 answer
344
1 votes
4 answers
345
A top down parser generatesLeft most derivationRight most derivationLeft most derivation in reverseRight most derivation in reverse
0 votes
1 answer
346
Syntax directed translation scheme is desirable becauseIt is based on the syntaxIt is easy to modifyIts description is independent of any implementationAll of these
4 votes
6 answers
347
2 votes
5 answers
349
In a compiler, keywords of a language are recognized duringparsing of the programthe code generationthe lexical analysis of the programdataflow analysis
0 votes
1 answer
350
A system program that combines the separately complied modules of a program into a form suitable for executionassemblerlinking loadercross compilerload and go
2 votes
4 answers
351
0 votes
1 answer
352
2 votes
1 answer
353
1 votes
1 answer
354
The optimization phase in a compiler generallyReduces the space of the codeOptimizes the code to reduce execution timeBoth (A) and (B)Neither (A) nor (B)
1 votes
1 answer
357
0 votes
1 answer
358
0 votes
1 answer
359
Which activities is not included in the first pass of two pass assembler?build the symbol tableconstruct the Intermediate codeseparate memonic opcode and operand field.no...
2 votes
1 answer
360