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
12 questions
CLC Lesson 7 Quiz
Quiz
•
University
16 questions
Test Kemanan Komputer Pertemuan 01
Quiz
•
University
20 questions
6E UAS LIterasi Big Data
Quiz
•
University
10 questions
POST-TEST
Quiz
•
University
20 questions
2. TRANSMISION DE DATOS NIVEL FISICO
Quiz
•
University
10 questions
Metodologías Ágiles
Quiz
•
12th Grade - University
20 questions
Pengantar Teknologi Informasi
Quiz
•
University
12 questions
CLC Lesson 6 Quiz
Quiz
•
University
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade