VB.net [Group Assignment]

Download VB.net [Group Assignment]

Post on 27-Jun-2015

119 views

Category:

Documents

2 download

Embed Size (px)

DESCRIPTION

Module and Code Names of members: :Visual Basic.NET Praveena Sarathchandra(CB003403) Pulasthi Perera (CB003472) Aritha Hettiaratchi (CB003516)Intake Title:Diploma in Computing and ITIntake Code Submitted to: :DF0931ICT Ms. Nadeera AhangamaDate Assigned Date Due: :11th August 2009 29th September 20091|PageCriteria (Maximum 5 marks awarded for each criteria)Score Excellent Good Adequate (3) Poor (2) Very poor (1 or 0)(5) (4) ANALISIS AND DESIGN Screen Report and Data

TRANSCRIPT

<p>Module and Code Names of members</p> <p>: :</p> <p>Visual Basic.NET Praveena Sarathchandra(CB003403) Pulasthi Perera (CB003472) Aritha Hettiaratchi (CB003516)</p> <p>Intake Title</p> <p>:</p> <p>Diploma in Computing and IT</p> <p>Intake Code Submitted to</p> <p>: :</p> <p>DF0931ICT Ms. Nadeera Ahangama</p> <p>Date Assigned Date Due</p> <p>: :</p> <p>11th August 2009 29th September 2009</p> <p>1|Page</p> <p>Criteria (Maximum 5 marks awarded for each criteria)</p> <p>Score Excellent Good Adequate (3) Poor (2) Very poor (1 or 0)</p> <p>(5) (4) ANALISIS AND DESIGN Screen Report and Database Design Flowchart or Pseudo code (Accuracy and Correctness) CODING Naming Conventions and Meaningful variables Indentation and remarks DOCUMENTATION Content and Completeness Quality of presentation Weekly Reports (On time and quality content) Introduction, Project Description and Conclusion Testing (Testing plan and results) RUNNING PROGRAM Functional Quality and Validations System Interface Reports generation *5= Total *4=</p> <p>*3=</p> <p>*2=</p> <p>*1=</p> <p>Group Marks (60)</p> <p>Remarks:</p> <p>2|Page</p> <p>Lectures Use Only Individual Student Marks (Total 40 Marks) PresentationCriteria **Presentation abilities **Clarity of Explanation Skills and Knowledge Ability to Answer Questions Total</p> <p>Name Praveena Pulasthi Aritha</p> <p>10</p> <p>10</p> <p>10</p> <p>10</p> <p>40</p> <p>**Clarity of Explanation</p> <p>Understanding of the project requirement Description / justification Analyzing the problem (6)</p> <p>4 3 3 3 3 2 2</p> <p>[ [ [ [ [ [ [</p> <p>] ] ] ] ] ] ]</p> <p>**Presentation abilities</p> <p>Confidence Pronunciations Eye contacts Language</p> <p>Total Marks (100) Name: _________/ 60 + _________/ 40 = _________/ 100 Name: _________/ 60 + _________/ 40 = _________/ 100 Name: _________/ 60 + _________/ 40 = _________/ 100 Remarks: 3|Page</p> <p>Table of ContentsAcknowledgement ......................................................................................................... 5 Introduction ................................................................................................................... 6 Project Description .................................................................................................... 7 1.1 Functionality of the project............................................................................... 7 Hardware Software Specifications ............................................................................. 8 2.0 Data Flow Diagrams ................................................................................................ 9 2.1 Context Diagram .................................................................................................. 9 2.2 Level 0 ............................................................................................................... 10 2.3 Level 1 ............................................................................................................... 11 3.0 Sample Output ....................................................................................................... 12 4.0 Database Design .................................................................................................... 15 4.1 Entity Relationship diagram ............................................................................... 15 4.2 Table design .......................................................................................................... 16 4.21 Customer Table ................................................................................................ 16 4.22 VCD Table ....................................................................................................... 16 4.23 VCD Rental Table ............................................................................................ 17 5.24 VCD Return Table ........................................................................................... 17 5.0 Testing ................................................................................................................... 19 6.0 Limitation .............................................................................................................. 24 7.0 Further Development ............................................................................................. 25 Conclusion .................................................................................................................. 26 Appendix ..................................................................................................................... 27 Gantt Chat ............................................................................................................... 27 Minutes of Mandatory Meetings .............................................................................. 28 Agreed Work Percentage ......................................................................................... 31 4|Page</p> <p>Acknowledgement</p> <p>We would like to thank our lecturer Ms. Nadeera Ahangama, without her continuous guidance and assistance we wouldnt have been able to get anywhere close to what we have done in this project. She also made it through her very busy schedule just to help us with our problems that we faced while developing this program and for that we are very thankful to her. Also, our gratitude goes to APIIT Lanka (PVT) Ltd for providing the necessary library facilities which we used a lot to complete this project and also the computer laboratories. Finally we would extend our thankfulness to our batch mates of DF0931ICT for their help with even the smallest problems that we encountered while working on this project. Last but not least we are indeed grateful to all our friends stood by us helping in various ways.</p> <p>5|Page</p> <p>IntroductionOur assignment topic was to develop software for a VCD rental shop, where the entire system is computerized to allow burrowing, returning modifying, updating and many other new features which accommodate with regard to this kind of system. We developed this project by using the software Visual Basic. NET for the coding and also the designing of the interface, this was aided with the software Microsoft SQL Server where we used this as our database to store and retrieve the data from. The system is designed so that it will appear first with a splash screen, also known as a welcome screen, which then moves on to a login screen where the username and the password has to be entered in order to differentiate between the operator, administrator and the customer. This is done so that these different users have restricted access to the system. A customer has the privileges only to view: y To view his or her details and the VCDs that are available at the rental store</p> <p>The operator has the access to the following items: y The customer details and also the VCD details in order to operate the transactions taking place in the rental store. In addition to the above items, of both the customer and the operator, the administrator has the privileges to the following: y The administrator has all the writes, when we take a look at all the other two groups. The administrator has the privileges to add, delete and modify customers details and the VCD details.</p> <p>6|Page</p> <p>Project Description</p> <p>1.1 Functionality of the project This is a system that is developed for a VCD rental shop that keeps track of the VCDs that are being rented, the customers that borrow the VCDs and the transactions that take place. This system is handled by the shop keeper, who is the operator in our case. The administrator is the head of this business and has all the privileges that are provided with the software. Like the deletion of customer details, modifications and also addition of new customers, these can only be done by the administrator. The operator has access to all the details of the customers and also the VCD details but doesnt have the privilege to change any of the information. The customer also has been given an interface to deal with, where the customer has only the privilege of viewing details such as his or her account details or search for the available VCDs available at the store. These three categories are being differentiated when it comes to the login screen where the administrator has to enter their unique username and password and they will be taken to the administrator form. If the username and password matches that of the operator then the operator form will be displayed, and if the customer enters his or her username and password the customer form will be displayed. The fine and all the dates of when the customer joined and when a VCD was borrowed has been programmed to be auto generated so that the user wouldnt make any mistakes and the chance of errors will also reduce, which means that the program will be having a good error handling system. The fine will be added if the user has rented the VCD for more than three days.</p> <p>7|Page</p> <p>Hardware Software SpecificationsMinimum Requirements Processor Personal computer with a Pentium 2 class processor,450 Megahertz(MHz) Operating System Windows XP Professional Windows Vista Windows Seven</p> <p>y y y</p> <p>Memory</p> <p>y</p> <p>Windows XP Professional, 160 megabytes (MB) of RAM.</p> <p>y y y y Hard Disk</p> <p>Windows 2000 Professional, 96 MB of RAM Windows 2000 Server, 192 MB of RAM Windows NT 4.0 Workstation, 64 MB of RAM Windows NT 4.0 Server, 160 MB of RAM</p> <p>500 MB on system drive, 2.0 gigabytes (GB) on installation drive.</p> <p>Drive Display</p> <p>CD-ROM or DVD-ROM drive. Super VGA (800*600) or higher resolution monitor with 256 colors.</p> <p>Mouse</p> <p>Microsoft mouse or compatible pointing device.</p> <p>8|Page</p> <p>2.0 Data Flow Diagrams</p> <p>2.1 Context Diagram</p> <p>Fine Details</p> <p>Damages, Late return Return</p> <p>Customer</p> <p>Customer Details</p> <p>Membership Request</p> <p>Confermation</p> <p>Customer ID</p> <p>Rent Items Return Details &amp; Rules</p> <p>Extreme Video Center</p> <p>Fine Details</p> <p>Add new customer &amp; New ID Rent Items Return Details &amp; Return Rules Repoarts Add stock Details Return accept Damage, late return Details</p> <p>Operator</p> <p>Administrator</p> <p>9|Page</p> <p>2.2 Level 0</p> <p>10 | P a g e</p> <p>2.3 Level 1</p> <p>11 | P a g e</p> <p>3.0 Sample OutputLogin Screen</p> <p>Welcome Screen</p> <p>12 | P a g e</p> <p>Authentication</p> <p>User Details</p> <p>13 | P a g e</p> <p>Borrowed Items</p> <p>14 | P a g e</p> <p>4.0 Database Design</p> <p>4.1 Entity Relationship diagram</p> <p>15 | P a g e</p> <p>Users</p> <p>Field Name Customer-ID Name IC Number Address Gender DOB Age</p> <p>Data Type Auto Number(Primary Key) Text Text Text Text Date Numeric</p> <p>4.2 Table designField Name Data Type</p> <p>4.21 Custo</p> <p>mer Table</p> <p>4.22 VCD Table16 | P a g e</p> <p>Customer-ID Name Field Name IC Number VCD-ID Address Customer-ID Gender Rented Date DOB Status Age</p> <p>Auto Number(Primary Key) Text Data Type Text Numeric Text Numeric Text Date Date Boolean(IN\OUT) Numeric</p> <p>Field Name</p> <p>Data Type</p> <p>4.23 VCD Rental Table</p> <p>5.24 VCD Return Table</p> <p>17 | P a g e</p> <p>VCD-ID Customer-ID Rented Date Status</p> <p>Numeric Numeric Date Boolean(IN\OUT)</p> <p>18 | P a g e</p> <p>5.0 TestingUser ID/Customer ID: Test: Numbers will be auto generated. Result: Entry of any characters is restricted. Only numbers should be accepted.</p> <p>Name: Test: Enter names into the textbox. Result: Alphabets should be allowed</p> <p>IC / Passport No: Test: Enter Alphabets and numbers. Result: Both types should be accepted.</p> <p>Address: Test: Enter Alphabets and numbers Result: Both should be accepted.</p> <p>19 | P a g e</p> <p>Gender: Test: Select the radio buttons. Result: Both selections should be accepted.</p> <p>Date of birth: Test: Select Alphabets and numbers Result: Date of Birth should be according to the data time picker.</p> <p>Login: Test: Enter alphabets in the text box. Result: Only numbers should be accepted. And there should be admin rights</p> <p>Username: Test: Entering Alphabets and numbers Result: Both should be accepted.</p> <p>Password: Test: Entering Alphabets and numbers Result: Both should be accepted.</p> <p>20 | P a g e</p> <p>Item id: Test: Enter numbers in the text box. Result: List the item details</p> <p>Rented date: Test: Alphabets and numbers are acceptable. System date should be rented date. Auto generates it. Result: Numbers are according to the date time picker. Auto generates it.</p> <p>Return date: Test: alphabets and numbers are acceptable. Auto generated date. Result: Numbers according to the data time piker. Auto generates using system date.</p> <p>Fine: Test: Auto generated fine, by calculating late days. Result: Only numbers should be accepted.</p> <p>Bill: Test: Auto generated bill according to the amount of fine. Result: Alphabets and numbers should be accepted. Print the all details. Ex: customer id, item id and amount of fine. 21 | P a g e</p> <p>Amount paid: Test: Enter amount. It should be number. Result: Only numbers should be accepted.</p> <p>VCD id Test: Entering alphabets and numbers in the text box. Result: Entry should be limited. Only Administrator should be accepted.</p> <p>Title Test: Entering Alphabets and numbers Result: Both should be accepted.</p> <p>Producer Test: Entering Alphabets and numbers Result: Both should be accepted.</p> <p>Year Test: Entering Alphabets and numbers Result: Numbers according to the data format should be accepted.</p> <p>22 | P a g e</p> <p>Category Test: Select the category in combo box. Result: All selections should be accepted.</p> <p>Stock Test: Entering Alphabets and numbers Result: Only numbers should be accepted.</p> <p>Available copies Test: Entering Alphabets and numbers Result: Only numbers should be accepted.</p> <p>23 | P a g e</p> <p>6.0 Limitationy When compiled to an .exe format the program would not run on Mac machines since they use a different operating system when compared to the normal windows operating system. y The password that is given when the person registers to the system has to be used and cannot be changed.</p> <p>24 | P a g e</p> <p>7.0 Further DevelopmentThe further developments that we would like to have added were mainly the new features, which are like: y Uploading of images and trailers of a particular movie that has been recently added. y The system should have the option of generating reports as graphs so that it would be easier to understand and also more user friendly rather than having only to look at lists of data. y Allow the user, operator or the administrator to change their password since they are given one and they have to keep on using that. y Provide a help function so that it would be easier to get help at that moment instead of asking the operator help.</p> <p>25 | P a g e</p> <p>ConclusionVisual Basic.NET is user friendly software whose abilities were clearly seen in our project. It gave us a hand on experience about the software, what it is used for and how it can be applied to a day to day situation. The project which was carried out with the purpose of designing a computerized system for a VCD rental shop, developing it and implementing it successfully was the main objective of this whole process. This documentation was a guide to all the readers, the viewers who are interested in using the system for evaluating the project or trying to get an idea how to carry out the...</p>