CS371P Spring 2021: Samantha Tuapen

Samantha Tuapen
3 min readFeb 27, 2021

Hi all, this is my sixth blog post for CS 371P: Object Oriented Programming

What did you do this past week?

With classes back in session, I had to get back in the routine of studying, working on assignments, and attending lectures. I also began work on the Voting project with my partner and we figured out I/O, the algorithm, and got the HackerRank tests to pass.

What’s in your way?

Currently, nothing is in my way. Thankfully, all my professors have adjusted their curriculums well to account for the week lost by the storm, so I’m not as worried about deadlines as I originally thought.

What will you do next week?

I will continue to work with my partner to implement an optimization for our Voting algorithm and hopefully submit it early so we don’t have to worry about it anymore.

What was your experience of Voting and consts?

I wasn’t familiar with this system of voting until working on this project and I found the thought process pretty interesting and fun. Making classes for Voting, Ballot, and Candidate definitely helped me solve the problem and write clean code.

As for consts, I wasn’t aware of the various flavors of const pointers. The lecture we had on Friday was very eye opening, but I definitely need to keep playing around with those so I can solidify my understanding of them.

How did you fare in the storm?

We didn’t have power for almost 80 hours straight, so the mornings and nights were freezing in our house. Thankfully, our close family friend and neighbor just down the street still had their power and let us stay in their living room during the afternoons to warm up and charge our devices. However, on the second day of going to their house, one of their pipes burst so we helped quickly shut off their pipes and clean their floors. The process went by pretty fast once my dad brought over our water vacuum…I didn’t even know we had one of those but it definitely came in handy that day :D

Since the power was out at our house that week, so was our wifi (and our cellular data wasn’t working well either). There wasn’t much to do in the evenings except eat dinner then sleep, so I ended up getting lots of sleep that week because I would go to bed early and sleep in as late as possible so I wouldn’t have to think about the cold!

What made you happy this week?

Having power ❤

What’s your pick-of-the-week or tip-of-the-week?

If you haven’t started on the Voting project yet, I recommend following the same file formats as the Collatz project. The makefile is also easily transferrable to this project, just remember to change the file names appropriately!

That’s it for my blog post this week! Thanks for reading and I hope those in Texas are recovering well from that crazy storm

--

--