What is the main function of a system-level call that reads data from a file?

2025

What is the main function of a system-level call that reads data from a file?

  1. A.

    It extracts content from a file and copies it to a designated memory location.

  2. B.

    It terminates access to a file once reading is complete.

  3. C.

    It erases file contents after they are read.

  4. D.

    It places data into a file from a memory buffer.

Attempted by 62 students.

Show answer & explanation

Correct answer: A

When a user program needs to access information stored on a non-volatile medium (like an SSD or Hard Drive), it cannot interact with the hardware directly due to operating system security boundaries. Instead, it must invoke a system call.

Explore the full course: Niacl Ao It Specialist