Derived Channel
1.54K subscribers
252 photos
4 videos
374 files
68 links
القناة الأساسية
@stepbystep001

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
Thread creation has less overhead than process creation
Anonymous Quiz
23%
Responsiveness
7%
Resource sharing
66%
Economy
5%
Scalability
Threads can run in parallel on a multiprocessor machine
Anonymous Quiz
18%
Responsiveness
14%
Resource sharing
4%
Economy
64%
Scalability
Threads share the resources of the process
Anonymous Quiz
4%
Responsiveness
93%
Resource sharing
2%
Economy
1%
Scalability
A blocked thread doesn’t block the process
Anonymous Quiz
92%
Responsiveness
2%
Resource sharing
2%
Economy
3%
Scalability
Divide data between tasks that run on separate cores
Anonymous Quiz
13%
Identifying tasks
8%
Balance
74%
Data splitting
3%
Data dependency
1%
Testing and debugging
divide program into tasks that can run in parallel
Anonymous Quiz
71%
Identifying tasks
18%
Balance
9%
Data splitting
2%
Data dependency
1%
Testing and debugging
Ensure that these tasks perform equal work of equal value
Anonymous Quiz
3%
Identifying tasks
89%
Balance
3%
Data splitting
1%
Data dependency
5%
Testing and debugging
Distribution of tasks across multiple cores
Anonymous Quiz
13%
Data Parallelism
87%
Task Parallelism
Distribution of data across multiple cores
Anonymous Quiz
98%
Data Parallelism
2%
Task Parallelism
threads made by Operating System are called
Anonymous Quiz
5%
user threads
95%
kernel threads
threads made At the user level are called
Anonymous Quiz
99%
user threads
1%
kernel threads
User threads are managed with OS support
Anonymous Quiz
29%
T
71%
F
Kernel threads are supported and managed directly by the OS
Anonymous Quiz
96%
T
4%
F
Most modern OSs doesn’t support kernel threads (e.g., Windows, Linux)
Anonymous Quiz
13%
T
87%
F
Threads cannot run in parallel on multi-core systems
Anonymous Quiz
81%
Many-to-One Model
15%
One-to-One Model
4%
Many-to-Many Model
Multiple threads can run in parallel on multi-core systems
Anonymous Quiz
12%
Many-to-One Model
88%
One-to-One Model
Multiple threads can access the kernel at a given time
Anonymous Quiz
15%
Many-to-One Model
85%
Many-to-Many Model
Does not suffer from the drawback of the many-to-one model
Anonymous Quiz
6%
Many-to-One Model
16%
One-to-One Model
77%
Many-to-Many Model