In Windows, the Environment Variables are stored in the Registry under which key? MCQ with Answer and Explanation

In Windows, the Environment Variables are stored in the Registry under which key?
A. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
B. HKEY_CURRENT_USER\Environment
C. HKEY_CLASSES_ROOT\Environment
D. Both A and B
Answer: Option D
Solution (By JKSSB Mock Tests)
System-wide environment variables are stored in HKLM\...\Environment, and user-specific ones in HKCU\Environment.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which of the following describes cooperative multitasking?
A. Tasks are shared across multiple physical computers on a local area network.
B. The operating system forcibly stops tasks using timer interrupts.
C. Each running process must explicitly yield control to let other processes run.
D. Hardware automatically manages scheduling without any operating system code.

Correct Answer: Option C


Explanation:
In cooperative multitasking, the operating system never forces a context switch; instead, processes must manually yield CPU execution time back to the system scheduler.

This question belongs to: Computer Operating Systems
Question #2
What is the purpose of the Android 'NetworkStatsManager'?
A. To set network priorities
B. To manage network interfaces
C. To monitor current network speed
D. To query historical network usage statistics

Correct Answer: Option D


Explanation:
NetworkStatsManager provides data on network usage by app over time, used for data quota monitoring.

This question belongs to: Computer Operating Systems
Question #3
Which component of an operating system is responsible for managing the allocation and deallocation of main memory blocks to active applications?
A. File System Manager
B. Memory Manager
C. I/O Spooler
D. Process Scheduler

Correct Answer: Option B


Explanation:
The memory management subsystem tracks memory allocation status, allocating chunks to active processes and reclaiming them upon task completion.

This question belongs to: Computer Operating Systems