Posts

CST 363 - Week 4

 Hey everyone! As I reach the halfway point in my database course, I've gained valuable insights into the world of databases. Here are five key things I’ve learned so far: 1. Database Fundamentals Understanding the basics of databases has been crucial. I've learned about the differences between relational and non-relational databases and how data is structured within them. This foundational knowledge has set the stage for deeper exploration into database management.  2. SQL Queries One of the most practical skills I've developed is writing SQL queries. From manipulating data with commands like SELECT, INSERT, UPDATE, and DELETE to filtering and sorting data, mastering SQL has empowered me to interact with databases effectively. 3. Normalization Exploring the principles of database normalization has been enlightening. I now understand how to organize data efficiently, eliminate redundancy, and improve data integrity, all of which are essential for maintaining a robust databa...

CST 363 - Week 3

 Hey everyone! We are now done with our third week of CST 363! It is so fun but also very challenging. We had an exam this week. We also were introduced to heap database and bitmaps. It was very confusing and took me a while to understand it. To answer this weeks questions, I reflected on two important questions regarding SQL. 1. What is an SQL view? How is it similar to a table? How is it different?        An SQL view is a virtual table that results from a query. It's similar to a table in that it can be queried and used in SELECT statements, but unlike a table, it doesn't store data itself—it's based on underlying tables. Views don't have primary keys, and while they allow us to retrieve data, their use in INSERT, UPDATE, and DELETE operations is more limited. Depending on the database, some views are updatable, but generally, if a view contains complex joins or aggregations, direct modifications aren't allowed. 2. How does SQL compare to other programming lan...

CST 363 - Week 2

 Hey everyone!      We are back with an update of this online journey. This has been a fun week. We learned so many new things. I find SQL easier to grasp onto, compared to other coding languages. It just seems very similar to our normal English language.       This week, we learned different types of joins, aggregation, and views. The labs really helped understand the concepts, after reading about them in Zybooks, and listening to Professor's lectures. The homework assignment seemed to go smoother as well, because of the practice we got in the lab assignments.   1.  SQL has the flexibility to join tables on any column(s) using any predicate (=, >, < ). Most of the time the join will use equality between a primary and foreign key. Think of example where joining on something other than keys would be needed. Write the query both as an English sentence and in SQL. If you can't think of your own example, search the textbook...

CST 363 - Week 1

 Hey everyone, I am back after a long break!      This week was the first week of  a new course, Database designs. We came across a new language, SQL, and I must say, it was so much fun! Through Zybooks, we learned the basics. Professor's orientation video really helped to understand the concepts.  Key Differences Between Databases and Spreadsheets      To answer the questions, when starting to delve into data management, you might notice that relational database tables and spreadsheets look quite similar at first glance. Both structures organize data into rows and columns, which can make it easy to assume that they function in the same way. However, as you explore further, you'll discover that there are significant differences between the two.      While spreadsheets are great for simple data tracking and analysis, they lack robust mechanisms for maintaining data integrity. Relational databases, on the other hand, are designed...

CST 338 - Week 7 and 8

 Hey everyone, I know it has been a while. There is so much that has happened. It is the last week of class, which means the workload has doubled! We started our Project 2, where we can design an app of our choice as a team. It is pretty cool.  If I were to look back at HW1, which is the Histogram, I think it would turn out better. We learned so much over these 8 weeks! I would definitely be more comfortable with UML diagrams, so that is what I would start with. I would first write down all the methods, then go through them one by one, based off of their description. I am more comfortable with the debug function in IntelliJ so I would use that to help me debug my code.  Thinking about my victories in this class, I definitely have quite a few. To start with, I know how to code in Java, which was a completely new language to be before this class. I am also confident in intent factories, extending and implementing abstract classes, and using IntelliJ and Android Studio. I le...

CST 338 - Week 5

 Hey everyone! Here is an update on my week. We did two major things: started planning to build our own app and coding a text generation program called Markov.java. We then reviewed our MArkov.java with our classmates. Here are some analysis questions. Who did you work with? I worked with my classmate, Adan Valadez.  2.  What was your strategy for solving the Markov assignment? I first started writing the methods according to the UML diagram provided. Then I created two branches, and divided the methods into both those branches. I started to work through my methods one by one, debugging when needed. 3.  What was THEIR strategy for solving the Markov assignment Adan first wrote all the methods without any context. Then he followed the instructions and completed each methos. He tested the methods when possible as well. Finally, he debugged the code where needed and completed the program.  4.  How would you change your strategy having worked on the assignment?...

CST 338 - Week 4

 Hey everyone! We did quite a few things. We finished our project 1! I reviewed my project with my classmate, Adan Valadez.  What was your strategy for solving the assignments? I tried to take it small steps at a time. It was too overwhelming to do everything at once, so I broke it up and did it part by part. I would start by watching Professor's lab videos for a guided start. What was THEIR strategy for solving the assignments Adan's strategy was pretty similar to mine. He would make sure to look at the lectures and slides provided by Professor so that it would be easier to work on the project. How would you change your strategy having worked on the assignment? I think I would try to go to office hours if possible to get help to debug. I would also try to work beforehand so I am not too pushed for time. According to your classmate(s): how well does your code follow the Google Java Guidelines? Adan's code is pretty well organized. It is well-formatted, with some minor err...