PROCESSES

PROCESSES

University

22 Qs

quiz-placeholder

Similar activities

Threads and Process

Threads and Process

University

18 Qs

Threads and Processes

Threads and Processes

University

18 Qs

Revisão 2ª AV - Sistemas Operacionais

Revisão 2ª AV - Sistemas Operacionais

University

20 Qs

Linux 3-4

Linux 3-4

University

20 Qs

Java thread - MCQ

Java thread - MCQ

University

18 Qs

Programación de Paralelismo

Programación de Paralelismo

University

21 Qs

Threads, Processes, and Programs

Threads, Processes, and Programs

University

20 Qs

Threads and Processes

Threads and Processes

University

20 Qs

PROCESSES

PROCESSES

Assessment

Quiz

Computers

University

Hard

Created by

Ijeoma Ezeji

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the basic idea behind threads in a distributed system?

Threads are physical processors

Threads are software processors that execute a series of instructions

Threads are used for blocking I/O operations

Threads are used for process switching

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the minimal collection of values stored in registers and memory used for the execution of a series of instructions in a thread context?

Processor context

Thread context

MMU register values

Process context

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are threads used in a multithreaded process?

To avoid process switching

To structure large applications as a collection of processes

To avoid blocking I/O operations

To exploit parallelism

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a direct cost of a context switch?

Executing code of the handler

Accessing block D

Messing up the cache

Actual switch and executing code of the handler

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main issue when deciding whether an OS kernel should provide threads?

Performance gain vs. increased complexity

Complexity of the kernel

Support for user-level threads

Efficiency of thread operations

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the principle operation of user and kernel threads combined?

Kernel schedules another kernel thread with a runnable user thread

User thread does system call, kernel thread blocks

User thread calls a blocking user-level operation

Kernel thread remains idle when no user threads to schedule

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a multithreaded web client hide network latencies?

By reacting to next request while previous one is being replied

By avoiding process switching

By exploiting parallelism

By switching CPU to another thread

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?