Question:
Which of the given options best describes the truthfulness of the following statements?
i) A compiler translates the entire source code line by line.
ii) Computer architecture refers to those attributes of a system visible to a programmer.
iii) The Reduced Instruction Set Architecture (RISC) computer organisation reduces the cycles per instruction at the cost of the number of instructions per program to increase the CPU performance.
iv) All the arithmetic and logical processing is performed by the Arithmetic Logic Unit under the supervision of a control unit.
दिए गए विकल्पों में से कौन सा विकल्प निम्नलिखित कथनों की सत्यता का सबसे अच्छा वर्णन करता है?
i) कंपाइलर पूरे सोर्स कोड को पंक्ति दर पंक्ति ट्रांसलेट करता है।
ii) कंप्यूटर आर्किटेक्चर से आशय सिस्टम की उन विशेषताओं से है जो प्रोग्रामर को दिखाई देती हैं।
iii) रिड्यूस्ड इंस्ट्रक्शन सेट आर्किटेक्चर (RISC) कंप्यूटर संगठन, CPU के प्रदर्शन को बढ़ाने के लिए प्रति प्रोग्राम निर्देशों की संख्या की कीमत पर प्रति निर्देश चक्रों को कम करता है।
iv) सभी अरिथमेटिक और लॉजिकल प्रोसेसिंग, कंट्रोल यूनिट के पर्यवेक्षण में अरिथमेटिक लॉजिक यूनिट द्वारा किए जाते हैं।
Options:
- i-True, ii-True, iii-True, iv-True
- i-False, ii-True, iii-True, iv-True
- i-True, ii-False, iii-True, iv-True
- i-False, ii-False, iii-True, iv-False
- i-सत्य, ii-सत्य, iii-सत्य, iv-सत्य
- i-असत्य, ii-सत्य, iii-सत्य, iv-सत्य
- i-सत्य, ii- असत्य, iii-सत्य, iv-सत्य
- i-असत्य, ii-असत्य, iii-सत्य, iv-असत्य
Correct Answer: b)
Explanation:
Let us analyze the truthfulness of each statement:
i) False: A compiler translates the entire source program into machine code all at once before execution. An interpreter is the program that translates and executes code line by line.
ii) True: Computer architecture refers to attributes of a computer system that are visible to a programmer (such as instruction sets, data representations, addressing modes, and registers).
iii) True: RISC emphasizes simple, single-cycle instructions to reduce Cycles Per Instruction (\(\text{CPI} \approx 1\)). Although this may require more instructions per program compared to CISC, the significant reduction in CPI and cycle time results in faster overall CPU execution.
iv) True: In a central processing unit (CPU), all arithmetic (addition, subtraction) and logical (AND, OR, NOT) operations are carried out by the ALU under timing and control signals generated by the Control Unit.
Thus, statement i is False, ii is True, iii is True, and iv is True. The correct option is b).
प्रत्येक कथन का विश्लेषण निम्न प्रकार है:
i) असत्य: कंपाइलर पूरे सोर्स कोड को एक साथ (at once) मशीन कोड में ट्रांसलेट करता है। कोड को पंक्ति दर पंक्ति (line by line) ट्रांसलेट करने का कार्य इंटरप्रेटर (interpreter) करता है।
ii) सत्य: कंप्यूटर आर्किटेक्चर सिस्टम की उन संरचनात्मक विशेषताओं को संदर्भित करता है जो प्रोग्रामर को दिखाई देती हैं (जैसे निर्देश सेट, रजिस्टर और एड्रेसिंग मोड)।
iii) सत्य: RISC आर्किटेक्चर सरल निर्देशों का उपयोग करके प्रति निर्देश चक्रों (CPI) को घटाता है, जिसके फलस्वरूप भले ही प्रोग्राम में निर्देशों की कुल संख्या बढ़ जाए, लेकिन सीपीयू का समग्र प्रदर्शन बेहतर हो जाता है।
iv) सत्य: सीपीयू में सभी अंकगणितीय (arithmetic) और तार्किक (logical) कार्य ALU द्वारा कंट्रोल यूनिट (CU) के पर्यवेक्षण और सिग्नल्स के तहत ही निष्पादित किए जाते हैं।
अतः सही उत्तर विकल्प b) (i-असत्य, ii-सत्य, iii-सत्य, iv-सत्य) है।