This week, I gained practical experience with SQL and JDBC in Java by building a program that connects to a MySQL database. I learned how to set up and manage database connections, use prepared statements to insert and retrieve data, and handle transactions effectively by committing or rolling back changes when necessary. I also got better at managing exceptions and ensuring that resources like connections are closed to avoid memory leaks. Beyond the technical aspects this week highlighted the value of teamwork. My group and I worked together to divide the tasks, each of us focused on different parts of the code. This approach made the whole process much more efficient and organized. It not only helped us complete the project faster but also improved the quality of our work. Collaborating like this really showed me how important good planning and communication are when working on a team.
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