Working in CSE-109

In CSE-109 Systems Software, we have been given programming assignments on a weekly basis; each one to practice what we’ve learned in lecture. We only have about 5 weeks of the semester left and we have been given 5 assignments. By the end of the semester, we are to have a total of 9 programs that will ultimately be working together and thus we’d have built a medium-sized program. The goal of all our programs is to create a sort of compiler that will handle some language that our Professor will devise.

The purpose of this course is to teach us about the C++ language and introduce us to the C language. Everything we have done thus far has been coded in C++. I would like to share some of work I have done recently.

Our last programming assignment was to create a Hash Table data structure to store String objects and integer data values. The String objects are of our own String class we created on our own in a previous assignment. We learned about how Hash Tables work and different methods of storing data in them. For our assignment we used a method called chaining to store our data. I understand that I am using a lot of jargon, but if you know computer programming or am looking to study it, then you know or will know it eventually.

But enough rambling, in the picture below – on the left is a driver file to test all the code and work I put in to make sure that my Hash Table works correctly. And on the right is the output of what the Hash Table looks like after everything is inserting (and it is correct since our professor showed us what to expect as output)






About luryan15

I am a senior Computer Science major at Lehigh University.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s