Search Header Logo

GIOS P2L4 - Part 2

Authored by Blair Bass

Computers

University

Used 2+ times

GIOS P2L4 - Part 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the set_concurrency system call?

To allocate kernel level threads to a process

To request more user level threads

To signal the kernel before blocking

To interact and coordinate between the kernel and the user level library

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Why is it helpful for the kernel to signal to the user level library before blocking?

To allocate another thread to the process temporarily

To deallocate a thread when it becomes idle

To allow the user level library to request more kernel level threads

To coordinate and make progress even when some threads are blocking

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the user level library see?

Kernel level threads

CPUs

Kernel level scheduler

User level threads

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can the user level library do to ensure a user level thread always executes on a specific kernel level thread?

Request binding of the user level thread to a specific kernel level thread

Pin the kernel level thread to a particular CPU

Specify the mapping between ULT and KLT in the many to many case

Use mutexes and wait queues for synchronization

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

When does the process jump to the user level library scheduler?

When ULTs explicitly yield

When a timer set by the UL library expires

When ULTs call library functions like lock/unlock

When blocked threads become runnable

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is the issue when a user level thread acquires a lock and the kernel level thread gets preempted?

The user level library scheduler cycles through remaining user level threads

The user level threads waste time until the thread holding the lock is scheduled again

The ULT/KLT mapping in the many to many case changes

The kernel is unaware of the data structures used by the user level

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a multi CPU system, how can a user level library impact what is running on another CPU?

By directly modifying the registers of the other CPU

By sending a signal from one CPU to the other

By requesting the kernel to preempt a thread on the other CPU

By blocking the thread on one CPU and scheduling another thread on the other CPU

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?