Exam-style question
Try this first
Why might a binary file require different handling from a text file?.
- A.Its contents are handled as bytes rather than ordinary text characters
- B.It cannot be opened by a program
- C.It always contains only one record
- D.It must be opened in append mode
Model answer
What a good answer should say
- Its contents are handled as bytes rather than ordinary text characters
Explanation
Why this works
Binary files store non-text data as bytes, so a program must use binary file operations when reading or writing them. They do not necessarily contain one record and can be opened in different modes.
Common mistake
No common mistake is linked to this question yet.
