GATE & PSUs - Computer Science & Information Technology (CS & IT)

Lexical Analysis & Regular Expressions question bank (Compiler Design)

Practice 7 free GATE & PSUs - Computer Science & Information Technology (CS & IT) Compiler Design - Lexical Analysis & Regular Expressions questions with answers and step-by-step solutions.

Q1.
[Lexical Analysis & Regular Expressions Concept 6] A train running at $72\text{ km/h}$ crosses a stationary platform of length $250\text{ m}$ in $26\text{ seconds}$. What is the length of the train?

(A)
$270\text{ m}$
(B)
$200\text{ m}$
(C)
$300\text{ m}$
(D)
$250\text{ m}$
Show answer & solution
Verified Answer & Solution Locked
Sign in to your free student account to reveal verified answers, instant hints, and detailed explanations.
Sign in to view
Q2.
[Lexical Analysis & Regular Expressions Concept 16] A train running at $72\text{ km/h}$ crosses a stationary platform of length $250\text{ m}$ in $26\text{ seconds}$. What is the length of the train?

(A)
$270\text{ m}$
(B)
$200\text{ m}$
(C)
$300\text{ m}$
(D)
$250\text{ m}$
Show answer & solution
Verified Answer & Solution Locked
Sign in to your free student account to reveal verified answers, instant hints, and detailed explanations.
Sign in to view
Protected Questions

Unlock All 3 Questions in Lexical Analysis & Regular Expressions

Log in or sign up free to access every question with complete solutions, create chapter practice tests, and track your performance.

Sign up free to access all 3 questions

Unlock every Lexical Analysis & Regular Expressions question, generate papers, and practice at your own pace.