System Programming and Compiler Design
Comprehensive quiz covering compiler design, system software concepts, assembly language, and language processing fundamentals
Questions
Type of incompatibilities between operators and operands, and between formal and actual parameters are another common source of ___________.
- Semantic errors
- Reporting errors
- Algorithmic errors
- Coding errors
- Transcription errors
Which of the following is suitable in situations where one has enormous amount of data to quickly search and retrieve information?
- Compiler symbol table
- Hash tables
- Buckets
- Arrays
- Fixed length representation
Which memory allocation corresponds to non static local variables and call by value parameter variables?
- Statically allocated variables
- Dynamic memory allocations
- Stack memory allocations
- Block
- Program controlled dynamic memory allocation
Which of the following is an operating system utility that copies programs from a storage device to main memory, where they can be executed?
- linker
- relocation
- object file program
- loader
- new()
Which of the following can also refer to the development of successively more complex, faster programming environments?
- Software bootstraping
- Compiler bootstraping
- Reloaction
- Plugins
- Processor status
Which of the following is the address specified by the programmer using origin statement?
- Linked origin
- Library
- Loading
- Linking
- Translated origin
Which of the following reads the source program one character at a time, carving the source program into a sequence of atomic units called token?
- Syntax analyzer
- Intermediate code generation
- Code generation
- Byte code verifier
- Lexical analyzer
Which of the following is an open set of technical specifications that any person or company can license and use to develop microprocessor and other semiconductor based device on published industry standard?
- SPARC assembler
- MASM assembler
- Interpreter
- Compiler
- Byte code verifier
Which of the following are used in machine instructions and eliminates the need to memorize numeric operation codes?
- Symbolic operand
- Data declaration
- Mnemonic operation codes
- Macro
- Local symbols
Which of the following indicates the symbolic mnemonic for each instruction and its length(two, four or six bytes)?
- Machine operation table
- Symbol table
- Location counter
- Pseudo operation table
- Symbolic operand
Which of the following allows a user to specify a possibly ambiguous grammer along with precedence and associativity information about operators?
- Lex
- Yacc
- MASM assembler
- Syntax analyzer
- Byte code verifier
Which of the following is a binding performed after the execution of a program has begun?
- Dynamic binding
- Static binding
- Code generation
- Relocation
- Memory binding
Which of the following identifies the sequence of actions necessary to implement the meaning of a source statement?
- Lexical analysis
- Semantic analysis
- Syntax analysis
- Phase
- Pass
Which of the following governs the formation of valid statements in the source language?
- Syntax rules
- Lexical rules
- Semantic rules
- Language processing
- Pass
Which of the following grammars impose no context requirement on derivations or reductions?
- Operator grammars
- Left linear grammar
- Type-2 grammar
- Right linear grammar
- Binding
Which of the following is a gap between the semantics of programs, written in different programming languages?
- Semantics
- Semantic gap
- Specification gap
- Execution gap
- Language processor
Which of the following is used to store numbers, constants, differences encountered and their corresponding assignment locations?
- Symbol table
- Literal table
- Location counter
- Pseudo operation table
- Symbolic operands
Which of the following grammars production specifies that derivation or reduction of strings can take place only in specific contexts?
- Left linear grammar
- Operator grammar
- Type-1 grammar
- Right regular grammar
- Binding
Which of the following has been designed to look familiar to a programmer, who has already written API based code in Windows?
- MASM32 assembler
- MASM assembler
- Yacc
- Interpreter
- Byte code verifier
Which of the following is a collection of object files that contains library routines and data?
- Static library
- Shared library
- Plugins
- Relocation
- Program loading
Which of the following is a particular kind of unintentional memory consumption by a computer program, where the program fails to release memory when no longer needed?
- Dynamic memory allocation
- Static memory allocation
- Relocation
- Memory binding
- Memory leak
Missing right paranthesis, extraneous comma, colon in place of semicolon, misspelled keyword and an extra blank are the examples of __________.
- algorithmic errors
- dynamic errors
- transcription errors
- syntaxtical errors
- reporting errors