Which of the following statements is a valid way to open the file 'test.data' and associate it with unit $10$ in FORTRAN?
फोरट्रान में 'test.data' फ़ाइल को खोलने और इसे यूनिट $10$ से संबद्ध करने के लिए
निम्नलिखित में से कौन-सा कथन मान्य है?
EXPLANATION
Computer Networks and Internet: Topologies (LAN, WAN, MAN), OSI Model, TCP/IP, Protocols (HTTP, FTP) and Web
FORTRAN file connection syntax:
- Filename must be enclosed in quotes and specified with the FILE= specifier or valid parameter string.
- Missing the explicit FILE= specifier keyword in standard Fortran syntax.
- Without quotation marks, test.data is erroneously interpreted as a variable name.
- In standard FORTRAN 77/90, the OPEN statement requires
OPEN(UNIT=10, FILE='test.data')or simply positional unit with keyword specifier:open(10,file='test.data').
फोरट्रान फ़ाइल ओपन सिंटैक्स:
- फ़ाइल का नाम उद्धरण चिह्नों में होना अनिवार्य है।
- मानक सिंटैक्स में स्पष्ट FILE= विनिर्देशक की आवश्यकता होती है।
- बिना उद्धरण चिह्नों के यह चर नाम मान लिया जाता है।
- फोरट्रान में किसी फ़ाइल को यूनिट से जोड़ने का मानक मान्य सिंटैक्स
open(10,file='test.data')है।
Explanation not matching this question?
क्या व्याख्या इस प्रश्न से मेल नहीं खा रही?
Report
Want to practice this paper in exam conditions?
क्या आप परीक्षा जैसे माहौल में अभ्यास करना चाहते हैं?
Test yourself in 5-question batch format with timer and hidden answers.
5-प्रश्नों के बैच फॉर्मैट, टाइमर और छिपे उत्तरों के साथ खुद को परखें।
Start Practice Mode →
प्रैक्टिस टेस्ट मोड शुरू करें →