Computer Science BS Journal (CST370) : Week 1
This journal entry marks the first week completion of my CST370 class. I'm going to be honest, this looks like it will be a tough one. This week we covered a variety of topics in the lectures ranging from and introduction to algorithms, some pseudocode examples, important problem types (sorting and searching, graphs), fundamental data structures, algorithm analysis frameworks, and some puzzle problems. It was a lot to cover in a week one but I believe that it was all necessary for us to learn/review ASAP. I really liked learning about the weighted coin puzzle. It was a basic puzzle but it teaches you how you can narrow down a fake among a group of things, that logic can be applied to many different scenarios.
After learning about the coin puzzle I immediately thought of a similar puzzle with light bulbs and switches where you trying and find out which switch turns on the light in another room(3 switches 1 light bulb). Where you try to find the switch that activates the bulb in the least amount of guesses (You can get it in one guess guaranteed). To solve that puzzle you first flip switch A and wait a few minutes then switch it off, then flip switch B. You go check the light. If it's on then switch B is your answer, if its off then you go to the light and place your hand near the bulb and if its hot then you know switch A had the bulb on for some time and your answer is A, and if it's cold to the touch then you know switch C is the answer. A bit of a rant but I thought I'd share that puzzle because I like the logic behind deducing the answer.
Over all this week was pretty smooth, aside from the amount of content I had to read and learn, and I look forward to what's coming with this class. I really believe this class will give my brain a good workout and get it spinning like it used to. I think I'll start attending office hours this semester so I can get some easy credit for the class engagements and learn a bit from the TA or Professor about solving some problems that are to come. I usually try and solve them on my own the best I can before seeking help but this time around I think I'll get help early so I can understand the logic of some of these puzzles/algorithms.
Comments
Post a Comment