Individual: Input Validation
Individual: Input Validation
Paper details:
Assignment Preparation: Activities in" rel="nofollow">include watchin" rel="nofollow">ing the Microsoft Virtual Academy developer train" rel="nofollow">inin" rel="nofollow">ing course modules, watchin" rel="nofollow">ing the Lynda.com video, in" rel="nofollow">independent student readin" rel="nofollow">ing, and research.
Watch Module 05, "Advanced C#, Type and Value Validation; Encryption Techniques," of the Microsoft Virtual Academy "Programmin" rel="nofollow">ing in" rel="nofollow">in C# Jump Start," developer train" rel="nofollow">inin" rel="nofollow">ing course.
Watch Module 06, "Splittin" rel="nofollow">ing Assemblies and Win" rel="nofollow">inMD; Diagnostics and Instrumentation," of the Microsoft Virtual Academy "Programmin" rel="nofollow">ing in" rel="nofollow">in C# Jump Start," developer train" rel="nofollow">inin" rel="nofollow">ing course.
Watch "Debuggin" rel="nofollow">ing," of the Lynda.com "C# Essential Train" rel="nofollow">inin" rel="nofollow">ing," video.
Assignment: Design, implement, test, and debug a C# program to demonstrate in" rel="nofollow">input validation usin" rel="nofollow">ing regular expressions. The program should contain" rel="nofollow">in in" rel="nofollow">input fields for a customer name, a part number, an order quantity, and a unit cost. It may contain" rel="nofollow">in other fields that you might see on a typical order entry form, if you like. Please note that the use of masked textboxes is not acceptable. The program should validate at least one type of data of your choice - you are free to choose a commonly used data format such as Social Security Number (999-99-9999), or phone number (999-999-9999), or a custom format that you design. The program should also validate the part number in" rel="nofollow">in the followin" rel="nofollow">ing format: an 8 digit prefix consistin" rel="nofollow">ing of capital letters or numbers followed by a dash followed by a two digit suffix that can only be zeroes or ones. Last the program should also perform a "sanity check" on one of the in" rel="nofollow">input fields. For in" rel="nofollow">instance, you could validate the order quantity to ensure it is not too large (such as greater than 500). This program must be a Win" rel="nofollow">indows Forms application. Be sure the in" rel="nofollow">interface is professional lookin" rel="nofollow">ing and in" rel="nofollow">intuitive to use for the novice end user.
Include identifyin" rel="nofollow">ing in" rel="nofollow">information in" rel="nofollow">in the form of block comments at the top of each class in" rel="nofollow">in the project (programmer name, date, program description). Include adequate comments throughout the program, utilize meanin" rel="nofollow">ingful names for controls, variables, fields, and forms. Include white space for readability purposes in" rel="nofollow">in the code. Refer to the Individual Assignment gradin" rel="nofollow">ing form to view gradin" rel="nofollow">ing criteria.
Materials
Individual: Usin" rel="nofollow">ing LINQ
Microsoft Virtual Academy
Access the Lynda.com videos
Individual Assignment Gradin" rel="nofollow">ing Form
Individual Assignment Gradin" rel="nofollow">ing Form
Functionality
70 Percent Percent Earned: Comments:
Desired in" rel="nofollow">input is gathered correctly
Desired outputs are generated and displayed properly
Accurate use of constructs and techniques outlin" rel="nofollow">ined in" rel="nofollow">in course materials
Program performs to requirements noted in" rel="nofollow">in syllabus
User in" rel="nofollow">interface is neat, logical, and easy to use
Mechanics and Format
20 Percent Percent Earned Comments:
General neatness
Use of in" rel="nofollow">indentation
Readability of code and usage of white space
Code is organized and easy to follow; use of classes and modules as applicable
Documentation
10 Percent Percent Earned Comments:
Identifyin" rel="nofollow">ing in" rel="nofollow">information is in" rel="nofollow">included
Adequate comments in" rel="nofollow">included throughout the code
Total 100
Percent