Level 3 Develop software using C# ( )

Similar documents
Level 3 ICT systems and network management ( )

Level 3 ICT systems and network management ( )

Level 3 Develop software using Java (7266/ )

Level 3 Install, configure and integrate networked hardware and software ( )

Level 3 ICT systems and network management ( )

How To Write A Computer System Design Assignment

Level 3 Designing and creating advanced websites ( )

Level 2 Designing and creating multi-page websites ( )

Level 3 Customer support provision for the IT professional ( / )

Level 3 Software testing ( )

Start IT (itq) Data management software ( )

Level 3 Network management and security ( )

Level 1 Desktop publishing software (DTP )

Level 1 Fundamentals of computing systems and customer care (7266/ )

Level 3 Spreadsheet software (SS )

Level 1 Producing simple spreadsheets (7266/ )

Level 3 Project management software (PM )

Level 2 Networking, telephony and VoIP for the digital home technology integrator ( ) December 2011

Level 2 Desktop publishing software (DTP )

Level 1 Using a Computer Keyboard ( )

Level 2 Project Management Software ( )

Level 3 Project management software (PM )

Level 2 Personal Information Management Software ( )

Level 1 Data management software (DMS )

Level 2 Using collaborative technologies (UCT )

Level 3 Data management software (DMS )

Level 2 Data management software (DMS )

e-quals Unit Syllabus Level 2 Designing and creating multi-page websites March 2007 Version 1.

Level 2/3 Certificate in Principles of Business and Administration (4475)

Level 3 Certificate in assessing candidates using a range of methods (7317)

Entry 3 Award, Certificate and Diploma in Employability and Personal Development (7546) Candidate logbook

Systems and Principles Unit Syllabus

Level 5 Certificate/Diploma in Primary Care and Health Management ( /06)

Level 2 Certificate in Warehousing and Storage Skills (QCF)

Level 1 Award, Certificate and Diploma in Creative Techniques [7111] Level 1 2D units

Level 2 NVQ in Warehousing and Storage (1009)

English Skills (3847) Portfolio development workpacks

Level 4 Diploma in Hospitality Management ( )

Level 3 Diploma in Health and Social Care (Adults) for England ( )

Unit Syllabus. Level 2 Digital Home Technology Integrator November 2008 Version 1.0

Level 3 NVQ Certificate in Installing and Commissioning Air Conditioning and Heat Pump Systems ( )

Level 2 Certificate in Accounting ( )

Level 1/2/3 Award in Business Finance (8990)

Levels 1 & 2 in Cleaning and Support Services Skills (QCF)

Level 2 Certificate in International Trade and Logistics Operations ( )

QUALIFICATION HANDBOOK

Level 2 Diploma in Health and Social Care (Adults) for England ( )

Rules of Combination Handbook for Business Administration

Level 1 Award in ICT Systems Support ( )

QUALIFICATION HANDBOOK

English for Business Communications (8959) Marking Guide for Tutors

Level 3 Certificate in Community Justice ( )

Level 3 Certificate in Fitting Protective Horse Rider Equipment (BETA 10) Qualification handbook Version 2 September 2011

Level 2 NVQ Diploma in Maintenance Operations (Construction) ( ) July 2013 Version 2.0

Foundation Award in Management Principles

Level 4 NVQ in Sales (6770)

The City Foundation Course ILM Level 5 Certificate in Leading with Integrity

Level 3 Advanced Diploma for IT Professionals ( and FL3E)

Level 2 NVQ Certificate in Pharmacy Service Skills (QCF) ( )

Level 2 and 3 Award/Certificate/Diploma in Business Administration/Support ( /03/12/13/22/23)

Functional Skills ICT Subject Specification and Tutor/ Assessor Guide September 2015 Version 2.0

Level 3 IVQs in Teaching, Training and Assessing Learning (1106)

Certificate and Diplomas in ICT Professional Competence ( /02/03/04)

Level 3 Awards/Diplomas in Beauty Therapy (3003) Qualification handbook for centres

(2377) V H N IO T A IC IF L A U Q

Set objectives and provide support for team members (B5) OCR Unit Number: 3

Level 2 Diploma for Software developers ( )

QUALIFICATION HANDBOOK

Level 5 Diploma in Leadership for Children s Care, Learning and Development (Advanced Practice) Wales and Northern Ireland ( /97)

Functional Skills Mathematics Level 2 sample assessment

Higher Level Qualifications Level 7 Master Professional Diploma in Strategy and Development (Education & Training) 4445

Level 2 IVQ Diploma in Training Skills ( )

Certificate/Diploma in Vocational Paralegal Studies Level 2/3

Level 3 NVQ Certificate/Diploma in Business and Administration ( /93)

Level 2 NVQ in Refrigeration and Air Conditioning

Level 2 NVQ Award/Certificate/Diploma in Business and Administration ( /92)

