Test post

Deal Score+2
Deal Score+2

There are many kinds of files on a computer. You can see DOC files, RTF files, EXE files, GIFs, JPGs, and many others. Each of these files was created by an application which knew how to read the file and process its contents.


The simplest type of file is called a “text file”. This may or may NOT have a “.txt” extension. A text file is a file that is stored with very few bytes except for the actual codes for the characters it contains. A text file created by, say, Notepad, that contains 4 words may be no more than 25 or 30 bytes (note, NOT Megabytes or Kilobytes, just bytes!). Compare that to a Microsoft Word DOC file with the same four words in it- it will be at least 20 Kilobytes. Why the difference? because Word stores a lot of extra information about the document – formatting characters, the author’s name, margin settings, font settings, etc.


A programmer should be aware of what type of file he or she is creating. All these types have their uses and are NOT generally interchangeable.


Our assignments will usually say “create a text file”. It may be for an input data file, it might be an output capture file, it might be a design for a program, it might be a test plan.


We will be happy to hear your thoughts

Leave a reply

Unilorin Gist
Reset Password
Compare items
  • Total (0)