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. Both A and B
B. HKEY_CURRENT_USER\Environment
C. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
D. HKEY_CLASSES_ROOT\Environment
Answer: Option A
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 is a multitasking operating system?
A. Windows 10
B. FreeDOS
C. CP/M
D. MS-DOS

Correct Answer: Option A


Explanation:
Windows 10 supports multitasking, allowing multiple applications to run concurrently; MS-DOS was single-tasking.

This question belongs to: Computer Operating Systems
Question #2
What is the name of the central management module in Windows that controls hardware configuration and manages device updates or rollbacks?
A. Disk Management
B. System Configuration
C. Device Manager
D. Task Scheduler

Correct Answer: Option C


Explanation:
Device Manager is a Control Panel applet in Windows that allows users to view and control the hardware attached to the computer.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is an accurate definition of 'Context Switching'?
A. Changing the user interface theme from a dark layout to a light layout.
B. Moving external storage hardware devices from one USB port to another.
C. The process of saving the state of a current process and loading the saved state of a new process onto the CPU.
D. Upgrading an operating system from Windows 10 to Windows 11.

Correct Answer: Option C


Explanation:
Context switching is the mechanical process of storing and restoring the execution state (context) of a CPU core so that execution can resume from the same point later.

This question belongs to: Computer Operating Systems