Posts

WK4: CST438 - Software Engineering

  WK04: Weekly Reflection This week was very heavy on programming. We started with a group planning meeting, where we discussed how to organize the development process, distribute responsibilities, and coordinate our work on the project. We also started using GitHub Projects to manage our tasks following the Agile development approach. It was interesting to put the concepts we discussed last week into practice. Using a project board makes it easier to see which tasks are in progress, which ones are waiting for review, and which have been completed. After the planning meeting, most   of our time was dedicated to Assignment 2, where we needed to implement the REST backend for our group project. The assignment required us to complete five controllers, and I was responsible for two of them, which included eight endpoints in total. Although implementing the controllers took some time, it was almost nothing compared to the amount of work required to write unit tests for them. T...

WK3: CST438 - Software Engineering

  WK03: Weekly Reflection This week, we focused on software testing, its importance in software development, and using Git and GitHub for version control and collaboration. I was already familiar with Git in general, although I do not use all the features it offers. It was useful to review Git commands, branching, merging, and pull requests. At my work, we do not really use branches and pull requests as part of our regular development process, but I feel comfortable with these concepts and appreciate the additional opportunity to practice them. One of the new things for me was GitHub Projects and how it can be used to organize teamwork following the Agile development process. I found it interesting how GitHub combines version control, project management, and collaboration tools in one place. I think these features will be particularly useful for our upcoming group project. The most interesting topic this week was Test Driven Development (TDD), especially the reading from Chapter 11...

WK2: CST438 - Software Engineering

WK02: Weekly Reflection This week, we focused on developing the frontend of our customer order application using React. After working with Java and Spring Boot to create the backend in previous labs, it was interesting to see how the frontend connects to the REST API. The material reminded me of what we learned about Express in the Internet Programming course (CST336). Many concepts and approaches felt familiar, especially routing, handling HTTP requests, and working with JavaScript. The syntax and some implementation details are different, but the overall approach to building a web application is very similar. One of the main topics this week was React components and hooks. We learned how to divide an application into reusable components and use hooks such as useState, useEffect, and useRef. I found useState particularly useful because it allows React to automatically update the interface when data changes. We also used React Router to organize the application into multiple pages with...

WK1: CST438 - Software Engineering

WK01: Weekly Reflection Before starting this course, I expected Software Engineering to focus mainly on the process of developing software, including project planning, software design, testing, and teamwork. I thought we would learn about development methodologies such as Agile, how to organize projects, and how to write clean and maintainable code. I also expected some practical programming assignments, but I assumed the course would focus more on the organizational aspects of software development than on coding itself. After completing the first week, my understanding of software engineering has become broader. The first chapter of Software Engineering at Google helped me better understand the difference between programming and software engineering. Programming is about writing code to solve a particular problem, while software engineering also considers how software will be maintained and modified over time. I found the discussion about time, scale, and trade-offs particularly inter...

Week 66: CST370 - Design and Analysis of Algorithms

WK07: Weekly Reflection This week's module focused on dynamic programming, Warshall's algorithm, Floyd's algorithm, greedy techniques, and Prim's algorithm. These topics helped me understand ways to solve optimization and graph problems. One topic that stood out was dynamic programming. I learned that it works by breaking a problem into smaller overlapping subproblems and reusing previously calculated results instead of solving the same problem again. The Coin-Row problem helped me understand this idea because the goal is to choose coins with the greatest total value without selecting adjacent coins. I also practiced the Coin-Collecting problem, where values are calculated step by step across a grid to find the maximum number of coins that can be collected. Another important topic was Warshall's algorithm. I learned that it is used to find the transitive closure of a directed graph. It shows whether a path exists from one vertex to another, even when there is no di...

Week 65: CST370 - Design and Analysis of Algorithms

 WK06: Weekly Reflection This week's module focused on AVL trees, 2-3 trees, heaps and Heapsort, and hashing. These topics helped me understand how different data structures maintain organization and efficiency when storing, searching, inserting, and removing data. I also learned how balancing, restructuring, and choosing an appropriate storage method can improve the performance of algorithms. One topic that stood out to me was the AVL tree. I learned that an AVL tree is a self-balancing binary search tree in which the heights of the left and right subtrees must remain balanced. The balance factor of each node is calculated by comparing the heights of its subtrees. When the balance factor becomes too large or too small, rotations are used to restore the tree’s balance. The exercises helped me practice identifying whether a binary search tree was also an AVL tree. The AVL tree operations were especially useful because they showed how rotations maintain efficient performance. I learn...

Week 64: CST370 - Design and Analysis of Algorithms

  WK05: Weekly Reflection This week's module focused on Quick Sort, binary tree traversal and height calculation, decrease-and-conquer algorithms, topological sorting, and transform-and-conquer through pre-sorting. These topics helped me understand how different algorithm design techniques can simplify problems and improve efficiency. One topic that stood out to me was Quick Sort. I learned that Quick Sort is based on the divide-and-conquer technique. It selects a pivot, partitions the remaining elements into smaller and larger groups, and then recursively sorts those groups. The median-of-three partitioning method was also useful because it showed how choosing a better pivot can improve the performance of the algorithm. The exercises helped me understand how partitioning works step by step and why pivot selection can affect efficiency. The binary tree materials were also helpful. I learned about different traversal methods, including preorder, inorder, and postorder traversal. Eac...