Differentiate between a Text File and a Binary File.

 

Answer:

Text File

Binary File

Stores information in ASCII or Unicode characters.

Stores information in the form of 0s and 1s.

Can store only plain text.

Can store different types of date ie., audio, text, image, in a single file.

Each line is terminated using a special character called EOL (end of line) character.

There is no delimiter for lines.

 

Go Ad-free
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.