Indexed files allow both sequential access (reading records in order) and random access (reading records by key) because they maintain an index structure. Relative files also support both access modes - records can be accessed sequentially or by their relative record number. Sequential files only support sequential access, not random. Therefore, only Indexed and Relative files support both modes.