Professional Documents
Culture Documents
SPCC Viva Questions 2
SPCC Viva Questions 2
SPCC Viva Questions 2
Lexical error
During the lexical analysis phase this type of error can be detected.
Lexical error is a sequence of characters that does not match the pattern of any
token. Lexical phase error is found during the execution of the program.
5. What is 1 in LL1?
The number of instructions in its look ahead that are required for parsing.
6. What is LR parser
Pg 5-119 tech knowledge
A bottom up parser which parses the grammar from left to right using rightmost
derivation in reverse direction. If LR(0) then has 0 look ahead symbols
9. What is an assembler?
12. Which tables are used in pass1 and pass2 of an assembler? Databases for
pass 1 and 2
To check if a grammar is LL(1), one option is to construct the LL(1) parsing table
and check for any conflicts. These conflicts can be
17. Loader
Additional Answers:
● Linker:
● Macro processor:
Functions:
● Interpreter:
● Editor:
● Debugger:
Q) Compiler vs Interpreter
Module 2: Assemblers
Q)Features of Assembler
Q) Functions of Macros
Q) Syntax of Macros
Q) Implementation of Macro
Q) Function of Loaders
Q) Types of Loaders
Module 5: Compilers
Q) What is a compiler
Q) Features of Compiler
Q) Requirements of compiler
Q) Types of Compiler
Q) Phases of Compiler
Q) Predictive Parser
Q) LL Parser
Q) LL1 grammar
Q) LL vs LR Parser
Q) synthesized attr