




























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































Provide the definition of what an algorithm is and outline the process in building an application. Introduction Definition of algorithm: According to (Rouse, n.d.) An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem, based on conducting a sequence of specified actions. A computer program can be viewed as an elaborate algorithm. In mathematics and computer science, an algorithm usually means a small procedure that solves a recurrent problem. Algorithm are widely used in all sectors of information and technology (IT) for data processing, calculation and other related operations. Also, it is used to manipulate data in various ways. Features of algorithm The basic features of algorithm are listed below:
Flowchart. SDLC (Software Development Life Cycle). SDLC is a process used by the software industry to design, develop and test high quality software. It is also called as software development process. In software industry development team follow SDLC structure. It is used to check/verify the software whether it is error free or not. It consists of a detailed plan describing how to develop, maintain and replace specific software. The life cycle defines a methodology for improving the quality of software and the overall development process. Following are the most important SDLC model found in software industry:
As per the scenario, I have used waterfall model because it is used mainly in software development in software industry where developer gets an enhanced option of using waterfall model. Waterfall model: Waterfall model is also known as classic life cycle model. In waterfall model each phase most be complete in order to start/begin the next phases and there is no overlapping of phases. Waterfall model is a linear-sequential life cycle model where the progress is seen as flowing towards downwards like a waterfall. Following are the phases of waterfall model. Requirements: It is the first phases of waterfall model in which developer most understand or define what most be design of software and how does the function and purpose of design actually work, should be defined in requirements phases. In requirements phase’s inputs and outputs of the software are studied and marked/plain the software development. System design: In system design the first phases of requirement specification are studied and then the system design of software is prepared. Mainly system design helps in specifying the hardware and the system requirement and helps to define the overall system structure or architecture. Then the structured code to be written in next phases/stage is created now. Implementation: In implementation phases the system design is studied and the inputs from system design, codes are first implemented in small programing called units. Which are going to be integrated in next stages. Then each unit are developed and tested for its functionality known as unit testing. Here in implementation source code, database, user documentation is tested. Integration and testing: In integration and testing the units developed in implementation phases are integrated in system after testing each unit. Then the software design needs to go through constant software testing in order verify that the units of codes are free of error or any flaws. Testing part is done to provide the client/users application free of error or bugs. Deployment of system: After the completion of each functional and non-functional testing of software is done, then the product is deployed over the customer environment or released into the market.
3.Data Dictionary of Supplier table: Column Name Datatype Length Is Primary Key? Is Foreign Key? Allow null? Remarks SupplierID int Yes No No Supplier Name Varchar 50 No No Yes Address Varchar 50 No No Yes Phone Int No No Yes Remarks Varchar 50 No No Yes
6 .Data Dictionary of PurchaseDetails table: Column Name Datatype Length Is Primary Key? Is Foreign Key? Allow null? Remarks PurchaseID int Yes No No ProductID int No No Yes PurchaseDate int No Yes Yes Quantity date No No Yes 7 .Data Dictionary of Sales Details table: Column Name Datatype Length Is Primary Key? Is Foreign Key? Allow null? Remarks PurchaseID int Yes No No ProductID int No No Yes PurchaseDate int No Yes Yes Quantity date No No Yes Algorithm of inventory management/ warehouse: Login form: Step 1: Start the program Step 2: Enter the User Name and password. Step 3: Click login button Step 4 : Verify whether the entered UserName and password are valid? Step 5 : If true, enter into the system and if false, then show the entered username and password is incorrect. Step 6 : Enter the username and password again. Step 7 : stop
Programing paradigms: In simple terms programing paradigms can be said as finding a way or style for programing. Programing paradigms is also known as programing style, programing culture, programing technique. Programing paradigms is a way of classifying of programs with their function and features. “A Paradigm can be thought of as a philosophical or theoretical framework. This framework is then used as the basis of a new way of viewing problems.” (zeus, 2016). For example, it can be function to function calling. Programing paradigms which are used commonly are listed below.
the problem using function. Due to high maintainability of code, pop is known as structural programing language. FORTRAN, Pascal, C, Basic are some of procedural oriented program. Characteristic of procedural oriented programing (POP):
If Else statements: If we want to choose between two alternative we use the if else statement. It is also known as doubled blocked conditional statement. Example: Nested If Else statement: When an if else statement is present inside the body of another “if” or “else” then this is called nested if else.
Example: If Else If statements: The else-if ladder statement is used to execute one code from multiple conditions. If any condition is true then it execute given set of statements and exits whole if- else ladder. If the condition is false then it will go to the next condition and execute the program. Example: Control structures: In program the main work of control structures is determine the order of program in which statements is executed along with the base of parameters.” A control structure is a block of programming that
Array: An array is a collection of variables of the same data type accessed by indexing. Each item in an array is called an element. All elements in an array are referenced by the name of the array and are stored in a set of consecutive memory slots. Example of Array: There are two types of array they are listed below: Single dimensional array Double dimensional array Array list: Array list is a chaining process of data in one location. It is one of the strongest arrays. It stores as header file in the program and it is mainly used as reference data for programing. It has included memory plank which allow to stored difference data as the information in single location. The main issue of array list is fixed in length so addition of element is less if it is full. So, if the element is removed then also it occupies the space, because it does not gradually shrink Array List Example:
Structure: Structure are the program with single name where data are included by more variables with different data types. Structure helps solve the various complex data and organize the data in very meaning full way. Struct is the keyword which helps to explain/create the structure. These are the elements which must be added while initializing structure variables while compiling data. Defined column must end with semi colon