Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1771: The system ensures all DllMain calls are serialized.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1772: DisableThreadLibraryCalls() helps reduce overhead for thread attach/detach.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1773: The Reason parameter in DllMain helps decide the operation to perform.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1774: DllMain can receive notifications for both thread and process events.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1775: DllMain must not call LoadLibrary or LoadLibraryEx.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1776: If lpReserved is not NULL, the attachment was implicit.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1777: The value DLL_PROCESS_DETACH is passed to DllMain when _______.
  • A: a new thread starts
  • B: a process ends
  • C: a DLL is loaded
  • D: a file is created
View Answer
B

Q1778: The BOOL return from DllMain indicates whether initialization _______.
  • A: failed or succeeded
  • B: has started
  • C: needs delay
  • D: is skipped
View Answer
A

Q1779: The operating system directly invokes _______ during DLL attach/detach.
  • A: DllMain()
  • B: main()
  • C: LoadFunction()
  • D: winMain()
View Answer
A

Q1780: DllMain should not include _______ to prevent thread blocking.
  • A: wait functions
  • B: integer loops
  • C: casting
  • D: statements
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now