CST 370 - Week 1

 Hey everyone,

This week, we learned several important topics that form the foundation of computer science and programming. We started with GitHub and practiced using manual commands like git init, git add, git commit, and git push to manage our code. This helped us understand version control and how to keep track of changes when working on projects, especially when collaborating with others.

We were also introduced to algorithms and learned what they are—step-by-step methods for solving problems. One example we focused on was Euclid’s Algorithm for finding the greatest common divisor (GCD) of two numbers. It uses a simple but powerful idea: repeatedly replace the numbers with GCD(b, a % b) until the second number becomes zero. We also practiced writing pseudocode, which helped us plan out algorithms in plain language before coding. We also had a homework assignment to help us further understand GitHub commands.

Later in the week, we learned about graphs, both weighted and unweighted. These are useful for representing connections between things, like cities on a map or people in a network. We also went over common data structures including lists, stacks, queues, and trees. Each one works differently and is useful in different types of problems. Overall, this week gave me a better understanding of how to think like a programmer and organize data and logic clearly.

That is it for this week. I am excited for more coding and algorithms!

Comments

Popular posts from this blog

CST 334 - Week 6

CST 334 - Week 4

CST 363 - Week 5