Awards, Certificates and Diplomas in Employability and Personal Development (7546) Level 1 Unit handbook for centres

Level 3-4 NVQ in Lighting for Film and Television

Level 3 Diploma for Children s Care, Learning and Development ( ) (Wales and Northern Ireland)

Level 2/3 Award/Certificate/Diploma in Medical Administration (5519)

Level 3 Certificate in Printing and Graphic Communications (5261)

Level 2 and 3 Diploma in Business Support ( /13)

Level 3 Advanced Diploma in ICT Systems Support ( )

Level 4 Diploma in Management Practice and Advanced Techniques in the Hair and Beauty Sector (5450)

National Certificate in Business Administration and Computing (Level 2) Level 2

Configuring and Using the SIMS Home Page

Level 1 Qualification in Photo Imaging (7512) Qualification handbook

Level 3 Certificate in the Certification of Electrical Installations (Design, Erection and Verification of Electrical Installations) ( )

QUALIFICATION HANDBOOK

Functional Skills ICT in-app Assessment guidance

Audio Transcription (8952) Shorthand Speed (8980) Typewriting (8972)

Level 2 Certificate/Diploma in Medical Administration Communication Skills in a Medical Environment

Systems and Principles Unit Syllabus

ILM Guide to the External Quality Assurance Policy for Centre and Providers. V April 2013

/03/04 Level 2/3/4 Diploma in Business Administration. August 2014 Version 1.4 (August 2015)

nail art the service. It also covers

epen Marker User Guide

Level 5 NVQ in Occupational Health and Safety Practice (3644) Candidate logbook

Level 2 Diploma in Health and Social Care (Adults) for Wales and Northern Ireland ( )

Word processing software

Transcription:

Level 3 Develop software using C# (7266-308) e-quals Assignment guide for Candidates Assignment C www.cityandguilds.com/e-quals07 March 2008 Version 1.0

About City & Guilds City & Guilds is the UK s leading provider of vocational qualifications, offering over 500 awards across a wide range of industries, and progressing from entry level to the highest levels of professional achievement. With over 8500 centres in 100 countries, City & Guilds is recognised by employers worldwide for providing qualifications that offer proof of the skills they need to get the job done. City & Guilds Group The City & Guilds Group includes City & Guilds, ILM (the Institute of Leadership & Management) which provides management qualifications, learning materials and membership services, NPTC which offers land-based qualifications and membership services, and HAB (the Hospitality Awarding Body). City & Guilds also manages the Engineering Council Examinations on behalf of the Engineering Council. Equal opportunities City & Guilds fully supports the principle of equal opportunities and we are committed to satisfying this principle in all our activities and published material. A copy of our equal opportunities policy statement is available on the City & Guilds website. Copyright The content of this document is, unless otherwise indicated, The City and Guilds of London Institute 2007 and may not be copied, reproduced or distributed without prior written consent. However, approved City & Guilds centres and learners studying for City & Guilds qualifications may photocopy this document free of charge and/or include a locked PDF version of it on centre intranets on the following conditions: centre staff may copy the material only for the purpose of teaching learners working towards a City & Guilds qualification, or for internal administration purposes learners may copy the material only for their own use when working towards a City & Guilds qualification The Standard Copying Conditions on the City & Guilds website also apply. Please note: National Occupational Standards are not The City and Guilds of London Institute. Please check the conditions upon which they may be copied with the relevant Sector Skills Council. Publications City & Guilds publications are available on the City & Guilds website or from our Publications Sales department at the address below or by telephoning +44 (0)20 7294 2850 or faxing +44 (0)20 7294 3387. Every effort has been made to ensure that the information contained in this publication is true and correct at the time of going to press. However, City & Guilds products and services are subject to continuous development and improvement and the right is reserved to change products and services from time to time. City & Guilds cannot accept liability for loss or damage arising from the use of information in this publication. City & Guilds 1 Giltspur Street London EC1A 9DD T +44 (0)20 7294 2800 F +44 (0)20 7294 2400 www.cityandguilds.com learnersupport@cityandguilds.com

Contents Level 3 Develop software using C# (7266-308) Assignment C Introduction Information for Candidates 2 Candidate instructions 3 Level 3 Develop software using C# (7266-308) 1

Level 3 Develop software using C# (7266-308) Assignment C Introduction Information for Candidates About this document This assignment comprises part of the assessment for Level 3 Develop software using C# (7266-308). Health and safety You are asked to consider the importance of safe working practices at all times. You are responsible for maintaining the safety of others as well as your own. Anyone behaving in an unsafe fashion will be stopped and a suitable warning given. You will not be allowed to continue with an assignment if you compromise any of the Health and Safety requirements. This may seem rather strict but, apart from the potentially unpleasant consequences, you must acquire the habits required for the workplace. Time allowance The recommended time allowance for this assignment is 4 hours. 2 Level 3 Develop software using C# (7266-308)

