File Processing
निम्नलिखित में से किसमें डेटा स्थायी रूप से संग्रहीत किया जाता है?
In which of the following, data is stored permanently ?
__________ फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति लौटाता है।
__________ function returns the current position of file pointer.
यदि फ़ाइल मौजूद नहीं है तो कौन सा मोड एक नई फ़ाइल बनाता है?
Which mode creates a new file if the file does not exist ?
एक _____________ जानकारी को ASCII या यूनिकोड वर्णों की एक धारा के रूप में संग्रहीत करता है अर्थात मानव पठनीय।
A _____________ stores information in the form of a stream of ASCII or unicode characters i.e. human readable.
कौन सा कथन फ़ाइल पॉइंटर को shuru स्थिति से 10 बाइट्स aage ले जाएगा?
Which statement will move file pointer 10 bytes forward from begnining position ?
निम्नलिखित में से कौन सी त्रुटि दिए गए कोड द्वारा लौटाई जाती है?
Which of the following error is returned by the given code ?
>>> f = open(“test.txt”,”w”)
>>> f.write(345) बाइनरी फ़ाइल में डेटा पढ़ने के लिए निम्नलिखित में से किस फ़ंक्शन का उपयोग किया जाता है?
Which of the following function is used to read the data in binary file
काजल ने एक फ़ाइल को एक खास मोड में खोला। फ़ाइल खोलने के बाद, वह उस मोड को भूल गया। उस मोड के बारे में रोचक तथ्य ये हैं कि "अगर फ़ाइल मौजूद नहीं है, तो एक नई फ़ाइल बनाई जाएगी" और "उस मोड में फ़ाइल खोलने पर फ़ाइल हैंडल फ़ाइल के अंत में होगा।" उसे सही मोड पहचानने में मदद करें।
file" Help him to identify the correct mode.
जब हम किसी फ़ाइल को read मोड में खोलने का प्रयास करते हैं जो मौजूद नहीं है तो निम्नलिखित में से कौन सी त्रुटि वापस आती है
Which of the following error is returned when we try to open a file in read mode which does not exist
जब हम फ़ाइल को एपेंड मोड में खोलते हैं तो फ़ाइल पॉइंटर फ़ाइल के पर होता है।
When we open file in append mode the file pointer is at the of the file.