Tuesday, March 11, 2025

CST334 - Week 1

I learned the fundamental concepts of operating systems, including their purpose, structure, and key functionalities. An operating system acts as both an abstraction layer (shielding hardware from users) and a resource manager (optimizing and protecting system resources). It operates in two modes: Kernel Mode, which has full access to hardware, and User Mode, which restricts direct hardware access for security reasons. I also explored system calls and traps, which allow user programs to request OS services by switching from user mode to kernel mode.

I also studied different operating system models, such as the Monolithic Model (where all OS functions are in a single kernel), the Client-Server Model (which separates OS services into smaller processes), and the Microkernel Model (which keeps the kernel minimal and moves most services to user space). Also, I reviewed the Von Neumann architecture, which describes how a CPU executes instructions using buses to communicate with memory. A key challenge in this design is the Von Neumann bottleneck, where the CPU is much faster than memory access, slowing down performance. Caching is a common solution to this problem. Lastly, we covered number base conversions (binary, decimal, hexadecimal) and practiced writing simple Bash scripts and C programs, reinforcing my understanding of how system software is developed and compiled.

No comments:

Post a Comment

CST 334 - Week 8

I spent most of my time reviewing the materials to get ready for the final exam. The final covers two big topics, concurrency and persistenc...