Multiple choice technology operating systems

Unix files has end of file mark

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Unix files do NOT have an end-of-file mark stored in the file itself. EOF is detected by the operating system when a read operation returns no more data (0 bytes read). Unlike some other systems that used special characters (like CP/M's Ctrl-Z), Unix simply tracks file size and detects EOF conditionally.