Test Index
File Handling in Python
© examsnet.com
Question : 22 of 37
Marks:
+1,
-0
__________ files are stored in a computer in a sequence of bytes.
[CBSE 2024 Compartment]
Solution:
Concept:A binary file stores data in the same form as it is held in memory, as a sequence of bytes (0s and 1s). It is not human-readable; images, audio and pickled Python objects are binary files.Explanation:A text file stores characters (ASCII/Unicode) arranged in lines ending with the EOL character; a CSV file is a kind of text file. The file type stored as a raw sequence of bytes is the binary file.Answer:Option B (Binary)
© examsnet.com
Go to Question: