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- 2". 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 a two pass assembler pseudo code EQU is to be evaluated during
Detailed Solution: Question 1
Pick the functions which are completely performed in pass 1
Detailed Solution: Question 2
Detailed Solution: Question 3
If two finite state machines M and N are isomorphic, then
Detailed Solution: Question 5
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 6
If G is a grammar with productions
S → SaS | aSb | bSa | SS | ∈
Where S is the start variable. Then which one of the following strings in not generated by G?
Detailed Solution: Question 7
Detailed Solution: Question 8
For the string aabbaa give the derivation tree using grammar:
G = {{S, A}, {a, b}, {S → aAS, S→ a, A → SbA, A→ SS, A → ba}, S}
Detailed Solution: Question 9
Consider a program P that consists of two source modules M1 and M2 contained in two different files. If M1 contains a reference to a function defined in M2 the reference will be resolved at
Detailed Solution: Question 10
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 11
Consider the following grammars:

Which of the following statements is not true?
Detailed Solution: Question 12
Hash tables can contribute to an efficient average case solution for
Detailed Solution: Question 13
Consider the grammar:

Which of the following sentence can be derived by this grammar?
Detailed Solution: Question 14
Detailed Solution: Question 15