Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1881: Which one of the following is NOT true about process handles?
  • A: They must be closed when not needed
  • B: They define security attributes
  • C: They are used by CreateProcess()
  • D: They are reused automatically
View Answer
D

Q1882: Process ID and handle can both be used to identify a process in function calls.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1883: Process IDs are guaranteed to remain the same across process sessions.
  • A: A
  • B: B
  • C:
  • D:
View Answer
B

Q1884: CreateProcess() provides environment data to the new process.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1885: Handle reuse across multiple processes is a default behavior.
  • A: A
  • B: B
  • C:
  • D:
View Answer
B

Q1886: Process ID is required when:
  • A: Working with threads
  • B: Using handle-based APIs
  • C: Monitoring process status
  • D: Opening a file
View Answer
C

Q1887: If a parent process changes its directory, the child process will:
  • A: Also change
  • B: Remain unaffected
  • C: Crash
  • D: Reboot the system
View Answer
B

Q1888: Handles with different ______ can exist for the same process.
  • A: names
  • B: priorities
  • C: security attributes
  • D: types
View Answer
C

Q1889: Once created, a process is:
  • A: Dependent on parent
  • B: Part of the parent's control
  • C: Completely standalone
  • D: Tied to environment
View Answer
C

Q1890: A process handle is a reference to:
  • A: Process structure
  • B: Process command line
  • C: An open instance of a process
  • D: Process memory pointer
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now