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

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
IPC = Inter-Process Communication
Anonymous Quiz
97%
T
3%
F
Normally, the OS restricts a process to its own memory
Anonymous Quiz
91%
T
9%
F
managed by the OS
Anonymous Quiz
36%
shared memory
64%
message passing
message passing Allow processes to communicate without sharing memory
Anonymous Quiz
88%
T
12%
F
تم تحويل جميع أسئلة محاضرة 3 ولله الحمد.
بسم الله والصلاة والسلام على رسول الله ﷺ.
OS Lecture 4 ( Threads )
A thread is a ... sequence of execution
Anonymous Quiz
84%
single
16%
multiple
A thread is the basic unit of CPU utilization
Anonymous Quiz
99%
T
1%
F
A traditional process has a …thread of control
Anonymous Quiz
85%
single
15%
multiple
A multi-threaded process can perform multiple tasks at a time
Anonymous Quiz
97%
T
3%
F
A thread comprises a thread ID, a PC, a register set, and a stack
Anonymous Quiz
96%
T
4%
F
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