logo

Data Structure Assignment 2022

   

Added on  2022-10-11

11 Pages2330 Words17 Views
DATA STRUCTURE 1
Data Structure and Algorithms
By (Name)
Name of Class/Course
Professor Name
Name of School/University
City and State
Date

DATA STRUCTURE 2
Introduction
An inventory refers to a complete list of items and the all the related information about the items.
From before, stock was kept manually through the help of books, but this was found to be
extremely strenuous and inefficient and that’s why with the advancement of technology new
systems were created to automate the process and are known as inventory systems (Mountz,
M.C., Enright, 2019). They have so many advantages as compared to the manual systems such as
accuracy, speed and efficiency. For example, when searching for a particular item, one just needs
to enter the code or the name and the results are returned immediately.
Inventory systems give a shopkeeper a big control over the stock and puts them in a better
position to avoid surprises like running out of a product without notice. The way they are
designed, they allow the business owner to monitor the amount of stock and get notified when
the levels drop too low. Inventory systems are very advantageous when it comes to revenue
growth due to the automation of most processes and elimination of human errors.
a)
Variables

DATA STRUCTURE 3
Variable are data types used in information storage in programs. For the case of inventory
systems, variables are useful in capturing stock’s data to enable proper and efficient stock
management. Inventory management system uses the following variables (A.H.M.B. and Haug,
A., 2017).
Static variables.
They are varied use in creation of columns and rows when developing the system. The main
reason why static variables are used is because the columns and rows remain unchanged for long
period of time and therefore the need to use variables that don’t change quickly (Axsäter, 1990).
Columns are used to store basic information such as the name of the item, type, date of purchase,
and then the quantity received in the store on that day. The rows are then used to store the rest of
the information.
Automatic variable.
The variables are the ones used by compiler controls when the system is running. Since they are
usually monitored by the compiler control, they don’t have a lot of side effect. In the inventory
system, they are used for the automatic updating of policy (Kuti, 2008). They greatly help
shopkeepers in automatic update of details.

DATA STRUCTURE 4
Keys
They refer to the keywords that programmers use in the various languages of programming.
Most programming languages actually share keywords. They can take various forms for example
they can be used as parameters or as commands. In this system, they are very useful especially
during arrangement to determine different categories where the products will be placed. When
using C language to develop the inventory management system, 'if,' 'while”, and 'return' are
very common keywords especially when a certain condition has to be met before a program
proceeds to the next step (Smith and Agrawal, 2000). For instance, if one needs to log in to the
system, he/she will be required to provide the correct username and passwords otherwise they
will be denied access.
Ranges
Range is used to refer to the interval between bounds in arrays. For this kind of system system,
programmers take a very great care about fields as they are a very critical component used in
various instances like for example in the arrangement of goods. The system can help in
determining which goods to go to which shelf as well as for household goods too.

End of preview

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

Related Documents
Inventory System: Variables, Keys, Ranges, Operations, and Algorithm
|14
|2766
|86

Object Orineted Programming Structure Assignment
|9
|1165
|19

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

Research on Object Oriented Language
|2
|647
|530

Database Management System
|17
|2003
|258

Four Seasons Greenhouse and Nursery: Information Technology Impact on Small-Medium sized Enterprises
|9
|2107
|436