0
0
Operating Systemsknowledge~10 mins

User-level vs kernel-level threads in Operating Systems - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify where user-level threads are managed.

Operating Systems
User-level threads are managed by the [1] rather than the operating system.
Drag options to blanks, or click blank then click option'
Auser
Bkernel
Chardware
Dnetwork
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing user-level threads with kernel-level threads.
Thinking the operating system manages user-level threads.
2fill in blank
medium

Complete the code to show which threads the kernel schedules.

Operating Systems
The kernel schedules [1] threads directly.
Drag options to blanks, or click blank then click option'
Ahardware
Buser-level
Cvirtual
Dkernel-level
Attempts:
3 left
💡 Hint
Common Mistakes
Assuming the kernel schedules user-level threads.
Mixing up hardware threads with kernel threads.
3fill in blank
hard

Fix the error in the statement about thread switching.

Operating Systems
Switching between [1] threads is faster because it does not require kernel intervention.
Drag options to blanks, or click blank then click option'
Ahardware
Buser-level
Ckernel-level
Dvirtual
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking kernel-level thread switching is faster.
Confusing hardware threads with user threads.
4fill in blank
hard

Fill both blanks to complete the sentence about thread blocking.

Operating Systems
When a [1] thread blocks, the entire process blocks, but when a [2] thread blocks, other threads can continue.
Drag options to blanks, or click blank then click option'
Auser-level
Bkernel-level
Chardware
Dvirtual
Attempts:
3 left
💡 Hint
Common Mistakes
Reversing which thread type blocks the whole process.
Confusing hardware threads with user or kernel threads.
5fill in blank
hard

Fill all three blanks to complete the dictionary about thread types.

Operating Systems
thread_info = {'type': '[1]', 'managed_by': '[2]', 'switch_speed': '[3]'}
Drag options to blanks, or click blank then click option'
Auser-level
Buser
Cfast
Dslow
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up who manages user-level threads.
Confusing switch speed between user and kernel threads.