System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q981: The parameter to display hidden registry items in Get-ChildItem is called ________.
- A: Force
- B: ShowHidden
- C: IncludeHidden
- D: Reveal
View Answer
A
Q982: Get-ChildItem is used in PowerShell to list registry keys similar to listing files in a ________.
- A: directory
- B: database
- C: spreadsheet
- D: file
View Answer
A
Q983: The Registry provider in PowerShell can be accessed using the shortened name ________.
- A: Registry
- B: MicrosoftPowerShell
- C: PSRegistry
- D: RegProv
View Answer
A
Q984: To list registry keys under HKEY_LOCAL_MACHINE, you would use Get-ChildItem -Path ________.
- A: HKLM:\
- B: HKCU:\
- C: HKU:\
- D: HKCR:\
View Answer
A
Q985: Force parameter in Get-ChildItem helps to view keys that are normally ________.
- A: hidden
- B: visible
- C: deleted
- D: readonly
View Answer
A
Q986: Registry keys and values can be accessed and manipulated in PowerShell using ________.
- A: Get-ChildItem
- B: Get-Registry
- C: Key-Value
- D: Set-Item
View Answer
A
Q987: The syntax Registry:: is used to specify the ________ in PowerShell commands.
- A: registry provider
- B: file system
- C: service manager
- D: user profiles
View Answer
A
Q988: What does SEH stand for in Microsoft C programming?
- A: Structured Exception Handling
- B: Standard Exception Handling
- C: Systematic Error Handling
- D: Sequential Exception Handling
View Answer
A
Q989: SEH is primarily used to handle ________ situations in code.
- A: Exceptional
- B: Hardware
- C: Fault
- D: General
View Answer
A
Q990: Which exception handling method is recommended for better portability and flexibility in C++?
- A: ISO-standard C++ exception handling
- B: Structured Exception Handling
- C: Microsoft SEH
- D: Java Exception Handling
View Answer
A