Search Header Logo

OS THREADS ;)

Authored by SURYA T

Computers

University

Used 18+ times

OS THREADS ;)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________

priority removal

priority modification

priority inversion

priority exchange

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place is called ________

3.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

To enable a process to wait within the monitor __________

semaphore must be used

condition variables must be used as boolean objects

synchronization between concurrent procedure invocation

procedures that operate on shared data structure

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the drawback of the One to One Model?

decreased concurrency provided by this model

creating a user thread requires creating the corresponding kernel thread

creating so many threads at once can crash the system

increased concurrency provided by this model

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The code that changes the value of the semaphore is ____________

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The time required to create a new thread in an existing process is _____

equal to the time required to create a new process

greater than the time required to create a new process

less than the time required to create a new process

none of the mentioned

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the main disadvantage of spinlocks?

they are not sufficient for many process

they are unreliable sometimes

they require busy waiting

they are too complex for programmers

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?