System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1781: Why are DLL upgrades sometimes problematic?
- A: They reduce speed
- B: They remove features
- C: They change interfaces, affecting older applications
- D: They are incompatible with Windows 10
View Answer
C
Q1782: What may happen if an application requiring a newer DLL links with an old version?
- A: It works with improved performance
- B: It may not find required functionality
- C: It will auto-update DLL
- D: It will compile twice
View Answer
B
Q1783: Which method is suggested to avoid DLL version conflicts?
- A: Use absolute file paths
- B: Use separate folders for each DLL
- C: Use same file name
- D: Use compressed DLLs
View Answer
B
Q1784: What is a practical way to version DLLs and LIBs?
- A: Append dates in names
- B: Use random numbers in names
- C: Use version numbers in names like Utils_4_0.DLL
- D: Use symbols instead of names
View Answer
C
Q1785: What is the purpose of the XML declaration in DLL versioning?
- A: To display DLL contents
- B: To link to system libraries
- C: To specify required DLL versions
- D: To compile DLL
View Answer
C
Q1786: Microsoft’s side-by-side DLL approach requires the application to declare its requirements using _______.
- A: HTML
- B: INI
- C: XML
- D: CMD
View Answer
C
Q1787: The callback function used to query DLL version information is _______.
- A: GetDllInfo()
- B: DllGetVersion()
- C: GetVersion()
- D: VersionQuery()
View Answer
B
Q1788: Which data structure is used to store DLL version information?
- A: DLLINFO
- B: DLLHEADER
- C: DLLVERSION
- D: DLLDATA
View Answer
C
Q1789: Which field in DLLVERSION specifies the size of the structure?
- A: cbVersion
- B: cbSize
- C: cbLength
- D: cbStruct
View Answer
B
Q1790: Which field represents the major version of a DLL?
- A: dwMainVersion
- B: dwVersionMajor
- C: dwMajorVersion
- D: dwPrimaryVersion
View Answer
C