Compilers and System Programming
Covers concepts related to compilers, assemblers, linkers, language processing tools, and computer architecture fundamentals
Questions
____________ is the gap between application domain and programming language domain.
- Translator gap
- Specification gap
- Execution gap
- None of these
Which of the following rules in the analysis of the source program governs the formation of valid statements in the source language?
- Lexical rules
- Semantic rules
- Syntax rules
- None of these
Which of the following tables is used to store each label and its corresponding value?
- Machine-operation table
- Pseudo-operation table
- Literal table
- Symbol table
Which of the following types of grammars imposes no context requirements on derivations of reductions?
- Type-0
- Type-1
- Type-2
- Type-3
Which of the following Language Processor Development Tools is an automatic parser generator?
- LEX
- Compiler
- YACC
- None of these
Which of the following popular assemblers is the product of Sun Microsystems?
- MASM
- SPARC
- MASM32
- None of these
Which of the following activites is performed in the second phase of the two pass assembler?
- Separate the symbol, mnemonic opcode and operand fields
- Build the symbol table
- Synthesise the target program
- None of the above
___________ acts as an interface between the source program and the compiler in the phases of the compiler.
- Lexical analyzer
- Assembler
- Parser
- None of these
Which of the following is the address of origin, assigned by the linker while producing a machine language program?
- Translated origin
- Load origin
- Linked origin
- None of these
Which of the following represents data register in x86 family?
- AX
- BX
- DX
- CX
Which of the following programs is most often required while starting up of a computer?
- Linker
- Compiler
- Relocation
- Boot strapping
Which of the following data structures is good for doing a quick search on symbol table?
- Tree
- List
- Hash table
- None of these
___________ is a form of automatic memory management where each object has a count of the number of references to it.
- Java virtual machine
- Memory leak
- Reference counting
- None of these