Starting my journey in CST334 Operating systems. This week I focused on learning the basics of shell scripting in Linux using Ubuntu in VirtualBox. I learned essential commands like ls, wc, and whoami to gather and display system information within a script. Through this process I learned how to handle user input and use conditional statements to control the program flow. I also practiced using loops to repeat calculations, specifically finding the area of a rectangle and a circle based on user input. I ran into an issue of extended decimal places which in turn pushed me to learn formatted outputs with specific 2 place decimal places. This practice deepened my understanding of Unix command-line tools, scripting logic, and how to create interactive programs using bash.
This week I focused a lot on understanding time complexity and recursive analysis. It was challenging at first to figure out how to break down recursive functions and write the correct recurrence relations. Applying the Master Theorem was especially tough because I had to carefully identify each part of the formula and decide which case applied. I also spent time reviewing the difference between Big O, Big Omega, and Big Theta, which helped me better understand how to describe the efficiency of an algorithm. These concepts took time to click but working through examples really helped.
Comments
Post a Comment