A good answer might be:

All information in a file (no matter what file) is kept in binary form.

Information in a File

Since we are dealing with digital computers, the information in the computer system is represented in binary form. Remember the 4 advantages of binary (from chapter 2):

  1. Simple; easy to build.
  2. Unambiguous signals (hence noise immunity).
  3. Flawless copies can be made.
  4. Anything that can be represented in symbols can be represented with patterns of bits.
The last advantage means that a file can contain any type of information that can be represented with symbols, such as:
  • numbers (integers and floating point types of any size)
  • characters (text files)
  • characters with format information (word processor files)
  • images
  • audio
  • program source files ( yourProgram.java, cprogram.c )
  • bytecodes ( yourProgram.class )
  • machine language ( cprogram.exe )
  • many other types

QUESTION 4:

Can a file hold any type of information that can be held in a main memory?

Click Here after you have answered the question