Level 3 Develop software using C# (7266-308) Candidate instructions Candidates are advised to read all instructions carefully before starting work and to check with your assessor, if necessary, to ensure that you have fully understood what is required. Time allowance: 4 hours Assignment set up: This assignment is made up of two tasks Task A - Design and create software from a given design specification Task B - Test and document the software Scenario You work as a programmer for Prime Software who develops software for clients. You have been asked to design, create and test the software to access an external database. The interface to the database must enable the user to do the following: display individual records add a new record delete a record edit a record update a record print all records cancel amendments for a record. A database already exists named Product containing a table tblspice which contains details of spices. The table tblspice contains the following fields: Field Name Data Type Field Length RefNo (Primary Key) Numeric Description Text 30 Quantity (grams) Numeric Available Logical (Yes/No) Price Currency, 2 decimal places Level 3 Develop software using C# (7266-308) 3

Task A In this task you are required to design and create software to access an external database (Product) with a single table via a database connection and a data form. Copy the database file(s) that you have been given into the same directory as your project. Make a backup copy of the file(s) in another directory. 1 Save the project at regular intervals as you work through the task. Save the form file as frmspices and the Project as ProductDatabase. 2 frmspices Create a data form that shows a single record to appear similar to the form shown above and includes: a label for the heading Spices in bold with a different font, a larger font size and in a dark blue colour five controls and associated labels to display the data for the record controls to move to the first, previous, next and last record six buttons for Add, Delete, Update, Cancel, Print and Exit setting the background to a suitable colour the data input controls receiving focus in an appropriate order. 3 Set the Text property of the form frmspices to: Task A your name and today's date 4 Make a connection to the database Product using suitable parameters. 4 Level 3 Develop software using C# (7266-308)

5 Make sure that the formats and alignment of the displayed fields are as shown in frmspices. 6 Set up the program so that when the form frmspices is loaded the dataset is loaded automatically and the data for the first record is displayed in the controls. 7 Write code for the Add, Delete and Update buttons. 8 Write code for the Cancel button to cancel any amendments for the current record. 9 Write code for the controls to move to the first, previous, next and last records. 10 Insert the code required to handle errors for database access which prevents run-time errors. 11 Write code for the Exit button to terminate the program. 12 Write code to validate the RefNo field. This field should consist of 6 digits and be a valid modulus 10 number (see Appendix A). Output an error message if the reference number is not a valid modulus 10 number or is not 6 digits. 13 Write code for the Print button to print out all the records in the database with the fields RefNo, Description, Quantity, Available, Price with a layout similar to that shown below where 9 indicates a digit and X indicates an alphanumeric character. Note the field Available should be printed as either Yes or No. Spices Page 99 Date 99/99/9999 Ref No Description Quantity Available Price 999999 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9999 XXX 9.99 999999 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9999 XXX 9.99 999999 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9999 XXX 9.99 999999 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9999 XXX 9.99 Level 3 Develop software using C# (7266-308) 5

Task B In this task you are required to test and document the software created. 1 Create test data to test the Add, Delete, Update, Cancel and Print buttons on the frmspices form. 2 Prepare a test plan, test the software, compare the actual results to the expected results keeping a log for each test which identifies any discrepancies between actual and expected results and records any amendments to correct errors. 3 Locate the EXE file and run the executable file to demonstrate the software. 4 Print a program listing and a screen print of the form frmspices. Candidates should check that the program produced meets the following requirements: 5 The program must conform to the design specification. 6 The program uses the most appropriate controls and events. 7 Meaningful names are used for constants, variables, objects, forms and controls using consistent naming convention. Note Candidates should produce the following for their assessor: a printed program listing screen print of the form frmspices test data, test plan, expected results, actual results (including printed output), and log of testing Ensure that your name is on all documentation If the assignment is taken over more than one period, all paperwork must be returned to the test supervisor at the end of each sitting. 6 Level 3 Develop software using C# (7266-308)

Appendix A Modulus 10 check A modulus 10 check is carried out as follows: Multiply each digit in the reference number e.g. 277542, starting at the right, by the number 1, then 2, then 3 etc. Multiply by 6 5 4 3 2 1 Reference number 2 7 7 5 4 2 Result 12 35 28 15 8 2 The result of each multiplication is added together. 12 + 35 + 28 + 15 + 8 + 2 = 100 The result of the addition is then divided by the modulus (10). 100 divided by 10 = 10 remainder 0 If the remainder from the division is 0 the reference number is a valid modulus 10 number otherwise the reference number is not a valid modulus 10 number. The remainder is 0 so the reference number 277542 is a valid modulus 10 number. Level 3 Develop software using C# (7266-308) 7

Published by City & Guilds 1 Giltspur Street London EC1A 9DD T +44 (0)20 7294 2468 F +44 (0)20 7294 2400 www.cityandguilds.com City & Guilds is a registered charity established to promote education and training 8 Level 3 Develop software using C# (7266-308)