Objectives

Students will be able to:

  • show understanding of why files are needed
  • write program code for filehandling of a textfile

FILES

great for storing data

Text files are great for storing data.

They are not as secure as databases, and are often used to store data temprarily before transfer to a more secure database.

One very interesting thing to note is that a text file stores text ie STRINGS. It does not store numbers as int or real ie it stores "216" not 216.

File Handling

Watch the video and complete the worksheet.

Feelings

How do you feel right now?