Operating Systems & Architecture Flashcards

1
Q

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?

A

See “Modern Operating Systems”, chapter 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two main ways to solve the case of which the actual memory is not enough to store one or more processes?

A

See “Modern Operating Systems”, chapter 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which method was implemented in the 60s to solve the problem of programs being bigger than memories?

A

See “Modern Operating Systems”, chapter 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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?

A

https://medium.com/@StueyGK/static-libraries-vs-dynamic-libraries-af78f0b5f1e4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are interrupts?

Can you explain interrupts (exceptions) in the ARM architecture?

A

https://www.youtube.com/watch?v=Wfau1WC5m4c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a static function in C and why it is used?

A

Check something online

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is IPC and how semaphore is used for this?

A

Check online

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the dynamic linker work in Linux?

A

https://opensource.com/article/20/6/linux-libraries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Differences between CISC and RISC architecture?

A

https://www.geeksforgeeks.org/computer-organization-risc-and-cisc/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly