




























































































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!





























































































“Algorithm can be defined as a sequence of steps to be carried out for a required output from a certain given input” (https://www.edrawsoft.com, 2020). Algorithm is used in many areas. It is used to represents in flowchart forms for visual understanding. Algorithm is well defined computational procedure that takes some values as an input and gives some value as an output. Every algorithm must satisfy the following condition:- Features of algorithm “ The main purpose of algorithm is to get a specific output. Algorithm breaks a problem in small tasks and solve the problem step by step. Algorithm stops after a finite number of instruction are executed. It is independent of other programming codes. Algorithm receives input and after completing the whole process it provide an output. It should provide at least one output. ” Advantages of algorithm “ Algorithm represents step by step solution of problem which makes easy to understand. The main advantages of algorithm is, it is very easy to understand for every person because it is not dependent to any programming languages. It is also very easy to debug because all the steps of algorithm has its own logical sequence. It makes easier for programmer to convert an algorithm into actual program. ” Disadvantages of algorithm “ Writing an algorithm consume lots of time. It is difficult to show branching and looping in algorithm. It is difficult to put big task put in algorithm. An algorithm is not a computer program, it is rather a concept of how a program should be. ”
Example
Software Development Life Cycle is a process used by software industry to design, develop and test high quality software. The SDLC aims to produce high quality software that meets customer expectations, reaches completions within times and cost estimates. The software development life cycle is a framework defining tasks performed at each step in the software development process. There are various software development cycle models which are followed by the developers during software development process. These models are also called software development process models. Each models follows series of steps. Some important models of SDLC are:- ” Water fall model “ Water fall model was the first model to be introduced and it is very simple model of SDLC. This model is very easy to understand and use. This model is the earliest model used for software development. In the water fall model the whole process is divided into separate phase and each phase must be completed before next phase begins. There is no overlapping in the phases. This model is also called linear sequential life cycle model because the process is illustrated in linear sequential flow.”
Implementation In this phase the system is first developed in small programs call units. Each developed units must tested for its function. Therefor these units are tested in testing phase. Integration and Testing In this phase all the units and small programs which are developed in implementation phase were tested. After testing the units are integrated into system. These phase helps to analyze the faults of developed system. Deployment of system After testing, if all the results is positive then the system is ready to release into the market. Maintenance At last if there were some issue come up in the system then such issue is fix in this maintenance phase. For maintenance patches released also better version of the system are released. And finally delivered in the customer environment. Advantages of Waterfall model This model is very easy and simple to understand and use. It is also easy to manage due to rigidity of the model. In the model phase are begin after completing the previous phase which help to protect from phase overlapping. This model is old model so it is only applicable for small project. Disadvantages of waterfall model This model is not good for develop complex project. There is high amount of risk and uncertainty. This model is not suitable for the projects where requirements of the project is changing and also poor model for long and ongoing project. Once the application reach in testing phase then it is difficult to go back phase and change something.
The set of process and programming tools which are used to develop program or software is called development environment. It is also called physical environment. An integrated development environment is one of the type of development environment which provide facilities to the developers for writing codes, testing it and packaging it for use. Microsoft’s visual studio.net is an example of IDE product. Other example of development environment are Eclipse, NetBeans, Glade, Adobe Flex
Builder, etc. Computer assisted software environment is also called development environment but generally it is used to describe the tools of software development project. In order to develop an application for library management system W have used visual studio.net instead of other IDE because it has lot of functionalities and also saves lot of time. In Visual studio it is easy to debug. We can easily set break point and run code line by line. Visual studio provides code shortcut facility that means if we write con then it automatically writes Console.WriteLine ( ). Visual studio also provide code auto completion that means we can easily browse the methods and attributes of class.
“A programming language is a formal computer language or constructed language design to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs to control the behavior of a machine or to express an algorithms” (https://coderseye.com/, n.d.). There are thousands of programming languages and some common programming languages are C and C++, java, JavaScript, Visual Basic, PHP, SQL, and XML. To develop an application for library management system we have used C# language because it has high memory backup which protect from memory leakage problems and also protect form other problems that occur in the case of C++ language.
Platform environment is a computing environment in which software or application executed. Platform is a group of technologies on which software, application are developed. It is a basic hardware (computer) and software (operating system) on which application can be run. To run machine language code computers are designed by using specific central processing units. In order to run software application, it should be in CPUs binary coded machine language. An application program developed for one platform would not work on other platform. For example a modern laptop is running on windows operation system, An Apple computer is running on the Mac OS X operating system. We have used windows operating system platform environment to run our code during developing an application for library management system. Because windows OS is easy to operate and the computer in libraries have windows operating system. Windows operating system is also easy to install and configure. Windows operating system is user friendly and our library management system can easily run on this system.
1 Student Id Int Not Null Unique id of student Primary key First Name Varchar Not null Store First Name of student Last Name Varchar Not null Store Last Name of student Address Varchar Not null Store address of student Default Phone Number Varchar Unique Store phone number of student Birthdate Date Store birthdate of student Class varchar Store class of student Gender Char Not null Store gender of student point Decimal Store points of student 2 Author Id Intfd Not null Unique id of author Primary key First Name Varchar Not null Store first name of author Last Name Varchar Not null Store last name of student 3 Book id Int Not null Unique id of Book Primary Key Name Varchar Not null Store name of book Page count Varchar Store page count of book Point Decimal Store points of book AuthorId Foreign key Primary key of author BookTypeId Foreign key Primary key of bookType 4 BookType Id Int Not null Unique Id of BookType Primary key Type Varchar Not null Store type of book. 5 Borrow Id Int Not null Unique id of Borrow Primary key Studentid Foreign key Primary key of student table Bookid Foreign key Primary key of student table Takendate Date Store taken date Broughtdate Date Store Brought date 6 User Id Id Not null Unique id of user
Primary key First Name Varchar Not null Store first name of user Last Name Varchar Not null Store last name of user Gender Char Store gender name of user Username Varchar Not null Store username of user Email Varchar Not null Store email of user Password Varbinary Not null Store password of user IsAdmin Bit Not null
Algorithm is the set of instructions for solving the problem. When instructions are followed, it must eventually stop with answer. A flow chart is a pictorial representation of an algorithm. It is a tool for analyzing a system which represents the flows of operations through process by dividing the process into events or activities and representing the logical relationship between then. Symbols used in flow chart Symbols Name Functions Start/End Represents the beginning and the end of flow chart. Process Represents the arithmetic operations to be compute a value
Algorithm for Login
Flow chart for Login Dashboard It is the main interface of application. In dashboard there are different options in the menu strip. And the user can choose option according to their need. Algorithm of Dashboard
Flow chart of save Update For update the data, user should double click on the row of grid view and the data populated on textboxes. Then user should edit the data and click on update data. If the data are entered correctly then data update successfully. If not then an error message shows.
Algorithm of update Step 1:- start program. Step 2:- Double click on the row of grid view. Step 3:- Data populated on the textboxes and edit the data. Step 4:- Click update button. Step 5:- Validation check. (If the validation is false, error message shows and returns to step 3 else go step 6). Step 6:- Data updated successful. Step 7:- End program. Flow chart of update