2.3.8

Files

Test yourself

Files

Without files we can only store data in the memory.

Illustrative background for FilesIllustrative background for Files ?? "content

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.
Illustrative background for Text filesIllustrative background for Text files ?? "content

Text files

  • Text files consist of string data that can be read and processed by many applications.
Illustrative background for Binary filesIllustrative background for Binary files ?? "content

Binary files

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

Jump to other topics

1Computational Thinking & Algorithms

2Programming

3Hardware & Software

4Data

5The Internet

6Online Safety & Security

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson