GATE Compiler Design Full Mock Test SET-1

Questions 6-10 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 6

MCQ · Single Correct 1 mark

Which data structure is shared across all compiler phases to store information about variable names, types, scopes, and memory locations?

Answers for question 6

Question 7

MCQ · Single Correct 1 mark

Which task is NOT normally performed by a lexical analyzer?

Answers for question 7

Question 8

MCQ · Single Correct 1 mark

What is the time complexity of scanning an n-character input string using a DFA constructed from regular expressions?

Answers for question 8

Question 9

MCQ · Single Correct 1 mark

How many tokens are in the C code string char *s = "Hello, World!";?

Answers for question 9

Question 10

MCQ · Single Correct 1 mark

In compiler construction, what is a lexeme?

Answers for question 10
Scroll to Top