System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2471: The thread stack stores ______ passed to the thread from the calling process.
- A: functions
- B: arguments
- C: variables
- D: pointers
View Answer
B
Q2472: Proper use of TLS ensures thread data ______.
- A: isolation
- B: duplication
- C: merging
- D: sharing
View Answer
A
Q2473: Threads are treated as ______ in programming.
- A: variables
- B: functions
- C: objects
- D: events
View Answer
C
Q2474: The API function used to create a thread is ______.
- A: CreateProcess()
- B: CreateThread()
- C: ThreadStart()
- D: ThreadCreate()
View Answer
B
Q2475: Threads can be considered as ______ and child, although the OS is unaware of this.
- A: parent
- B: object
- C: parent
- D: process
View Answer
A
Q2476: CreateThread() requires the ______ address of the thread function.
- A: starting
- B: ending
- C: memory
- D: stack
View Answer
A
Q2477: The stack space size for a thread is allocated from the ______ address space.
- A: process
- B: system
- C: user
- D: kernel
View Answer
A
Q2478: By default, one page of memory is committed at the ______ of the thread.
- A: start
- B: starting
- C: point
- D: end
View Answer
A
Q2479: CreateThread() requires a pointer to the thread ______, which can be any structure.
- A: argument
- B: return
- C: value
- D: status
View Answer
A
Q2480: In CreateThread(), the parameter 'dwStackSize' specifies the ______ in bytes.
- A: stack size
- B: thread priority
- C: stack memory
- D: buffer size
View Answer
A