Distinguish between a text file and a binary file.

In a text file, bytes are treated as characters. Binary data is grouped into bytes and bytes are interpreted as characters based on some standard codes like ASCII or EBCDIC.

In a binary file the sequence of bits stored in file are not interpreted as characters. They may be executable code after compilation of program or graphics data or multimedia data. These bits are interpreted by the target user according to their specific purpose of creation.

Post a Comment