Search Header Logo

DOS Quiz 2

Authored by Rakesh Rai

Computers

University

Used 1+ times

DOS Quiz 2
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

30 sec • 1 pt

What is a deadlock in distributed systems?

A deadlock is a situation where resources are released automatically.

A deadlock occurs when all processes are actively running without waiting.

A deadlock happens when processes are able to communicate freely without restrictions.

A deadlock is a situation in distributed systems where processes are stuck waiting for each other to release resources.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name two methods for deadlock detection.

Semaphore signals

Thread priorities

Mutex locks

Resource allocation graphs, Wait-for graphs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between user space and kernel space threads?

User space threads require more system resources than kernel space threads.

User space threads are faster than kernel space threads.

User space threads are managed by user-level libraries, while kernel space threads are managed by the operating system kernel.

Kernel space threads can only run in user mode.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the concept of process in the context of threads.

A process is a type of thread that cannot run concurrently.

Threads are separate processes that do not share resources.

A process is a single thread that executes independently.

In the context of threads, a process is a container that holds multiple threads, sharing resources while executing concurrently.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the advantages of implementing threads in user space?

Slower context switching

Less control over scheduling

Increased overhead in thread management

Advantages of implementing threads in user space include faster context switching, greater control over scheduling, and reduced overhead in thread management.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Describe the graph-theoretic approach to processor allocation.

The approach uses a tree structure to manage processor allocation.

Tasks are assigned randomly without any graph representation.

The graph-theoretic approach models processors and tasks as a bipartite graph to optimize allocation.

Processors are allocated based on a linear programming model.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a centralized processor allocation algorithm?

A method for managing and allocating processing resources from a single central point.

A framework for real-time data processing in cloud environments.

A technique for distributing processing tasks across multiple servers.

A strategy for optimizing memory usage in distributed systems.

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?