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

What is the main function of HAL?

HAL का मुख्य कार्य क्या है?
Answer and explanation are free to read — no sign-in required. / उत्तर और व्याख्या पढ़ने के लिए साइन-इन आवश्यक नहीं है।
A
Code generated by a compiler or assembler, often requiring linking
कंपाइलर या असेंबलर द्वारा उत्पन्न कोड, जिसे प्रायः लिंकिंग की आवश्यकता होती है
B
Code Optimisation
कोड अनुकूलन
C
To provide an interface between hardware and operating system components
हार्डवेयर और ऑपरेटिंग सिस्टम के घटकों के बीच इंटरफेस प्रदान करना
✓
D
To combine object files and resolve external references
ऑब्जेक्ट फाइलों को जोड़ना और बाहरी संदर्भों का समाधान करना

Correct Answer / सही उत्तर

C. To provide an interface between hardware and operating system components
C. हार्डवेयर और ऑपरेटिंग सिस्टम के घटकों के बीच इंटरफेस प्रदान करना

Explanation / व्याख्या

Correct answer: To provide an interface between hardware and operating system components.. 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.

Practice More Like This