The traditional approach of a single thread of execution per process, in which the concept of a thread is not recognized, is referred to as a __________ .
A) task
B) resource
C) single-threaded approach
D) lightweight process
Threads and Process
Quiz
•
Information Technology (IT)
•
University
•
Hard
Sáng Nguyễn
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The traditional approach of a single thread of execution per process, in which the concept of a thread is not recognized, is referred to as a __________ .
A) task
B) resource
C) single-threaded approach
D) lightweight process
A) task
B) resource
C) single-threaded approach
D) lightweight process
Answer explanation
Cách tiếp cận của xử lý đơn luồng (single thread approach):
- Cách tiếp cận truyền thông là single-threaded approach
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The idea of having a many-to-many relationship between threads and processes has been explored in the experimental operating system _________ .
A) VISTA
B) TRIX
C) SOLARIS
D) LEOPARD
Answer explanation
Ta có mối quan hệ của threads với process:
mối quan hệ 1:1: tức là một thread được chạy trên 1 process: Được chạy trên UNIX OS
- Mối quan hệ 1:M: 1 thread có thể di cư từ process này sang process khác, key word: migrate from
- Mối quan hệ M:1: một process xác định địa chỉ trông và tài nguyên và multiple threads được chạy và thực thi ngay tại process đó
- Mối quan hệ M:M: là sự kết hợp của 1:M và M:1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a multithreaded environment, a __________ is defined as the unit of resource allocation and a unit of protection.
Answer explanation
Trong môi trường multithreaded environment, môi trường xử lý đa luồng thì process được hiểu là đơn vị phân bố tài nguyên và đơn vị bảo vệ:
unit of resource allocation, unit of protection.
Process is associated with:
- Virtual space hold process image: data, program, stack
- protected access to
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The principal disadvantage of the _________ approach is that the transfer of control from one thread to another within the same process requires a mode switch to the kernel.
A) KLT
B) LWP
C) VAX
D) ULT
A) KLT
B) LWP
C) VAX
D) ULT
Answer explanation
KLTs
Stand for Kernel level threads: Là toàn bộ công việc xử lý thread đều được hoàn thành và thực hiện ở kernel.
Disadvantageres: khi muốn chuyển quyền control từ thread này sang thread khác nó yêu cầu chuyển sang chế độ kernel
key wordL mode switch.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_________ is a good example of an OS using a combined ULT/KLT approach.
A) TRIX
B) Windows
C) LINUX
D) Solaris
Answer explanation
Combines approaches là cách tiếp cận kết hợp KLTs và ULTs:
Tại đây tất cả các hoạt động của thread được thực hiện ngay ở userspace và việc lên lịch và động bộ scheduling sychronization được thực hiện trên API tức là kernel space.
VÍ dụ của việc sử dụng combines approach là solaris
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A _________ is a single execution path with an execution stack, processor state, and scheduling information.
A) domain
B) strand
C) thread
D) message
A) domain
B) strand
D) message
Answer explanation
ý tưởng về việc triển khai mối quan hệ M:M của thread và process được triển khai ở TRIX OS tại đây thì thread là một đường dẫn thực thi duy nhất( single execution path) cùng với an execution stack( là ngăn thực hiện ), processor state( trạng thái của bộ xử lý) và scheduliing information (thông tin lên lịch )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
__________ are characterized by the presence of many single-threaded processes.
A) Multiprocess applications
B) Java applications
C) Multiinstance applications
D) Multithreaded native applications
C) Multiinstance applications
B) Java applications
D) Multithreaded native applications
Answer explanation
Việc có sự hiện diện của nhiều quy trình xử lý đa luồng đó gọi là multiprocess applications
keyword: many
presence
15 questions
Kuis Arkom 2
Quiz
•
University
16 questions
4.1 Kod Arahan
Quiz
•
1st Grade - University
10 questions
Quiz - Hardware & Software
Quiz
•
University
12 questions
CLC Lesson 7 Quiz
Quiz
•
University
15 questions
Exam Entornos Virtuales de Aprendizaje
Quiz
•
University
15 questions
QUIZ PENGEMBANGAN PERANGKAT LUNAK DAN GIM
Quiz
•
10th Grade - University
15 questions
четам ба😎
Quiz
•
University
12 questions
CLC Lesson 4&5 Quiz
Quiz
•
University
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