Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Chapter: 79
Q1601:
Each record in the index file contains a key and a _______.
A. record number
B. pointer location into the original file
C. record ID
D. record offset
Correct Answer: B
Chapter: 79
Q1602:
Once the index file is created, it can be used for _______.
A. deleting records
B. reordering original file
C. sorting index records for faster searching
D. backing up original file
Correct Answer: C
Chapter: 79
Q1603:
The input file remains _______ during the entire indexing and searching process.
A. unchanged
B. encrypted
C. modified
D. reversed
Correct Answer: A
Chapter: 79
Q1604:
Using an index file allows _______ access to records in the original file.
A. indirect
B. random
C. sequential
D. parallel
Correct Answer: B
Chapter: 79
Q1605:
Maintaining permanent indexes avoids the need for _______ on every access.
A. sorting
B. compression
C. encryption
D. paging
Correct Answer: A
Chapter: 79
Q1606:
Sorting records each time they are accessed is not a feasible solution for _______.
A. small files
B. temporary files
C. huge files
D. sorted files
Correct Answer: C
Chapter: 79
Q1607:
The index file helps in identifying the location of a record in the original file using its _______.
A. position
B. key
C. size
D. hash
Correct Answer: B
Chapter: 80
Q1608:
Which Windows feature allows shared memory use for multiple processes?
A. Threads
B. Memory paging
C. Dynamic Link Libraries
D. File mapping
Correct Answer: C
Chapter: 80
Q1609:
DLL stands for _______.
A. Dynamic Link Layer
B. Dynamic Link Loader
C. Dynamic Link Library
D. Dynamic Load Library
Correct Answer: C
Chapter: 80
Q1610:
What is the primary drawback of static linking?
A. It is insecure
B. It requires internet
C. It creates large executable images
D. It can’t be compiled
Correct Answer: C
Chapter: 80
Q1611:
Static linking leads to _______ for each program using the same library.
A. shared memory
B. use of DLLs
C. separate copy of library
D. memory corruption
Correct Answer: C
Chapter: 80
Q1612:
What type of linking occurs at program load time?
A. Static linking
B. Implicit linking
C. Explicit linking
D. Compiled linking
Correct Answer: B
Chapter: 80
Q1613:
What type of linking allows a DLL to be loaded during execution?
A. Implicit linking
B. Deferred linking
C. Static linking
D. Explicit linking
Correct Answer: D
Chapter: 80
Q1614:
In static linking, any update to a library function requires _______.
A. restarting the system
B. relinking the DLL
C. recompiling the whole program
D. editing the executable
Correct Answer: C
Chapter: 80
Q1615:
DLLs reduce memory usage by allowing _______.
A. disk swapping
B. shared access to a single copy of the DLL
C. a compressed executable
D. no library usage
Correct Answer: B
Chapter: 80
Q1616:
In Windows, DLLs are used to implement _______.
A. compression algorithms
B. database storage
C. OS interfaces
D. dynamic websites
Correct Answer: C
Chapter: 80
Q1617:
Each program using a DLL gets its own copy of _______.
A. code segment
B. resource file
C. global variables
D. thread functions
Correct Answer: C
Chapter: 80
Q1618:
Using DLLs enhances portability because _______.
A. programs are smaller
B. DLLs are compiled once and reused
C. programs use less CPU
D. the system performs automatic updates
Correct Answer: B
Chapter: 80
Q1619:
A DLL runs in the same process space as the program that _______ it.
A. executes
B. calls
C. downloads
D. compiles
Correct Answer: B
Chapter: 80
Q1620:
DLLs must be written to be _______ to ensure safe multi-threaded access.
A. read-only
B. high priority
C. thread-safe
D. clean
Correct Answer: C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now