Question
What does a lexer (lexical analyzer) do in the
compilation process?Solution
A lexer (lexical analyzer) is responsible for converting the source code into a stream of tokens. It identifies keywords, operators, identifiers, and other language constructs, producing a structured representation that's easier for the subsequent compilation phases to process.
Select the correct combination of mathematical signs to sequentially replace the * signs and balance the given equation.
11 * 7 * 345 * 5 * 31 ...
Three of the following four are alike in a certain way and thus form a group. Which is the one that does NOT belong to that group? The odd one out is no...
Cyclone : Anticyclone :: Flood : ?
A, B, C, D, E, F, G, and H are sitting around a square table facing outwards. Some of them are sitting at the corners while some are sitting at the exac...
Select the figure which will replace the question mark (?) in the given figure to complete the pattern.
Dog : Kennel : : Eagle : ?
In the following question, select the wrong number from the given alternatives.
44, 54, 69, 94, 129, 189
Three of the following four options are alike in a certain way based on the Alphabetical series. Which one among the following doesn’t belong to the g...
From the given options, select the word which cannot be formed using the letter of the word ‘PRIMARILY’, using the letters only once.
What number should come next in the series 2, 1, ½, ¼, __?