GATE Compiler Design Full Mock Test SET-1

Questions 11-15 of 100

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

Question 11

MCQ · Single Correct 1 mark

Which of the following regular expressions recognizes all C-style identifiers starting with a letter or underscore followed by letters, digits, or underscores?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

Which compiler component strips out comments and redundant whitespace characters from the source code?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

How many tokens are in the expression a = b + *c;?

Answers for question 13

Question 14

MCQ · Single Correct 1 mark

What is the purpose of the buffer pair technique (double buffering) in a lexical analyzer?

Answers for question 14

Question 15

MCQ · Single Correct 1 mark

Which of the following error types is detected during Lexical Analysis?

Answers for question 15
Scroll to Top