NEW
New Website Launch
Experience the best way to solve previous year questions with mock tests (very detailed analysis), bookmark your favourite questions, practice etc...
1

GATE CSE 1999

MCQ (Single Correct Answer)
The number of tokens in the Fortran statement DO 10 I = 1.25 is
A
3
B
4
C
5
D
None of the above

Explanation

Here in the statement,

DO 10 I = 1.25

Because of decimal point we can say DO is not a keyword, it is a part of the identifier DO10I.

So here 3 tokens present

”DO10I” $$ \to $$ 1

“=“ $$ \to $$ 2

“1.25” $$ \to $$ 3

Note : In the statement

DO 10 I = 1,25

We have seven tokens

1. keyword DO

2. The statement label 10

3. The identifier I

4. The operator =

5. The constant 1

6. The comma

7. The constant 25

Here, DO is a keyword because of comma.
Write for Us

Do you want to write for us? Help us by contributing to our platform.

Questions Asked from Lexical Analysis

On those following papers in Marks 2
Number in Brackets after Paper Indicates No. of Questions
GATE CSE 2021 Set 1 (1)
GATE CSE 2018 (2)
GATE CSE 2016 Set 2 (1)
GATE CSE 2008 (1)
GATE CSE 1999 (1)

Joint Entrance Examination

JEE Main JEE Advanced WB JEE

Graduate Aptitude Test in Engineering

GATE CSE GATE ECE GATE EE GATE ME GATE CE GATE PI GATE IN

Medical

NEET

CBSE

Class 12