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

PROCESSES

Quiz
•
Computers
•
University
•
Hard
Ijeoma Ezeji
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
19 questions
Exam #1

Quiz
•
University
20 questions
OS quiz

Quiz
•
University
18 questions
Java thread - MCQ

Quiz
•
University
20 questions
Multithreading in java

Quiz
•
University
20 questions
Operating System Process Management

Quiz
•
University
20 questions
IPC

Quiz
•
University
20 questions
Linux 3-4

Quiz
•
University
20 questions
P2L2 - part 3

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade