Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1661: Which of the following is **not** part of the default DLL search order?
  • A: Directory of the application
  • B: System32 folder
  • C: Windows directory
  • D: Registry path
View Answer
D

Q1662: Where must the .DLL file be located during execution?
  • A: In the same directory as the application
  • B: In a ZIP file
  • C: In an archive
  • D: In a compiler folder
View Answer
A

Q1663: Which macro is used to define whether a DLL is exporting or importing a function?
  • A: LINKAGE
  • B: MYLIBRARY_EXPORTS
  • C: EXTERN_DLL
  • D: IMPORT_FLAG
View Answer
B

Q1664: To determine the system directory, the function used is _______.
  • A: GetPath()
  • B: GetSystemDirectory()
  • C: SystemLocate()
  • D: FindSystemPath()
View Answer
B

Q1665: To locate the Windows directory, you can use _______.
  • A: GetWindowsDirectory()
  • B: GetWinPath()
  • C: GetDirectory()
  • D: FindWinDir()
View Answer
A

Q1666: The PATH environment variable can specify _______ for DLL search.
  • A: file name
  • B: library settings
  • C: compiler options
  • D: search directories
View Answer
D

Q1667: The default DLL search begins with the _______.
  • A: system directory
  • B: DLL cache
  • C: directory containing the application
  • D: current working directory
View Answer
C

Q1668: Using `declspec(dllexport)` in C++ makes a function available to _______.
  • A: local scope
  • B: internal memory
  • C: other applications
  • D: macros
View Answer
C

Q1669: The .DEF file is used to declare functions as _______ from the DLL.
  • A: local
  • B: accessible
  • C: hidden
  • D: exportable
View Answer
D

Q1670: The LIBSPEC macro is used to manage _______ of functions in DLLs.
  • A: priority
  • B: storage scope
  • C: export/import status
  • D: execution
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now