1
GATE CSE 1995
MCQ (Single Correct Answer)
+1
-0.3
In some programming languages, an identifier is permitted to be a letter following by any number of letters or digits. If L and D denote the sets of letters and digits respectively, which of the following expressions defines an identifier?
A
$${\left( {L \cup D} \right)^ + }$$
B
$$L{\left( {L \cup D} \right)^*}$$
C
$${\left( {L.D} \right)^*}$$
D
$$L{\left( {L.D} \right)^*}$$
2
GATE CSE 1995
MCQ (Single Correct Answer)
+1
-0.3
Which of the following strings can definitely be said to be tokens without looking at the next input character while compiling a Pascal program?

I. begin
II. program
III. <>

A
I
B
II
C
III
D
All of the above
3
GATE CSE 1990
MCQ (Single Correct Answer)
+1
-0.3
Match the following:

List - I

(a) Lexical Analysis
(b) Code Optimization
(c) Code Generation
(d) Abelian Group

List - II

(p) DAG's
(q) Syntax trees
(r) Push Down automata
(s) Finite automata
A
a - s, b - p, c - q, d - r
B
a - r, b - p, c - q, d - s
C
a - s, b - q, c - p, d - r
D
a - s, b - p, c - r, d - q
4
GATE CSE 1988
MCQ (Single Correct Answer)
+1
-0.3
In a compiler the module that checks every character of the source text is called:
A
The code generator
B
The code optimizer
C
The lexical analyzer
D
The syntax analyzer
GATE CSE Subjects
Software Engineering
Web Technologies
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
CBSE
Class 12