System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1541: In the example of a simple Caesar cipher, the file mapping approach processes characters by ______.
- A: substituting characters sequentially
- B: shuffling characters randomly
- C: deleting characters
- D: encrypting characters with a key
View Answer
A
Q1542: The Caesar cipher example shifts characters in the ______ set.
- A: Unicode
- B: ASCII
- C: Binary
- D: Hexadecimal
View Answer
B
Q1543: The processing time improvement using file mapping is most visible when file sizes are ______.
- A: small
- B: large
- C: medium
- D: unknown
View Answer
A
Q1544: Sequential file access using file mapping may lose its advantage if the input and output files are too ______.
- A: large
- B: small
- C: encrypted
- D: compressed
View Answer
A
Q1545: The Caesar cipher substitutes each character by shifting it a few places in the ______ set.
- A: ASCII
- B: Unicode
- C: Hexadecimal
- D: Binary
View Answer
A
Q1546: File mapping allows access to file contents as if it were in ______.
- A: memory
- B: a stream
- C: a socket
- D: a database
View Answer
A
Q1547: File mapping can improve performance by reducing the number of ______ operations.
- A: disk read
- B: disk write
- C: network calls
- D: all of these
View Answer
D
Q1548: Sequential file access processes characters one after another in a ______ order.
- A: random
- B: sequential
- C: binary
- D: parallel
View Answer
B
Q1549: The complexity of setting up file views is outweighed by the ______ gained in performance.
- A: cost
- B: complexity
- C: benefit
- D: disadvantage
View Answer
C
Q1550: Using file mapping, the data can be accessed more like ______ rather than traditional file operations.
- A: random access
- B: streaming
- C: sequential blocks
- D: memory blocks
View Answer
D