How can you categorize files by the way they store data?
What will be an ideal response?
* Text files contain data that can be read in a text editor because the data has been encoded using a scheme such as ASCII or Unicode. Some text files are data files that contain facts and figures, such as a payroll file that contains employee numbers, names, and salaries; some files are program files or application files that store software instructions.
* Binary files contain data that has not been encoded as text. Their contents are in binary format, which means that you cannot understand them by viewing them in a text editor. Examples include images, music, and the compiled program files with a .class extension that you have created using this book.
You might also like to view...
Write a program that reads a C++ source-code file and reports the occurrence of each keyword in the file. Here is a sample run:
```
PKI is based on a system of certificates, which are digitally signed statements that contain a public key and the name of the subject
Indicate whether the statement is true or false
Which Creative Commons license(s) shown in the above figure is associated with the U.S. Patent Office? ____
A. All B. None C. 1, 3, and 5 D. 1, 2, 4, and 5
In general, is the correlation between the weight of a car and its gas mileage positive or negative?
A. negative B. positive