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

2021

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

Answer: C. ((N - 1) * S) + 1For sequential/direct access: Logical address of record N = ((N − 1) × S) + 1

  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 1054 students.

Show answer & explanation

Correct answer: C

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

Explore the full course: Isro

Loading lesson…