A direct or sequential access file has fixed size S-byte records. The first…

2022

A direct or sequential access file has fixed size S-byte records. The first byte of record N will start at which logical location?

  1. A.

    (N + S) + 1

  2. B.

    N * (S - 1) + 1

  3. C.

    ((N - 1) * S) + 1

  4. D.

    (N - 1) * (S - 1) + 1

Attempted by 976 students.

Show answer & explanation

Correct answer: C

For sequential/direct access: Logical address of record N = ((N − 1) × S) + 1

Explore the full course: Up Lt Grade Assistant Teacher 2025