System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1871: A process can have multiple ______ with different security attributes.
- A: names
- B: threads
- C: IDs
- D: handles
View Answer
D
Q1872: Some process management functions use process ______.
- A: names
- B: paths
- C: handles and IDs
- D: files
View Answer
C
Q1873: Handles are used for ______ purpose functions.
- A: single
- B: security
- C: general
- D: process-specific
View Answer
C
Q1874: Which of the following must be closed when no longer required?
- A: Process ID
- B: Process path
- C: Process handle
- D: Process memory
View Answer
C
Q1875: What is required for handle-based function calls?
- A: Process IDs
- B: Process command line
- C: Process handles
- D: Process group IDs
View Answer
C
Q1876: Environment information is passed to the new process by ______.
- A: SetProcessInfo()
- B: CreateProcess()
- C: GetProcessData()
- D: InitEnv()
View Answer
B
Q1877: After a process is created, changes in the parent’s environment will affect the child process.
- A: A
- B: B
- C:
- D:
View Answer
B
Q1878: Process handles are similar to ______ handles in their usage.
- A: thread
- B: heap
- C: file
- D: memory
View Answer
C
Q1879: Each process in Windows is considered ______.
- A: part of system
- B: linked to parent
- C: tightly coupled
- D: entirely independent
View Answer
D
Q1880: Changing the working directory in the parent process ______ affect the child’s working directory.
- A: does not
- B: always
- C: sometimes
- D: automatically
View Answer
A