OS THREADS ;)

OS THREADS ;)

University

20 Qs

quiz-placeholder

Similar activities

Java thread - MCQ

Java thread - MCQ

University

18 Qs

Threads and Process

Threads and Process

University

20 Qs

Threads, Processes, and Programs

Threads, Processes, and Programs

University

20 Qs

Threads and Processes

Threads and Processes

University

20 Qs

CT-4 (Deadlocks)

CT-4 (Deadlocks)

University

15 Qs

Threads in OS

Threads in OS

University

17 Qs

OS Basics

OS Basics

University

20 Qs

Java_Quiz_8

Java_Quiz_8

University

20 Qs

OS THREADS ;)

OS THREADS ;)

Assessment

Quiz

Computers

University

Hard

Created by

SURYA T

Used 17+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?