Level 2 Create software components using C++ (7266/ ) November 2008 Version 2.0

Similar documents
Level 3 ICT systems and network management ( )

Level 3 ICT systems and network management ( )

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

Level 3 Develop software using Java (7266/ )

Level 3 ICT systems and network management ( )

How To Write A Computer System Design Assignment

Level 3 Network management and security ( )

Level 3 Designing and creating advanced websites ( )

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

Level 2 Designing and creating multi-page websites ( )

Level 1 Desktop publishing software (DTP )

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

Level 3 Software testing ( )

Start IT (itq) Data management software ( )

Level 2 Project Management Software ( )

Level 3 Project management software (PM )

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

Level 3 Project management software (PM )

Level 3 Spreadsheet software (SS )

Level 3 Data management software (DMS )

Level 2 Personal Information Management Software ( )

Level 1 Data management software (DMS )

Level 1 Using a Computer Keyboard ( )

Level 2 Data management software (DMS )

Level 2 Using collaborative technologies (UCT )

Level 2 Desktop publishing software (DTP )

Level 1 Producing simple spreadsheets (7266/ )

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)

Systems and Principles Unit Syllabus

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

Level 2 NVQ in Warehousing and Storage (1009)

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

English Skills (3847) Portfolio development workpacks

Level 2 Certificate in Warehousing and Storage Skills (QCF)

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

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

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

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

Rules of Combination Handbook for Business Administration

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

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

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

QUALIFICATION HANDBOOK

QUALIFICATION HANDBOOK

Level 2 Certificate in International Trade and Logistics Operations ( )

Level 2 Certificate in Accounting ( )

English for Business Communications (8959) Marking Guide for Tutors

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

Level 1 Award in ICT Systems Support ( )

Level 4 Diploma in Hospitality Management ( )

Level 3 Certificate in Community Justice ( )

Functional Skills Mathematics Level 2 sample assessment

Level 3 Advanced Diploma for IT Professionals ( and FL3E)

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

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

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

Foundation Award in Management Principles

Functional Skills Mathematics Level 2 sample assessment

Level 4 NVQ in Sales (6770)

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

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

Level 2 Diploma for Software developers ( )

Level 2 NVQ in Refrigeration and Air Conditioning

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

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

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

Level 1 Qualification in Photo Imaging (7512) Qualification handbook

Level 2 Award/Certificate/Diploma in Legal Studies Personal injury procedures Y/501/5543

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

Level 3 Advanced Diploma in ICT Systems Support ( )

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

Certificate/Diploma in Vocational Paralegal Studies Level 2/3

The Sector Skills Council for Active Leisure and Learning

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

Level 2 IVQ Diploma in Training Skills ( )

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

GRADUATE DIPLOMA IN ENGINEERING POST GRADUATE DIPLOMA IN ENGINEERING

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

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

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

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

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

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

Level 5 Certificate/Diploma in Primary Care Management ( )

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

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

Level 2 Certificate in Warehousing and Storage Principles (1012)

Human Resource Management Programme. Recognized by the Institute of Leadership & Management, UK

Systems and Principles Unit Syllabus

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

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

Level 3-4 NVQ in Lighting for Film and Television

superseries FIFTH EDITION

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

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

nail art the service. It also covers

Lesson 1: Positive and Negative Numbers on the Number Line Opposite Direction and Value

Recognition of Prior Learning

Transcription:

Level 2 Create software components using C++ (7266/7267-202) www.cityandguilds.com/e-quals07 November 2008 Version 2.0 e-quals Assignment guide for Candidates Assignment B

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 2 Create software components using C++ (7266/7267-202) Assignment B Introduction Information for Candidates 2 Candidate instructions 3 Note 6 Level 2 Assignment B Version 2.0 Create software components using C++ (7266/7267-202) 1

Level 2 Create software components using C++ (7266/7267-202) Assignment B Introduction Information for Candidates About this document This assignment comprises part of the assessment for Level 2 Create software components using C++ (7266/7267-202). 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 four hours 2 Level 2 Assignment B Version 2.0 Create software components using C++ (7266/7267-202)

