
PROCESSES
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Ijeoma Ezeji
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
2. Ayo Main Quiz Lagi
Quiz
•
University - Professi...
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
20 questions
ROUND 1
Quiz
•
University
20 questions
PERULANGAN WHILE DO
Quiz
•
University
20 questions
Quiz on Java
Quiz
•
University
20 questions
WebFundamentals
Quiz
•
University
20 questions
Video
Quiz
•
University
20 questions
Ch.8 - Introducing Python
Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
