Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1551: The Caesar cipher is an example of ______ encryption.
  • A: symmetric
  • B: asymmetric
  • C: substitution
  • D: transposition
View Answer
C

Q1552: File mapping is best suited for ______ file access patterns.
  • A: sequential
  • B: random
  • C: binary
  • D: indexed
View Answer
A

Q1553: Memory mapping allows the use of ______-based algorithms to process files efficiently.
  • A: disk
  • B: memory
  • C: stream
  • D: thread
View Answer
B

Q1554: The program 'sortFL' sorts a file containing ______ length records.
  • A: fixed
  • B: variable
  • C: dynamic
  • D: random
View Answer
A

Q1555: The C library function used for sorting in the memory-mapped file example is ______.
  • A: sort
  • B: qsort
  • C: bsearch
  • D: merge
View Answer
A

Q1556: The sorting key in the example is located at the ______ of the record.
  • A: end
  • B: start
  • C: middle
  • D: random
View Answer
B

Q1557: The program creates a ______ copy of the input file before sorting.
  • A: temporary
  • B: backup
  • C: permanent
  • D: encryption
View Answer
A

Q1558: The sorted file output in the program is sent to ______.
  • A: standard input
  • B: standard output
  • C: a file
  • D: socket
View Answer
B

Q1559: In the example, a null character is appended to the file map after sorting to mark the ______.
  • A: end
  • B: start
  • C: middle
  • D: key
View Answer
A

Q1560: File I/O operations are ______ in the sorting process shown in the program.
  • A: included
  • B: omitted
  • C: required
  • D: enhanced
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now