Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1491: The size of the mapping object must be specified using _______ values.
  • A: One 64-bit
  • B: Two 32-bit
  • C: Four 16-bit
  • D: One 32-bit
View Answer
B

Q1492: lpName parameter in CreateFileMapping() specifies the _______ of the map.
  • A: Size
  • B: Name
  • C: Security level
  • D: Protection level
View Answer
B

Q1493: Setting lpName to NULL means the map _______.
  • A: Is shared
  • B: Is not shared
  • C: Is read-only
  • D: Has full access
View Answer
B

Q1494: Once the size of a mapping object is assigned, it can _______.
  • A: Grow automatically
  • B: Shrink only
  • C: Not grow
  • D: Grow and shrink
View Answer
B

Q1495: File mapping objects are created using the handle of an _______ file.
  • A: Open
  • B: Closed
  • C: Temporary
  • D: Deleted
View Answer
A

Q1496: File mapping objects assigned names are available to _______.
  • A: Other threads
  • B: Other processes
  • C: Only current process
  • D: System services
View Answer
B

Q1497: CreateFileMapping() is used for _______ file IO operations.
  • A: Direct
  • B: Memory mapped
  • C: Buffered
  • D: Asynchronous
View Answer
B

Q1498: Which API is used to open an existing file mapping object?
  • A: OpenFileMapping()
  • B: CreateFileMapping()
  • C: CloseHandle()
  • D: ReadFile()
View Answer
A

Q1499: How many arguments does the OpenFileMapping() function take?
  • A: 2
  • B: 3
  • C: 4
  • D: 5
View Answer
B

Q1500: What is the return type of OpenFileMapping()?
  • A: Integer
  • B: Pointer
  • C: Handle
  • D: Boolean
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now