Question

What is the primary purpose of lexical analysis in a compiler?

A Identifying syntax errors in the source code
B Transforming high-level code to assembly language
C Converting source code into a stream of tokens
D Performing optimizations on the intermediate code
Practice Next

Relevant for Exams:

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)