System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
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
View Answer
B
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
View Answer
C
Q1603: The input file remains _______ during the entire indexing and searching process.
- A: unchanged
- B: encrypted
- C: modified
- D: reversed
View Answer
A
Q1604: Using an index file allows _______ access to records in the original file.
- A: indirect
- B: random
- C: sequential
- D: parallel
View Answer
B
Q1605: Maintaining permanent indexes avoids the need for _______ on every access.
- A: sorting
- B: compression
- C: encryption
- D: paging
View Answer
A
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
View Answer
C
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
View Answer
B
Q1608: Which Windows feature allows shared memory use for multiple processes?
- A: Threads
- B: Memory paging
- C: Dynamic Link Libraries
- D: File mapping
View Answer
C
Q1609: DLL stands for _______.
- A: Dynamic Link Layer
- B: Dynamic Link Loader
- C: Dynamic Link Library
- D: Dynamic Load Library
View Answer
C
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
View Answer
C