Operating Systems & Architecture Flashcards
In Linux, we use virtual address.So each process will think it has 4 GB memory space even if the real memory is only 2GB. Now suppose we do not have MMU and programmer use real physical address in their program.
We only have small size of physical memory.
How can we design the system?
How to ensure that we have both protection and relocation?
See “Modern Operating Systems”, chapter 3.
What are the two main ways to solve the case of which the actual memory is not enough to store one or more processes?
See “Modern Operating Systems”, chapter 3.
Which method was implemented in the 60s to solve the problem of programs being bigger than memories?
See “Modern Operating Systems”, chapter 3.
Difference between static and dynamic library?
What’s the downside of using a static library compared to a dynamic library?
What are possible downsides of using a dynamic library instead?
https://medium.com/@StueyGK/static-libraries-vs-dynamic-libraries-af78f0b5f1e4
What are interrupts?
Can you explain interrupts (exceptions) in the ARM architecture?
https://www.youtube.com/watch?v=Wfau1WC5m4c
What is a static function in C and why it is used?
Check something online
What is IPC and how semaphore is used for this?
Check online
How does the dynamic linker work in Linux?
https://opensource.com/article/20/6/linux-libraries
Differences between CISC and RISC architecture?
https://www.geeksforgeeks.org/computer-organization-risc-and-cisc/