
Threads and Process
Authored by Sáng Nguyễn
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Kuis Ms Word 1
Quiz
•
7th Grade - University
15 questions
Quiz #2
Quiz
•
University
15 questions
Table,Image formatting
Quiz
•
5th Grade - University
15 questions
Fundamentos de Bases de Datos
Quiz
•
10th Grade - University
12 questions
Network Technology (BSIT 4)
Quiz
•
University
15 questions
POST-TEST
Quiz
•
University
13 questions
Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B
Quiz
•
10th Grade - University
15 questions
Recap Handout 3 & 4
Quiz
•
6th Grade - University
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
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University