logo

Inventory System: Variables, Keys, Ranges, Operations, and Algorithm

Design an inventory system for a company dealing in household and food items, with around 300 household items and 200 food items, storing relevant information such as product type, name, price, manufacturer, and expiry.

14 Pages2766 Words86 Views
   

Added on  2022-11-13

About This Document

This article discusses the inventory system, including variables, keys, ranges, operations, and algorithm. It also covers the purpose of the system, such as meeting customer demand and protecting against supply shortages and delivery delays.

Inventory System: Variables, Keys, Ranges, Operations, and Algorithm

Design an inventory system for a company dealing in household and food items, with around 300 household items and 200 food items, storing relevant information such as product type, name, price, manufacturer, and expiry.

   Added on 2022-11-13

ShareRelated Documents
DATA STRUCTURE AND ALGORITHMS 1
Data Structure and Algorithms
By (Name)
Name of Class/Course
Professor Name
Name of School/University
City and State
Date
Inventory System: Variables, Keys, Ranges, Operations, and Algorithm_1
DATA STRUCTURE AND ALGORITHMS 2
Introduction
An inventory is a list which is complete containing items of different kinds giving
information more about them. Traditionally stock was kept in books manually, and this was
found to be tiresome, and with the advance of technology in this 21st century, systems have been
developed to assist storekeepers in keeping their records (Mountz, M.C., Enright, 2019) These
systems are known as inventory systems. These systems make the work easies because when
someone wants to search for an item in the store, he or she will search on the search tool
provided on the system and he or she finds the things by the name in the order.
These systems are designed such a way that they can notify the storekeeper when an item
is deleted from the store so that it can be stocked before the customers come looking for it in the
store only to find out that is not there. Businesses which have adopted this inventory system in
their operations they have found it profitable as the revenue of the company always grows
automatically because of no daily mistakes made as to the way human beings does in the store.
a)
Variables
Variable is a data type that is used mostly to store information in a program, and in this
inventory system, variables are used to capture data of the stock that is purchased within the
Inventory System: Variables, Keys, Ranges, Operations, and Algorithm_2
DATA STRUCTURE AND ALGORITHMS 3
company to enable the storekeeper to manage his or her stock nicely. The following variables
can be used in the full development of this system, Münster (A.H.M.B. and Haug, A., 2017).
Static variables.
These variables will be used to create the columns and the rows in the development of the
system. These rows and columns are not prone to small changes; that is why using static
variables in declaring them is very important. Columns can contain the name of the item, its
type, date purchased, and then the quantity received in the store on that day. The rows will
provide the list of all the items stocked in any day following the column description.
Automatic variable.
The compiler controls these variables in the whole time the system is running. They have
no side effect because the compiler monitors them. In the inventory system, these variables will
be updating the policy automatically. This reduces the work done by the storekeepers as the
system automatically updates itself after the data is inserted to the system. The system can update
the food items and the household's items automatically.
Keys
Inventory System: Variables, Keys, Ranges, Operations, and Algorithm_3
DATA STRUCTURE AND ALGORITHMS 4
These are the keywords used in a programming language, and most keywords are shared
from one programming language to another. The keywords can either be commands or just
parameters. These keywords will help in the development to assist in arranging items in the
store, and for example, the food items will be put in a different category with the household
items. In C programming, some keywords like 'if,' 'return' and 'while are mostly used when
developing an inventory management system. If a keyword is used to set a condition which must
be satisfied for the program to continue. For example, when one logging in an inventory
management system, one has to satisfy by providing the correct username and the password
registered to access the system otherwise he or she will not be able to access the system.
Ranges
The range is the interval from one bound to another in an array. For this inventory
system, fields are significant as will enable the programmers to know where the goods will start
being arranged to the last part. If there are shelves in the store, the system can know which
shelves contain which food items and the household item also.
b)
The inventory system is supposed to support the following operations to meet the need of the
user who in this case, is the storekeeper.
Inventory System: Variables, Keys, Ranges, Operations, and Algorithm_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Data Structure Assignment 2022
|11
|2330
|17

Data Structure and Algorithms Australia Report 2022
|17
|2852
|12

structures and algorithms Analysis 2022
|9
|2461
|42

Inventory Control System
|10
|2146
|168

Data Structure and Algorithm for Inventory Systems
|17
|3245
|422

Analysis and Design of Inventory System using Objects and Queue Data Structure
|8
|2329
|53