OS Assignment 1 Answers
OS Assignment 1 Answers
Model Answers
Accounting II 1-6
OB 1-5
IS 1-4
OS 1-3
PE 1&2
English 1 1&2
Sheet 1 OS
level 1 لطلبةSTAR متاح في مكتبة
Accounting II 1-6
OB 1-5
IS 1-4
OS 1-3
PE 1&2
English 1 1&2
Question 2: SMP has a number of potential advantages over
uniprocessor architecture. What are these advantages?
➢ Performance
➢ Availability
➢ Incremental growth
➢ Scaling
Sheet 3 OS
Sheet 3 OS
Question 4: Draw a figure showing the memory hierarchy?
Sheet 1 OS
Question 5: What is multiprogramming?
Sheet 3 OS
Question 6: What is time-sharing?
sharing Systems".
• Time sharing provides each user with small portion of time shared
computer. A job is swapped in and out of memory to the disk.
• Time sharing systems can share I/O devices, and many other
resources.
Sheet 3 OS
systems.
Sheet 3 OS
Question 8: Draw a figure for instruction execution with and without
interruption.
Sheet 2 OS
General Questions
Memory • RAM contains the processes that are ready for execution.
• The storage requirements of the processes are larger
than the size of the main memory.
• Main memory stores data and programs. This memory is
typically volatile; that is, when the computer is shut down,
the contents of the memory are lost.
• Main memory is also referred to as real memory or primary
Memory.
Sheet 2 OS
Points
Q1) Page 199: compare between Cache memory and
RAM.
• RAM (Random Access Memory) is a volatile memory which is used by
the CPU as the Primary Memory of the system. CPU stores frequently
used data of the programs running at a moment in RAM as RAM is
faster than storage devices, this helps the CPU to work faster.
• Cache memory is faster than the RAM but comes with very small
capacity. CPU stores more frequently used data in it so that the CPU
can access these data faster.
• Both RAM and cache memory are used with the same target which is
speeding up tasks.
RAM Cache Memory
Read/Write speed of RAM is Read/Write speed of cache
slower than Cache Memory memory is faster than RAM
RAM is less expensive than Cache Memory is more
Cache Memory expensive than RAM
RAM is used to store less Cache Memory is used to store
frequent data more frequent data
CPU reads RAM after reading CPU reads Cache Memory before
Cache Memory reading RAM
RAM is generally internal Cache Memory can be internal
and external both
Sheet 2 OS
01284647550
STAR Library
https://www.facebook.com/starlibrary1/