Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2151: The environment variable names are case ______.
  • A: Sensitive
  • B: Insensitive
  • C: Insensitive only on Windows
  • D: Sensitive only on Linux
View Answer
B

Q2152: What is the purpose of the example program described?
  • A: Search a pattern in multiple files
  • B: Sort files
  • C: Delete files
  • D: Create files
View Answer
A

Q2153: Which Windows feature does the example program use to search files concurrently?
  • A: Multitasking
  • B: Single-threading
  • C: Batch processing
  • D: Interrupt handling
View Answer
A

Q2154: How does the program receive the pattern and filenames?
  • A: Command line
  • B: Configuration file
  • C: Graphical user interface
  • D: Environment variables
View Answer
A

Q2155: What is specified as inheritable in the new process startup info?
  • A: Standard input file
  • B: Standard output file
  • C: Standard error file
  • D: Temporary file
View Answer
B

Q2156: What synchronization method is used to wait for processes to finish?
  • A: Mutexes
  • B: Wait functions
  • C: Semaphores
  • D: Event objects
View Answer
B

Q2157: What is the limit on the number of handles that wait functions can manage simultaneously?
  • A: 32
  • B: 64
  • C: 128
  • D: 256
View Answer
B

Q2158: How does the program determine if a process found the search pattern?
  • A: Exit code
  • B: Standard output
  • C: Message box
  • D: Log file
View Answer
A

Q2159: What does the program do immediately after the search ends?
  • A: Displays results one at a time
  • B: Deletes all files
  • C: Creates new files
  • D: Starts new search
View Answer
A

Q2160: What header file is included in the example program?
  • A:
  • B:
  • C:
  • D:
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now