Podcast
Questions and Answers
Which of the following is a characteristic of a thread?
Which of the following is a characteristic of a thread?
- It is composed of a set of registers (correct)
- It has its own program counter
- It has its own code section
- It has its own memory and resources
What is the purpose of having multiple threads in a process?
What is the purpose of having multiple threads in a process?
- To increase the memory usage
- To increase the number of processes
- To increase the CPU utilization (correct)
- To increase the program execution time
What are the attributes of a thread?
What are the attributes of a thread?
- Thread ID, thread context, thread execution stack (correct)
- Thread context, thread execution stack, thread ID
- Thread execution state, thread ID, thread context
- Thread execution stack, thread context, thread ID
What is the purpose of a thread ID?
What is the purpose of a thread ID?
What does a thread context consist of?
What does a thread context consist of?