PROCESSES

PROCESSES

University

22 Qs

quiz-placeholder

Similar activities

Control Structures  C#

Control Structures C#

University

20 Qs

PROGRAMMING CAMP

PROGRAMMING CAMP

University

20 Qs

EIT Quiz 2

EIT Quiz 2

University

20 Qs

Bridge course with C

Bridge course with C

University

20 Qs

JavaScript Variables, Data Types, and Operators Quiz

JavaScript Variables, Data Types, and Operators Quiz

University

18 Qs

C++ Assesment 1

C++ Assesment 1

University

20 Qs

ARRAY

ARRAY

University

22 Qs

Revision : Chapter 1

Revision : Chapter 1

University

19 Qs

PROCESSES

PROCESSES

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Ijeoma Ezeji

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?

Discover more resources for Computers