Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Chapter: 81
Q1641:
In implicit linking, .LIB acts as a bridge between the calling program and the _______.
A. linker
B. system memory
C. DLL
D. debugger
Correct Answer: C
Chapter: 81
Q1642:
The actual execution of function defined in DLL occurs via _______.
A. the stub in the .LIB file
B. the function name directly
C. the static linking process
D. the compiler
Correct Answer: A
Chapter: 81
Q1643:
The .DLL file generated during implicit linking contains _______.
A. build instructions
B. function addresses
C. compiled function binaries
D. linkage reports
Correct Answer: C
Chapter: 81
Q1644:
Each function in the DLL has a corresponding _______ in the .LIB file.
A. header
B. class
C. entry
D. stub
Correct Answer: D
Chapter: 81
Q1645:
Implicit linking requires that the function interfaces in the DLL be _______ to the calling application.
A. imported
B. compared
C. shared
D. exported
Correct Answer: D
Chapter: 81
Q1646:
Which of the following is **not** part of the implicit linking process?
A. Linking .LIB at build time
B. Exporting interfaces
C. Constructing .DLL
D. Manual function loading
Correct Answer: D
Chapter: 81
Q1647:
The file that contains function placeholders is the _______.
A. .DLL
B. .EXE
C. .LIB
D. .CPP
Correct Answer: C
Chapter: 81
Q1648:
Implicit linking uses a _______ for each DLL function during build time.
A. function pointer
B. class
C. instance
D. placeholder
Correct Answer: D
Chapter: 81
Q1649:
The actual binary image of DLL functions is compiled in a _______ file.
A. .DLL
B. .LIB
C. .EXE
D. .TXT
Correct Answer: A
Chapter: 81
Q1650:
Placeholders in .LIB file are resolved to _______ during application execution.
A. actual code in DLL
B. local cache
C. compiled headers
D. virtual memory
Correct Answer: A
Chapter: 81
Q1651:
Exported interfaces in DLLs are required for _______.
A. debugging
B. execution
C. error logging
D. interfacing with calling programs
Correct Answer: D
Chapter: 81
Q1652:
Implicit linking is most commonly used when _______.
A. functions must be loaded at runtime
B. we want better control during execution
C. dynamic allocation is needed
D. DLLs are always available
Correct Answer: C
Chapter: 82
Q1653:
To make a DLL function exportable, you must declare it using _______.
A. #define
B. declspec(dllexport)
C. main()
D. include header
Correct Answer: B
Chapter: 82
Q1654:
Which file type holds the actual code of a DLL function?
A. .EXE
B. .TXT
C. .DLL
D. .LIB
Correct Answer: C
Chapter: 82
Q1655:
The .LIB file generated in the build process serves as a _______ for function calls.
A. entry point
B. header
C. stub
D. source file
Correct Answer: C
Chapter: 82
Q1656:
Which keyword is used in the calling program to import a DLL function?
A. #IMPORT
B. IMPORT
C. DLLCALL
D. declspec(dllimport)
Correct Answer: D
Chapter: 82
Q1657:
The storage modifier used for exporting DLL functions is _______.
A. declspec(dllexport)
B. dll(lib)
C. export_lib
D. link_export
Correct Answer: A
Chapter: 82
Q1658:
The keyword `declspec(dllimport)` is used in _______.
A. the exporting library
B. the importing program
C. DLL header file
D. source file
Correct Answer: B
Chapter: 82
Q1659:
Which compiler automates the import/export declaration in DLLs?
A. Turbo C++
B. Visual C++
C. GNU GCC
D. Borland C++
Correct Answer: B
Chapter: 82
Q1660:
In Visual C++, the import/export of DLL functions is handled _______.
A. manually
B. by linker
C. automatically
D. by debugger
Correct Answer: C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now