Vitorr Classes
Vitorr Classes
Learn • Practice • Improve
Home › Questions › Question solution
RRB NTPC 2026 Topic 2 – General Awareness Bilingual Quiz (150 Questions)

Which compiler phase divides source code into tokens?

कंपाइलर का कौन-सा चरण सोर्स कोड को टोकन में विभाजित करता है?
Answer and explanation are free to read — no sign-in required. / उत्तर और व्याख्या पढ़ने के लिए साइन-इन आवश्यक नहीं है।
A
Code generated by a compiler or assembler, often requiring linking
कंपाइलर या असेंबलर द्वारा उत्पन्न कोड, जिसे प्रायः लिंकिंग की आवश्यकता होती है
B
GNU Compiler Collection
जीएनयू कंपाइलर संग्रह
C
Lexical Analysis
शब्दीय विश्लेषण
✓
D
To translate source code into target code
सोर्स कोड को लक्ष्य कोड में बदलना

Correct Answer / सही उत्तर

C. Lexical Analysis
C. शब्दीय विश्लेषण

Explanation / व्याख्या

Correct answer: Lexical Analysis.. A compiler is classified as system software because it translates high-level programming language source code into machine code or another lower-level form that can be executed or further processed by a computer. A compiler is a language translator that analyses the entire program, checks for lexical, syntax and semantic errors, and generates target code. It helps programmers develop software without writing instructions directly in machine language.

सही उत्तर: शब्दीय विश्लेषण।। कंपाइलर को सिस्टम सॉफ्टवेयर की श्रेणी में रखा जाता है, क्योंकि यह उच्च-स्तरीय प्रोग्रामिंग भाषा में लिखे गए सोर्स कोड को मशीन कोड या अन्य निम्न-स्तरीय रूप में परिवर्तित करता है, जिसे कंप्यूटर निष्पादित कर सकता है या आगे संसाधित किया जा सकता है। कंपाइलर एक भाषा अनुवादक है, जो पूरे प्रोग्राम का विश्लेषण करता है, शब्दीय, वाक्य-विन्यास और अर्थ-संबंधी त्रुटियों की जाँच करता है तथा लक्ष्य कोड तैयार करता है। इसकी सहायता से प्रोग्रामर सीधे मशीन भाषा में निर्देश लिखे बिना सॉफ्टवेयर विकसित कर सकते हैं।

Continue to the Quiz Containing This Question

Open the complete quiz and continue practising the full question set.