What is the purpose of the PATH variable in an OS? MCQ with Answer and Explanation

What is the purpose of the PATH variable in an OS?
A. Manages memory
B. Controls network settings
C. Defines directories for executable files
D. Stores user files
Answer: Option C
Solution (By JKSSB Mock Tests)
PATH tells the shell where to find executable programs.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Software Questions

Question #1
Which of the following utility tools acts as a secure container, storing encrypted web passwords inside a protected database locked by a master key?
A. System Monitor
B. Password Manager
C. File Compressor
D. Antivirus Manager

Correct Answer: Option B


Explanation:
Password managers are utility tools that securely generate, store, and encrypt login credentials to protect user authentication pathways.

This question belongs to: Computer Computer Software
Question #2
Which of the following is an example of educational software?
A. Microsoft Word
B. Windows Media Player
C. Adobe Photoshop
D. Mathematica

Correct Answer: Option D


Explanation:
Mathematica is application software used for mathematics and education.

This question belongs to: Computer Computer Software
Question #3
What is the purpose of a source code management tool?
A. To debug code
B. To run code
C. To track changes in code
D. To compile code

Correct Answer: Option C


Explanation:
Tools like Git manage version control and track changes to source code.

This question belongs to: Computer Computer Software