CBSE Class 12 Computer Science
Question 72 of 136
Data File Handling — Question 11
Back to all questions(a) The advantages of saving data in binary form are as follows:
- Efficiency — Binary files store data in a compact binary format, which can lead to smaller file sizes compared to text-based formats. Binary form is efficient for storing raw binary data.
- Speed — Reading and writing binary data can be faster than text-based formats because there is no need for encoding or decoding operations.
- Data Integrity — Binary files preserve the exact binary representation of data without any loss of information.
(b) The advantages of saving data in text form are as follows:
- Human Readability — Text-based formats, such as plain text files, are human-readable, making them easy to inspect and edit using a text editor.
- Interoperability — Text files can be easily shared and processed across different platforms and programming languages.
- Compatibility — Text-based formats are widely supported by various software applications and systems, making them a versatile choice for data interchange and communication.