1 Programming Languages and Translators • Control Structures IF–ELSE संरचना किस प्रकार के नियंत्रण का उदाहरण है? An IF–ELSE structure is an example of which type of control? A. केवल पुनरावृत्ति Iteration only B. केवल क्रमिक निष्पादन Sequential execution only C. चयन Selection D. डेटा संपीड़न Data compression उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C IF–ELSE शर्त के आधार पर अलग-अलग मार्गों में से एक चुनता है। इसे चयन या शाखन संरचना कहते हैं। IF–ELSE chooses between alternative paths based on a condition. It is a selection or branching structure.
2 Programming Languages and Translators • Control Structures निर्देशों के समूह को निर्धारित संख्या में या शर्त के अनुसार बार-बार चलाने के लिए क्या उपयोग होता है? What is used to execute a group of instructions repeatedly for a specified count or according to a condition? A. केवल टिप्पणी A comment only B. लूप A loop C. फाइल एक्सटेंशन A file extension D. लिंकर A linker उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B लूप निर्देशों की पुनरावृत्ति करता है। FOR और WHILE कई भाषाओं में प्रयुक्त लूप संरचनाओं के उदाहरण हैं। A loop repeats instructions. FOR and WHILE are examples of loop structures used in many languages.