Files

Computer Science: KS3, topic 2.3.8

Files

Without files we can only store data in the memory.

Files

Files

  • Files allow us to store data so that it persists even when our program is not running.
  • This allows programs to 'carry on where they left off' when they are executed.
Text files

Text files

  • Text files consist of string data that can be read and processed by many applications.
Binary files

Binary files

  • Binary files consist of binary data that is read and processed by specific applications.

Test yourself on Files

  • What does a text file contain?

  • What is the main reason to use files?

Practise this topic for free