Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q971: Service Manager registry keys are mostly located under which software key?
  • A: Microsoft
  • B: Windows
  • C: Registry
  • D: System
View Answer
A

Q972: Manual editing of the registry is recommended ________.
  • A: only when necessary
  • B: for routine maintenance
  • C: daily
  • D: never
View Answer
A

Q973: Which PowerShell command lists all items directly within the HKEY_CURRENT_USER registry key?
  • A: Get-ChildItem -Path HKCU:\
  • B: Get-ItemProperty -Path HKCU:\
  • C: Get-RegistryKey -Path HKCU:\
  • D: Set-RegistryKey -Path HKCU:\
View Answer
A

Q974: To show hidden or system items within a registry key using Get-ChildItem, you should add the ________ parameter.
  • A: Force
  • B: Include
  • C: Hidden
  • D: ShowSystem
View Answer
A

Q975: The registry provider's full name in PowerShell is ________.
  • A: Microsoft.PowerShell.Core\Registry
  • B: Microsoft.PowerShell\Registry
  • C: PowerShell.Core\Registry
  • D: Registry.Core\PowerShell
View Answer
A

Q976: Which of these commands will NOT list contents directly under HKCU:?
  • A: Get-ChildItem -Path Registry::HKEY_CURRENT_USER
  • B: Get-ChildItem -Path Registry::HKCU
  • C: Get-ChildItem -Path Microsoft.PowerShell.Core\Registry::HKCU
  • D: Get-ChildItem -Path Registry::HKEY_LOCAL_MACHINE
View Answer
D

Q977: The abbreviation HKCU refers to the registry hive ________.
  • A: HKEY_CURRENT_USER
  • B: HKEY_CLASSES_ROOT
  • C: HKEY_LOCAL_MACHINE
  • D: HKEY_USERS
View Answer
A

Q978: The PowerShell command to list registry keys can be shortened by using ________.
  • A: Registry::HKCU
  • B: Microsoft.Registry::HKCU
  • C: PSRegistry::HKCU
  • D: PowerShell::HKCU
View Answer
A

Q979: The command Get-ChildItem HKCU: will list items under which registry hive?
  • A: HKEY_CURRENT_USER
  • B: HKEY_LOCAL_MACHINE
  • C: HKEY_USERS
  • D: HKEY_CLASSES_ROOT
View Answer
A

Q980: You can list registry keys by specifying the provider name followed by ________.
  • A: ::
  • B: --
  • C: -
  • D: \
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now