Compilers Data Structure Representing Parsing Table 1 Online Exam Quiz
Compilers Data Structure Representing Parsing Table 1 GK Quiz. Question and Answers related to Compilers Data Structure Representing Parsing Table 1. MCQ (Multiple Choice Questions with answers about Compilers Data Structure Representing Parsing Table 1
A shift reduce parser carries out the actions specified within braces immediately after reducing with the corresponding rule of grammar S—-> xxW ( PRINT “1”) S—-> y { print ” 2 ” } S—-> Sz { print ” 3 ” ) What is the translation of xxxxyzz using the syntax directed translation scheme described by the above rules?
Options
A : 23131
B : 11233
C : 11231
D : 33211
A system program that set-up an executable program in the main memory ready for execution is?
Options
A : Assembler
B : Linker
C : Loader
D : Text editor
A system program that combines separately compiled modules of a program into a form suitable for execution is?
Options
A : Assembler
B : Linking Loader
C : Cross Compiler
D : None of the mentioned
The computer language generally translated to pseudocode is ___________
Options
A : Assembly
B : Machine
C : Pascal
D : FORTRAN
A programmer by mistake writes multiplication instead of division, such error can be detected by?
Options
A : Compiler
B : Interpreter
C : Compiler or interpreter test
D : None of the mentioned
Compiler can diagnose __________
Options
A : Grammatical errors only
B : Logical errors only
C : Grammatical and logical errors
D : None of the mentioned
In which way a macro processor for assembly language can be implemented?
Options
A : Independent two-pass processor
B : Independent one-pass processor
C : Processor put into pass 1 of a standard two pass assembler
D : All of the mentioned
A simple two-pass assembler does which of the following in the first pass?
Options
A : It allocates space for the literals
B : Calculates total length of the program
C : Symbol table is built for the symbols and their value
D : All of the mentioned
Resolution of externally defined symbols is performed by ___________
Options
A : Linker
B : Loader
C : Compiler
D : Interpreter
A compiler is a program that ___________
Options
A : Program is put into memory and executes it
B : Translation of assembly language into machine language
C : Acceptance of a program written in a high level language and produces an object program
D : None of the mentioned
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Compilers Context Free Grammar 1
Compilers Error Recovery Lr Phase 1