What is the main function of the command interpreter?

2023

What is the main function of the command interpreter?

  1. A.

    to provide the interface between the API and application program

  2. B.

    to handle the files in the operating system

  3. C.

    to get and execute the next user-specified command

  4. D.

    none of the mentioned

Attempted by 447 students.

Show answer & explanation

Correct answer: C

Answer: c

Explanation: The main function of a command interpreter is to get and execute the next user-specified command. Command Interpreter checks for valid command and then runs that command else it will throw an error.

Explore the full course: Hexaware Preparation