Level 2 Create software components using C++ (7266/7267-202) 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: four hours Assignment set up: A scenario is provided for candidates in the form of a company specification for a new product. This assignment is made up of two tasks Task A - provides a detailed design specification that should be followed by candidates when developing their program. Task B - provides presentation criteria that should be followed by candidates when producing their work. Scenario Due to climate changes it is necessary to keep a watch on rising sea levels in order that sea defences can be adequately maintained. As an employee of Terrific Software Ltd you have been asked to write a demonstration program, which could be used by data collecting agencies to monitor this problem. Several years ago a base height for sea levels was determined and is regarded as zero. Tide height measurements are to be taken in centimetres. Measurements are taken quarterly at high tide and recorded manually. Eventually, this process will form part of your program and be saved to disk. In the meantime, the purpose of your program is to produce a simple graph from the information given. The graph should include labels stating the quarter (Spring, Summer, Autumn, Winter) with the tide height depicted as a bar or other representative output. At the end of the bar should be the actual tide height in centimetres. Terrific Software has stipulated in its design specification that user input should be validated as an integer number and input as a maximum of a 4-character string. A suitable function should be used to convert the string into an integer number. In addition, in order to make the graph easier to read, it will be necessary to divide the user input by 10 in order to create the graph output ie an input of 500 will become 50 characters for screen output purposes. Also to make the graph practical, any tide heights below zero will be displayed with no bar and any tide heights above 600cm will be displayed with a bar of 60. Level 2 Assignment B Version 2.0 Create software components using C++ (7266/7267-202) 3

The table/graph must include a simple heading (to include the year) and an indication as to which season had the highest and which had the lowest tide height. The final output should be similar to the following: - Task A Candidates should use the following detailed specification to fulfil the company's requirements: 1 As part of the specification, the program must be written using functions. Global variables may be declared, but as far as possible, local variables should be used. 2 Details of seasons and tide heights are to be stored in arrays. 3 On starting the program the screen must be cleared and a welcome screen displayed with relevant information, from which the operator can gain brief information about the program. A message must be displayed to tell the user to press any key in order to run the program. 4 On pressing any key the screen should clear and a message should be displayed for input of the current year. The screen message should be similar to: - What is the current year?: 5 There must then follow a request for input for each of the four seasons. The name of the season is to be recovered from the array as part of output. The screen message should be similar to: - Enter the maximum tide height for season in centimetres: 6 Each input must be validated as a maximum of a 4-character string. Each character input into the string is to be separately validated in the range of 0 to 9 except for the first character 4 Level 2 Assignment B Version 2.0 Create software components using C++ (7266/7267-202)

which could also be a minus sign. Note: You are not required to validate the input to the nearest 20 cm. 7 A suitable conversion function should be used to convert the string entered into an integer number. 8 Write code to determine the following: Highest tide. Lowest tide. Maximum length of graph line. Minimum length of graph line. 9 On entry of the last season, the screen must clear and the graph should be displayed. The following information must be displayed on the graph: A title to include the current year. Season labels. A simple horizontal bar graph within range of 0 to 60 (There should be no bar for a negative tide height and a tide height of over 600 should be displayed with a bar of 60). The actual tide height at the end of each horizontal bar. Details of the lowest tide height including the season and measurement. Details of the highest tide height including the season and measurement. 10 Below the graph should be a message offering the option to repeat the program. User input of Y must cause the program to loop and repeat from 5 above. 11 Any other entry must clear the screen and terminate the program. 12 Prepare test data and expected results. Test the program, check the expected results against the actual results and resolve any logical or run-time errors. 13 Provide evidence that the program complies with the specification eg screen prints. 14 Print a listing of the code. Task B Candidates should follow the criteria below when producing their work: 1 The program conforms to the design specification. 2 The program uses the most appropriate data type(s). 3 Meaningful names are used when declaring variables. 4 The program syntax is consistently indented to aid readability. 5 The program is commented. Level 2 Assignment B Version 2.0 Create software components using C++ (7266/7267-202) 5

Note Candidates should produce the following for their assessor: A printed program listing. Test data and expected results. Evidence that the program works correctly eg screen prints. At the conclusion of this assignment, hand all paperwork and removable media to the test supervisor. Ensure that your name is on the removable media and all documentation. If the assignment is taken over more than one period, all removable media and paperwork must be returned to the test supervisor at the end of each sitting. 6 Level 2 Assignment B Version 2.0 Create software components using C++ (7266/7267-202)

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 Level 2 Assignment B Version 2.0 Create software components using C++ (7266/7267-202) 7