OS THREADS ;)

OS THREADS ;)

University

20 Qs

quiz-placeholder

Similar activities

CIS11 Quiz 3 Review SPR

CIS11 Quiz 3 Review SPR

University

15 Qs

Java Milestone-1 Mock Test

Java Milestone-1 Mock Test

University

20 Qs

Java Threads and Exception

Java Threads and Exception

University

20 Qs

VAC - Java -Applets and Servlets

VAC - Java -Applets and Servlets

University

25 Qs

Operating Systems and Concurrent Processing Quiz

Operating Systems and Concurrent Processing Quiz

12th Grade - University

15 Qs

Java-QUIZ-PSGRK

Java-QUIZ-PSGRK

University

15 Qs

Unit-III-Java -Thread 2

Unit-III-Java -Thread 2

University

15 Qs

BRAIN TEASER [ROUND-1]

BRAIN TEASER [ROUND-1]

University

20 Qs

OS THREADS ;)

OS THREADS ;)

Assessment

Quiz

Computers

University

Hard

Created by

SURYA T

Used 18+ 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?