-
Describe page-based virtual memory. You should consider pages, frames, page
tables, and Memory Management Units in your answer
Date posted:
April 26, 2022
-
Base-limit MMUs can support swapping. What is swapping? Can swapping permit an application requiring 16M memory to run on a machine with 8M of RAM?
Date posted:
April 26, 2022
-
List and describe the four memory allocation algorithms covered in lectures. Which two of the four are more commonly used in practice?
Date posted:
April 26, 2022
-
Describe the difference between external and internal fragmentation. Indicate which of
the two are most likely to be an issues on a) a simple memory memory management machine
using base limit registers and static partitioning, and b) a similar machine using dynamic
partitioning.
Date posted:
April 26, 2022
-
Why might filesystems managing external storage devices do write-through caching (avoid buffering writes) even though there is a detrimental affect on performance
Date posted:
April 26, 2022
-
What does flushd do on a UNIX system?
Date posted:
April 26, 2022
-
What is the maximum file size supported by a file system with 16 direct blocks, single,
double, and triple indirection? The block size is 512 bytes. Disk block numbers can be stored
in 4 bytes.
Date posted:
April 26, 2022
-
The board of directors of Rand Mills Limited have requested you to prepare a statement showing the working capital requirements for a level of activity of 30,000 units of output for the year.
The cost structure for the company's product for the above mentioned activity level is given below:
Additional information:
1. Past experience indicates that raw materials are held in stock on average for 2 months.
2. Work in progress (100% complete in regard to materials and 50% for labour and overheads) will
be half a month's production.
3. Finished goods are in stock on average for 1 month.
4. Credit allowed to suppliers is 1 month.
5. Credit allowed to debtors is 2 months.
6. A minimum cash balance of Sh.250, 000 is expected to be maintained.
Required:
Prepare a statement of working capital requirements.
Date posted:
April 26, 2022
-
Why might the direct blocks be stored in the inode itself?
Date posted:
April 26, 2022
-
How can the block count in an in order differ from the (file size / block size) rounded up to
the nearest integer. Can the block count be greater, smaller, or both
Date posted:
April 26, 2022
-
Compare bitmap-based allocation of blocks on disk with a free block list
Date posted:
April 26, 2022
-
What file allocation strategy is most appropriate for random access files?
Date posted:
April 26, 2022
-
What file access pattern is particularly suited to chained file allocation on disk?
Date posted:
April 26, 2022
-
Give an example where contiguous allocation of file blocks on disks can be used in practice
Date posted:
April 26, 2022
-
Wanga Ltd. maintains a minimum cash balance of Sh. 1,500,000. The standard deviation of the daily cash is Sh.800, 000. The annual interest rate is 12%. The transaction cost of buying and selling of marketable securities is Sh.200 per transaction. Assume
that one year has 365 days.
Required:
Using the Miller-Orr cash management model, determine:
i) The return point.
ii) Average cash balance.
iii) The upper cash limit.
Date posted:
April 26, 2022
-
Discuss the conflicts that might arise among the objectives of working capital management.
Date posted:
April 26, 2022
-
Give a scenario where choosing a large filesystem block size might be a benefit; give an
example where it might be a hindrance
Date posted:
April 26, 2022
-
Give an example of a scenario that might benefit from a file system supporting an append-only access write
Date posted:
April 26, 2022
-
Filesystems can support sparse files, what does this mean? Give an example of an
application's file organisation that might benefit from a file system's sparse file support
Date posted:
April 26, 2022
-
Describe the general strategy behind deadlock prevention, and give an example of a practical deadlock prevention method
Date posted:
April 26, 2022
-
What must the banker's algorithm know a priori in order to prevent deadlock?
Date posted:
April 26, 2022
-
What are the four conditions required for deadlock to occur?
Date posted:
April 26, 2022
-
What is deadlock? What is starvation? How do they differ from each other?
Date posted:
April 26, 2022
-
What are monitors and condition variables?
Date posted:
April 26, 2022
-
Describe how to implement a lock using semaphores
Date posted:
April 26, 2022
-
A semaphore is a blocking synchronisation primitive. Describe how they work with the
aid of pseudo-code. You can assume the existance of a thread_block() and a thread_wakeup()
function
Date posted:
April 26, 2022
-
What is the producer consumer problem? Give an example of its occurrence in operating systems
Date posted:
April 26, 2022
-
Interrupt disabling and enabling is a common approach to implementing mutual exclusion,
what are its advantages and disadvantages?
Date posted:
April 26, 2022
-
Why is turn passing a poor solution to the critical sections problem?
Date posted:
April 26, 2022
-
What are three requirements of any solution to the critical sections problem? Why are the
requirements needed?
Date posted:
April 26, 2022