You can prepare effectively for Computer Science Engineering (CSE) GATE Computer Science Engineering(CSE) 2027 Mock Test Series with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: Lexical Analysis- 1". These 15 questions have been designed by the experts with the latest curriculum of Computer Science Engineering (CSE) 2026, to help you master the concept.
Test Highlights:
Sign up on EduRev for free to attempt this test and track your preparation progress.
In analyzing the compilation of PL/I program, the term “Machine independent optimization” is associated with:
Detailed Solution: Question 1
In a two pass assembler pseudo code EQU is to be evaluated during
Detailed Solution: Question 2
Pick the functions which are completely performed in pass 1
Detailed Solution: Question 3
Consider the following issues:
1. Simplify the phases.
2. Compiler efficiency is improved.
3. Compiler works faster.
4. Compiler portability is enhanced.
Which is/are true in context of lexical analysis?
Detailed Solution: Question 4
Consider line number 3 of the following C-program.
int main () { /* Line 1 */
int i, n; /* Line 2 */
fro (i = 0, i < n, /+ + ); /* Line 3 */
}
Identify the compiler’s response about this line while creating the object - module
Detailed Solution: Question 5
Hash tables can contribute to an efficient average case solution for
Detailed Solution: Question 6
In analyzing the compilation of PL/I program the description “resolving symbolic address (lables) and generating machine language” is associated with _______.
Detailed Solution: Question 7
In analyzing the compilation of PL/I program the description “creation of more optimal matrix” is associated with
Detailed Solution: Question 8
In analyzing the compilation of PL/I program, the term “lexical analysis” is associated with
Detailed Solution: Question 9
Detailed Solution: Question 10
Resolution is externally defined symbols is performed by
Detailed Solution: Question 11
A simple two-pass assembler does which of the following in the first pass?
1. It allocates space for the literals.
2. It computes the total length of the program.
3. It builds the symbol table for the symbols and their values.
4. It generates code for all the load and stores register instruction.
Detailed Solution: Question 12
Detailed Solution: Question 13
Detailed Solution: Question 14
Detailed Solution: Question 15