Skip to main content

CSt 338 - Week 2

This week involved learning about object-oriented programming, and writing a fun casino slot machine simulator for the weekly assignment. 

I thought the assignment was a good exercise in working with classes and objects, although personally if I had the freedom to completely change method signatures and control flow logic as I pleased I probably would've come up with a drastically different solution. Additionally, the software tester in me wrote a couple of unit tests for my own personal amusement that performed 20 - 40 spins randomly, along with random inputs of -10 to 100 as inputs. The unit tests worked fine as well as the manual inputs I used to test the program as well.

Object-oriented programming is great, but I have actually more experience working in languages that aren't based on object-oriented programming. My first programming language and class was C, and since then I've taken multiple classes in that language itself. I've written several basic programs in C and I've practiced working with pointers, allocating heap memory, and dereferencing pointers (which I've failed at many times as a beginner). Additionally, I've taken a class in an even lower level language, x86 assembly. I don't find x86 assembly in itself very difficult, but it is incredibly tedious even compared to something low level like C. My rule of thumb with x86 assembly is that "if it takes 2 lines of C code, it probably takes 8 in assembly." Additionally, I work around a couple of embedded systems developers who seem to know their registers and stack pointers like the back of their own hands. It's quite amazing to see them work with low level code sometimes.

The only experience I have with UML diagrams is reverse engineering them when working with schemas in MySQL workbench. Because I like to visualize things, I find them quite useful when working with complex projects or structures because it makes it easier to see how every piece fits together to make one or several end solutions work. 

Comments

Popular posts from this blog

CST 499 - Week 7

This week, our group finished recording and editing our capstone project video and prepared our presentation for the capstone festival. Although I wish the capstone festival was held in person (and it could not due to current circumstances), I am excited to show off our project and hard work to other computer science students, friends, and family. I hope they'll enjoy it and learn something cool while doing so. 

The Final Journal

It's the end of a long, four year journey, and what a journey it has been. I never thought I could pull off finishing my second bachelor's degree four years ago when I first went to that introduction to programming class at my community college. I would like to thank all the friends I've made along the way and the people who have helped me through the last two years. Although it was difficult at times taking class while working 40+ hours a week, I'm proud of myself for making it through. I don't think I'll be a student enrolled in classes anytime soon, but I'll always be a lifelong student. See you all around.

CST 499 - Week 3

This week, we finished our ILP portfolios and turned in the final versions of our resume and cover letter. My group also completed the first part of the capstone report. I'll admit that creating a portfolio showcasing my past work was not at the top of my priority list when I first started studying computer science, although at this point in my educational and professional career I've learned how important it is to have such a portfolio. Like other creative professions, having a solid body of work to show to a potential employer, or even for personal documentation is one of the best ways to display your talents as an engineer. Also, all the assignments I've completed during my academic career, both at CSUMB and elsewhere, have given me a good start to my portfolio. I tend to prefer classic, plain styling like  Brian Kernighan's  home page (he has a pretty nice portfolio too), although I've come to appreciate highly stylized portfolios that make use of WebKit ani...