page-banner
Chapter-7 File Processing
Q51.
बाइनरी मोड में डेटा लिखने के लिए किस फ़ंक्शन का उपयोग किया जाता है?<break-line><break-line>Which function is used to write data in binary mode?
A. write
B. writelines
C. dump
D. pickle
View Answer
Q52.
Sys.argv में प्रत्येक एलिमेंट का प्रकार क्या है?<break-line><break-line>What is the type of each element in sys.argv?
A. सेट / set
B. सूची / list
C. ट्यूपल / tuple
D. स्ट्रिंग / string
View Answer
Q53.
sys.argv की लंबाई कितनी है?<break-line><break-line>What is the length of sys.argv?
A. number of arguments
B. number of arguments + 1
C. number of arguments – 1
D. none of the mentioned
View Answer
Q54.
……… फ़ाइल में लिखने से पहले संरचना को बाइट स्ट्रीम में परिवर्तित करने की प्रक्रिया को संदर्भित करता है।<break-line><break-line>…… refers to the process of converting the structure to a byte stream before writing it to the file.
A. pickling
B. unpickling
C. reading
D. writing
View Answer
Q55.
Sys.argv[0] में संग्रहीत मान क्या है?<break-line><break-line>What is the value stored in sys.argv[0]?
A. null
B. you cannot access it
C. the program’s name
D. the first argument
View Answer