System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1961: STARTUPINFO is a part of ______ API.
- A: CreateThread()
- B: CreateProcess()
- C: GetProcessInfo()
- D: StartProgram()
View Answer
B
Q1962: Text-converted file handles passed to the child process are handled via ______.
- A: environment variables
- B: command-line parsing
- C: IPC services
- D: handle tables
View Answer
B
Q1963: Handles inherited and passed properly are considered ______.
- A: volatile
- B: volatile permanent
- C: process-local
- D: safe for concurrent access
View Answer
D
Q1964: If two processes use the same inherited handle, they can still have different ______.
- A: permissions
- B: file access modes
- C: file pointers
- D: owners
View Answer
C
Q1965: Child processes must always manually create new handles.
- A: A
- B: B
- C:
- D:
View Answer
B
Q1966: STARTUPINFO allows redirection of IO handles like input/output streams.
- A: A
- B: B
- C:
- D:
View Answer
A
Q1967: Handles passed via command line must be converted into strings.
- A: A
- B: B
- C:
- D:
View Answer
A
Q1968: Inheritable handles do not guarantee accessibility if not passed correctly.
- A: A
- B: B
- C:
- D:
View Answer
A
Q1969: Child processes always share the same pointer location for inherited handles.
- A: A
- B: B
- C:
- D:
View Answer
B
Q1970: Parent must keep all handles open until the child process exits.
- A: A
- B: B
- C:
- D:
View Answer
B