GATE Exam  >  GATE Questions  >  Match the following -LIST- Ia) Tokenb) Patter... Start Learning for Free
Match the following -
LIST- I
a) Token
b) Pattern
c) Lexeme
LIST – II
I) A rule describing the set of lexemes that can represent a particular token in the source program
II) A sequence of characters in the source program that is matched by the pattern for a token
III) A set of characters grouped together
  • a)
    a – I, b – ii, c – iii
  • b)
    a – ii, b – i, c – iii
  • c)
    a – iii, b – ii, c – i
  • d)
    a – iii, b – I, c – ii
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – II...
Token is a set of characters grouped together like literal, id, num, const, if etc.
Pattern is rule describing the set of lexemes that can represent a particular token in the source program . For example let the token be relation then its informal description of the pattern will be < or <= or = or > or >= or <> etc.
Lexeme is a sequence of characters in the source program that is matched by the pattern for a token. For example let the token be a identifier then its sample lexemes can be pi , count , a ,b etc.
View all questions of this test
Most Upvoted Answer
Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – II...
A) Token
c) Lexeme
b) Pattern
Explore Courses for GATE exam
Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer?
Question Description
Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer?.
Solutions for Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer?, a detailed solution for Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer? has been provided alongside types of Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Match the following -LIST- Ia) Tokenb) Patternc) LexemeLIST – III) A rule describing the set of lexemes that can represent a particular token in the source programII) A sequence of characters in the source program that is matched by the pattern for a tokenIII) A set of characters grouped togethera)a – I, b – ii, c – iiib)a – ii, b – i, c – iiic)a – iii, b – ii, c – id)a – iii, b – I, c – iiCorrect answer is option 'D'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev