System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Chapter: 80
Q1621:
In DLLs, variables and _______ are exported for use by other programs.
A. modules
B. drivers
C. functions
D. headers
Correct Answer:
C
Chapter: 80
Q1622:
DLLs are an example of _______.
A. shared memory
B. application interface
C. static resource code
D. standalone executables
Correct Answer:
A
Chapter: 80
Q1623:
The entire Windows API is implemented using _______.
A. drivers
B. batch files
C. DLLs
D. text scripts
Correct Answer:
C
Chapter: 80
Q1624:
Implicit linking of DLLs happens during _______.
A. code writing
B. linking
C. program load time
D. program termination
Correct Answer:
C
Chapter: 80
Q1625:
The executable size is smaller when using _______.
A. static linking
B. object files
C. DLLs
D. debug symbols
Correct Answer:
C
Chapter: 80
Q1626:
What is one advantage of using DLLs?
A. Increased executable size
B. Reduced memory sharing
C. Independent shared copies
D. Easy version update without recompilation
Correct Answer:
D
Chapter: 81
Q1627:
Implicit linking is performed during _______.
A. runtime
B. program shutdown
C. build time
D. execution time
Correct Answer:
C
Chapter: 81
Q1628:
The .LIB file created during implicit linking acts as a _______.
A. DLL container
B. function wrapper
C. function stub
D. actual code file
Correct Answer:
C
Chapter: 81
Q1629:
What type of file contains the actual binary image of functions?
A. .EXE
B. .LIB
C. .DOC
D. .DLL
Correct Answer:
D
Chapter: 81
Q1630:
In implicit linking, the placeholder in .LIB is linked to the calling program at _______.
A. runtime
B. design time
C. build time
D. test time
Correct Answer:
C
Chapter: 81
Q1631:
Which file is responsible for holding the original function code in implicit linking?
A. .EXE
B. .DLL
C. .TXT
D. .LIB
Correct Answer:
B
Chapter: 81
Q1632:
The .LIB file generated in implicit linking contains _______ for each function in DLL.
A. function name
B. documentation
C. placeholder
D. code logic
Correct Answer:
C
Chapter: 81
Q1633:
Where is the .DLL file usually placed?
A. in the OS root folder
B. in another partition
C. in the system32 folder
D. in the same directory as the application
Correct Answer:
D
Chapter: 81
Q1634:
The .LIB file in implicit linking is also known as a _______.
A. metadata file
B. debug file
C. stub file
D. output file
Correct Answer:
C
Chapter: 81
Q1635:
In implicit linking, function interfaces must be _______.
A. protected
B. secured
C. exported carefully
D. hidden
Correct Answer:
C
Chapter: 81
Q1636:
The stub in .LIB file acts as a _______ to call the original function in the DLL.
A. proxy
B. compiler
C. interface
D. block
Correct Answer:
A
Chapter: 81
Q1637:
The build process constructs a .DLL that includes _______.
A. comments only
B. the original binary image of functions
C. testing code
D. CPU instructions only
Correct Answer:
B
Chapter: 81
Q1638:
During the build process, the .LIB file should be placed in _______ directory.
A. system32
B. application root
C. common user library
D. system drive
Correct Answer:
C
Chapter: 81
Q1639:
Implicit linking links the DLL to the program at _______.
A. compile time
B. build time
C. test time
D. deployment time
Correct Answer:
B
Chapter: 81
Q1640:
Stub functions used in implicit linking act as _______.
A. real functions
B. function interfaces
C. log files
D. function placeholders
Correct Answer:
D