Skip to content

This repository contains all of the labs and assignments that I have completed as part of my Data Structures class at the University of Cincinnati.

License

Notifications You must be signed in to change notification settings

bipalgoyal/Data-Structure-and-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data-Structure-and-Algorithms

This repository contains all of the labs and assignments that I have completed as part of my Data Structures class at the University of Cincinnati. All labs were done in pairs, my partner was Mr. Simon Fiest.

Lab 1: Arrays and Structures

A simple lab where we familiarize ourselves with the IDE, and practice using structures and arrays.

Lab 2: Classes and Multi-File Programs

In this lab, we create a console based basketball game, and implement it by defining a custom class for our player.

Lab 3: Classes and Operator Overloading

We create a class for complex numbers and overload some operators for performing arithmetic operations on complex numbers.

Lab 4: Inheritance, Polymorphism, and Abstract classes

In this lab, we practice the concepts by creating base and derived classes, and test them in a main program.

Lab 5: Templates and Exceptions

For this lab, we create classes that are templates and also create some custom exceptions for our classes. Data structure implemented is a simple stack.

Lab 6: Stacks and Queues

In this assignment, we created two data structures, stack and queue and implemented those data structures to implement a solution for a problem. Now, it is very true that we don’t have to create these data structures ourselves outside this class. However, it is very important as programmers to learn how these data structures actually work, and creating a simple implementation of the same structure helps a lot in achieving that goal. So, I believe that it is very important and helpful for CS programmers such as ourselves

Homework 1: Files

In this assignment, we practiced with reading data from files, and then displaying said data, and storing some new data in a new file.

Homework 2: Classes

In this assignment, we created a console based roulette game, using multiple classes.

About

This repository contains all of the labs and assignments that I have completed as part of my Data Structures class at the University of Cincinnati.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages