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
Answer and explanation
Concise answer
Its contents are handled as bytes rather than ordinary text characters
Why this is correct
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.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
