Skip to content

Using C++, data structures and algorithms are created to simulate a hardware store's inventory operations.

License

Notifications You must be signed in to change notification settings

orbulant/Hardware-Store-DAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardware-Store-DAS

A Command-Line Interface Hardware Store Inventory and Transaction System that utilizes data structure and algorithm

This assignment was graded an A (GPA 3.7) by Asia Pacific University lecturers. A+ was not given due to the fact that we did not utilize other forms of data structures such as Trees, Graphs etc.

Sample Screenshots

  1. Generics usage by having a Generic Node Type
    Generic Node Type

  2. Sample QuickSort Partition Algorithm
    Sample QuickSort Partition Algorithm

Test Cases

Product

  • check if product list can be successfully read
  • check if product list can be successfully write

Add

  • check input validation
  • check input cancellation
  • check if successfully added new product node

Update

  • check input validation
  • check input cancellation
  • check input skip
  • check if successfully updated new product node

Delete

  • check input validation
  • check successful deletion
  • check add after delete item (by first, middle, last)

Search

  • check input validation
  • check valid search
  • check non-valid search

Display All

  • check if properly display if no items
  • check if properly display after add, update and delete

Filter

Sort

Destructor

  • check if product linked list exits properly

Purchase

  • check if purchase list can be successfully read
  • check if purchase list can be successfully write

Add

  • check input validation
  • check input cancellation
  • check if successfully added new purchase node

Display All

  • check if properly display if no items
  • check if properly display after add, update and delete

Sort

Search

  • check input validation
  • check valid search
  • check non-valid search

Destructor

  • check if purchase linked list exits properly

About

Using C++, data structures and algorithms are created to simulate a hardware store's inventory operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages