Time Left - 15:00 mins

GATE CS 2021 : Compiler Design Quiz 1

Attempt now to get your rank among 816 students!

Question 1

In a compiler, keywords of a language are recognized during?

Question 2

Which data structure in a compiler is used for managing information about variables and their attributes?

Question 3

Dynamic linking can cause security concerns because

Question 4

Match the following groups:
List-I
A- Lexical analyzer
B- Syntax analyzer
C- Type checking
List-II
1- Checks the structure of the program.
2- Analysis of entire program by reading each character.
3- Checks the consistency requirements in a context of the program.

Question 5

Which of the following is not done by lexical analyzer.

Question 6

Consider the following statements:
S1: If the keywords are not reserved then lexical analyser must distinguish between keyword and user defined identifier
S2: The statement DO 5 I = 1,25 is having six tokens
Which statements is/are true?

  • 816 attempts
  • 5 upvotes
  • 24 comments
Oct 7GATE & PSU CS