$25
Non-programming exercises:
Write in a neat and legible handwriting
Clearly explain the reasoning process
Write in a complete style (subject, verb and object) Progamming exercises:
Write a README file for each program
Upload an archive with all the programs onto Canvas
Ex. 1 — Revisions
Explain the difference between the stack and the heap.
Ex. 2 — Personal research
Briefly explain what operations are performed when a computer is powered on. What is the role of the BIOS and how does it interact with the OS?
In a few words explain what are hybrid and exo kernels.
Ex. 3 — Course application
Which of the following instructions should only be allowed in kernel mode? Explain.Disable all interrupts c) Set the time-of-day clock
Read the time-of-day clock d) Change the memory map
Consider a system that has two CPUs and each CPU is composed of two threads. Suppose three programs, P0, P1, and P2, are started with run times of 5, 10 and 20 ms, respectively. How long will it take to complete the execution of these programs? Assume that all three programs are 100% CPU bound, do not block during execution, and do not change CPUs once assigned.
Ex. 4 — Simple problem
One reason GUIs were initially slow to be adopted was the cost of the hardware needed to support them. How much video RAM is needed to support a 25 lines by 80 rows character monochrome text screen? How much for a 1024 x 768 pixel 24-bit color bitmap? Assuming the cost of this RAM in the 1980es was $5/KB what was the price of those two solutions? How much is it now?
Ex. 5 — Command lines on a Unix system On Minix3 use the command line to:
Create a new user
List all the currently running processes
Display the characteristics of the CPU and the available memory
Redirect some random output into two different files
Concatenate the two previous files
Read the content of the resulting file as hexdecimal values (in other words find a command to read a file as hexadecimal values)
Use a single command to find all the files in /usr/src with the word semaphore in their name and containing the word ddekit_sem_down
Note: follow the “programming exercises” guidelines and save the list of commands in a shell file (.sh).