Question 1
What is a thread in the context of an operating system?
A program under execution
A lightweight process
A type of CPU scheduling
A memory allocation method
Question 3
Which of the following is shared among all threads in a process?
Stack
Program counter
Register set
Code section
Question 4
Which component is NOT unique to each thread?
Thread ID
Program Counter
Stack
Address space
Question 5
Why are threads needed?
To replace processes entirely
To improve application performance via concurrent execution
To reduce memory usage to zero
To make processes share separate address spaces
Question 6
Which of the following is NOT a component of a thread?
Stack Space
Register Set
Program Counter
Process Table
Question 7
User-level threads are managed by:
The OS Kernel
The CPU hardwar
Thread libraries
The BIOS
Question 8
Which is a disadvantage of user-level threads?
Slow context switching
Entire process blocks if one thread blocks
High kernel overhead
Cannot run on single-core systems
Question 9
Kernel-level threads can run on multiple processors because:
They are invisible to the OS
They share the same stack
They don’t require hardware support
The kernel schedules them directly
Question 10
Main difference between a process and a thread is:
Processes share memory, threads do not
Threads share memory, processes do not
Threads are heavier than processes
Processes are faster to create than threads
There are 12 questions to complete.