Level 2 Creating an object oriented computer program using C++ ( )

Similar documents
Functional Skills Mathematics Subject Specifications and Tutor/Assessor Guide SUBJECT SPECIFICATIONS. September 2017 Version 1.7

Functional Skills. Maths. OCR Report to Centres Level 1 Maths Oxford Cambridge and RSA Examinations

VOCATIONAL QUALIFICATION IN YOUTH AND LEISURE INSTRUCTION 2009

Qualification handbook

Functional Skills Mathematics Level 2 sample assessment

STUDENT ASSESSMENT BOOKLET

Guidelines for Incorporating Publication into a Thesis. September, 2015

EXAMINATIONS POLICY 2016/2017

GENERAL TERMS AND CONDITIONS EDUCATION AGREEMENT

Briefing document CII Continuing Professional Development (CPD) scheme.

MMOG Subscription Business Models: Table of Contents

Lismore Comprehensive School

BSc (Hons) Banking Practice and Management (Full-time programmes of study)

2013/Q&PQ THE SOUTH AFRICAN QUALIFICATIONS AUTHORITY

Dyslexia and Dyscalculia Screeners Digital. Guidance and Information for Teachers

LEAVE NO TRACE CANADA TRAINING GUIDELINES

Business. Pearson BTEC Level 1 Introductory in. Specification

LEAVE NO TRACE CANADA TRAINING GUIDELINES

P920 Higher Nationals Recognition of Prior Learning

Submission of a Doctoral Thesis as a Series of Publications

Higher Education / Student Affairs Internship Manual

Research Training Program Stipend (Domestic) [RTPSD] 2017 Rules

CORE CURRICULUM FOR REIKI

Effective Instruction for Struggling Readers

WOODBRIDGE HIGH SCHOOL

ROC Mondriaan Student Charter

How does an Apprenticeship work?

Self Study Report Computer Science

Deal with substances hazardous to health

Minutes of the one hundred and thirty-eighth meeting of the Accreditation Committee held on Tuesday 2 December 2014.

Bilingual Staffing Guidelines

Programme Specification. MSc in International Real Estate

PRINCE2 Foundation (2009 Edition)

Guidelines for Completion of an Application for Temporary Licence under Section 24 of the Architects Act R.S.O. 1990

International Advanced level examinations

PROGRAMME SPECIFICATION KEY FACTS

1 Use complex features of a word processing application to a given brief. 2 Create a complex document. 3 Collaborate on a complex document.

Running head: FINAL CASE STUDY, EDCI Addressing a Training Gap. Final Case Study. Anna Siracusa. Purdue University

PROGRAM HANDBOOK. for the ACCREDITATION OF INSTRUMENT CALIBRATION LABORATORIES. by the HEALTH PHYSICS SOCIETY

ADULT VOCATIONAL TRAINING (AVT) APPLICATION

INTERNAL MEDICINE IN-TRAINING EXAMINATION (IM-ITE SM )

SAMPLE AFFILIATION AGREEMENT

Qualification Guidance

Assessment Pack HABC Level 3 Award in Education and Training (QCF)

Introduction to WeBWorK for Students

Master of Statistics - Master Thesis

(Care-o-theque) Pflegiothek is a care manual and the ideal companion for those working or training in the areas of nursing-, invalid- and geriatric

CONFERENCE PAPER NCVER. What has been happening to vocational education and training diplomas and advanced diplomas? TOM KARMEL

HOW TO REQUEST INITIAL ASSESSMENT UNDER IDEA AND/OR SECTION 504 IN ALL SUSPECTED AREAS OF DISABILITY FOR A CHILD WITH DIABETES

Pharmaceutical Medicine

Redeployment Arrangements at Primary Level for Surplus Permanent & CID Holding Teachers

1st4sport Level 3 Award in Education & Training

REGULATIONS RELATING TO ADMISSION, STUDIES AND EXAMINATION AT THE UNIVERSITY COLLEGE OF SOUTHEAST NORWAY

UNIVERSITI PUTRA MALAYSIA BURSAR S STUDENT FINANCES RULES

Procedia - Social and Behavioral Sciences 98 ( 2014 ) International Conference on Current Trends in ELT

TOEIC Bridge Test Secure Program guidelines

TOURISM ECONOMICS AND POLICY (ASPECTS OF TOURISM) BY LARRY DWYER, PETER FORSYTH, WAYNE DWYER

Instrumentation, Control & Automation Staffing. Maintenance Benchmarking Study

Chiltern Training Ltd.

VTCT Level 3 Award in Education and Training

Table of Contents. Internship Requirements 3 4. Internship Checklist 5. Description of Proposed Internship Request Form 6. Student Agreement Form 7

MONTPELLIER FRENCH COURSE YOUTH APPLICATION FORM 2016

EDUCATION AND TRAINING (QCF) Qualification Specification

Practice Examination IREB

UNIVERSITY OF BIRMINGHAM CODE OF PRACTICE ON LEAVE OF ABSENCE PROCEDURE

Author: Justyna Kowalczys Stowarzyszenie Angielski w Medycynie (PL) Feb 2015

Ten years after the Bologna: Not Bologna has failed, but Berlin and Munich!

DIBELS Next BENCHMARK ASSESSMENTS

Recognition of Prior Learning (RPL) Procedure - Higher Education

BEST PRACTICES FOR PRINCIPAL SELECTION

British International School Istanbul Academic Honesty Policy

Anglia Ruskin University Assessment Offences

Exclusions Policy. Policy reviewed: May 2016 Policy review date: May OAT Model Policy

Programme Specification

Cy-Fair College Teacher Preparation and Certification Program Application Form

Executive Guide to Simulation for Health

Handbook for Graduate Students in TESL and Applied Linguistics Programs

Curriculum for the doctoral (PhD) programme in Natural Sciences/Social and Economic Sciences/Engineering Sciences at TU Wien

Different Requirements Gathering Techniques and Issues. Javaria Mushtaq

ckcklkgsc Hkhejko vecsmdj fo ofo ky; (dsunzh; fo ofo ky;)

Standards for Professional Practice

BSc (Hons) Property Development

General study plan for third-cycle programmes in Sociology

PROJECT DESCRIPTION SLAM

Fire safety in the home

5 Early years providers

GENERAL INFORMATION STUDIES DEGREE PROGRAMME PERIOD OF EXECUTION SCOPE DESCRIPTION LANGUAGE OF STUDY CODE DEGREE

RAJASTHAN CENTRALIZED ADMISSIONS TO BACHELOR OF PHYSIOTHERAPY COURSE-2017 (RCA BPT-2017) INFORMATION BOOKLET

Bachelor of International Hospitality Management, BA IHM. Course curriculum National and Institutional Part

HDR Presentation of Thesis Procedures pro-030 Version: 2.01

THESIS GUIDE FORMAL INSTRUCTION GUIDE FOR MASTER S THESIS WRITING SCHOOL OF BUSINESS

THE PENNSYLVANIA STATE UNIVERSITY SCHREYER HONORS COLLEGE DEPARTMENT OF MATHEMATICS ASSESSING THE EFFECTIVENESS OF MULTIPLE CHOICE MATH TESTS

Tuesday 13 May 2014 Afternoon

Our school community provides a caring, happy and safe environment, which strives to foster a love of life-long learning.

Houghton Mifflin Online Assessment System Walkthrough Guide

The Tutor Shop Homework Club Family Handbook. The Tutor Shop Mission, Vision, Payment and Program Policies Agreement

ADULT BASIC EDUCATION CURRICULUM GUIDE TABLE OF CONTENTS

Field Experience and Internship Handbook Master of Education in Educational Leadership Program

English Language Arts Summative Assessment

PEIMS Submission 3 list

Transcription:

Level 2 Creating an object oriented computer program using C++ (7540-004) Assignment guide for Candidates Assignment C www.cityandguilds.com October 2017 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 2 Creating an object oriented computer program using C++ (7540-004) Introduction Information for Candidates 2 Candidate instructions 3 Level 2 Creating an object oriented computer program using C++ (7540-004) 1

Level 2 Creating an object oriented computer program using C++ (7540-004) Assignment C Introduction Information for Candidates About this document This assignment comprises all of the assessment for Level 2 Creating an object oriented computer program using C++ (7540-004). 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 2 Creating an object oriented computer program using C++ (7540-004)

Level 2 Creating an object oriented computer program using C++ (7540-004) 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: A scenario is provided below for this assignment. 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 criteria that should be followed by candidates when producing their work. Scenario A recent educational review implies that the level of competence in applying mental arithmetic may be in decline, especially when applying the rules of algebra. In order to investigate this, a local computer company specialising in survey software, Total Objective Multi-Surveys (TOMS), has been asked to prototype an on-line program to test this theory. In their outline specification, Total Objective Multi-Surveys have stated that their software should: generate a list of hard-coded mental arithmetic questions calculate the number of questions answered correctly calculate the number of correct answers as a percentage indicate which questions were answered incorrectly. In addition, TOMS have stated that the software should: give the interviewee an opportunity to repeat the whole test again allow the interviewee an opportunity to repeat only those questions incorrectly answered allow the interviewee to exit the program if questions or the test are not to be repeated not take into consideration any repeated questions in the final scoring. As a contracted employee of Total Objective Multi-Surveys, you have been asked to design and develop a demonstration program for the test. This demonstration program will operate only from keyboard entry and will only indicate its actions on-screen. To assist in the development of the test a sample list of 10 questions have been provided at Appendix A. There must be a total of 10 questions in the survey program. Task A Level 2 Creating an object oriented computer program using C++ (7540-004) 3

Candidates should use the following detailed specification to fulfil the company's requirements: Using the Integrated Development Environment: 1 The program must be written using classes and functions. Global variables may be declared, but as far as possible, local variables should be used. 2 The program should be in wait state, which consists of a welcome screen and an invitation for the user to press ANY key in order to continue. 3 On depression of any key, the program should display the first test question. The question(s) must be laid out towards the centre of the display screen. The display must consist of one question and four possible answers, only one of which is correct. Each answer must be preceded with a number (1, 2, 3 and 4). At the bottom of the display there should be a request for the candidate to enter the selected answer. 4 The candidate entry must be in the form of 1, 2, 3 or 4. These entries must be validated. Incorrect entry should cause an error message to appear on screen and a request for re-entry of the selection. 5 The candidate s response to the questions should be tested against the correct answer letter and the number of correctly answered questions recorded. 6 Any incorrect question should be identified for later use in the program. 7 Between each question the screen must clear. 8 On completion of all 10 questions the screen must clear and the following information must be displayed on screen: Total score: Number of correct questions / 10 Percentage: Score calculated as percent % 9 Below the above there should be displayed a list of the questions that were incorrectly answered in a format similar to: The questions incorrectly answered were: Question 1 Question 3 Question 7 10 At the bottom of the screen there should be an option to repeat the test or exit the program. Response should be in the format of a Y/N answer which must be validated. 11 Selection of Y should cause the screen to clear and the program to repeat from Task A2. 12 Selection of N should cause the screen to clear and an indication that the program is terminating output to the screen. 13 After a suitable delay the screen must clear and the program end. 14 At this point the program must work correctly before continuing. 4 Level 2 Creating an object oriented computer program using C++ (7540-004)

15 Now modify the program slightly to allow the candidate to answer only those questions that were incorrectly answered (if any). Prior to item Task A10 there should be an additional question: Do you want to re-take those questions incorrectly answered again? Y/N : 16 The candidate's response should be in the format of a Y/N answer which should be validated. 17 Selection of Y should cause the screen to clear and only those questions that were incorrectly answered repeated. At the conclusion of the repeated questions the question at Task A10 should be repeated. 18 Selection of N should cause the message at Task A10 to appear underneath along with the repeat/end process. 19 Create test data and expected results. 20 Test the program and compare the expected results to the actual results and correct any errors found. Use available debugging facilities to help locate errors. 21 Produce a printed program listing. Task B Candidates should follow the criteria below when producing the program: 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 includes suitable comments to aid understanding of the program. Note Candidates should produce the following for their assessor: printed program listing test data and expected results 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. Level 2 Creating an object oriented computer program using C++ (7540-004) 5

6 Level 2 Creating an object oriented computer program using C++ (7540-004)

APPENDIX A Any of these sample questions may be used in the assignment, or the Candidate can write his/her own. Question 1 Question 2 123 39 = 123 + 39 = 1 64 2 44 3 74 4 84 Answer = 4 Question 3 123 * 9 = 1 162 2 166 3 62 4 66 Answer = 1 Question 4 135 / 15 = 1 1007 2 1107 3 1106 4 1116 Answer = 2 Question 5 12 * (12 / 2) = 1 8 2 8.5 3 9 4 9.5 Answer = 3 Question 6 130 / 2 + 8 = 1 144 2 6 3 72 4 36 Answer = 3 Question 7 10 + 12 + 13 * 6 / 2 = 1 13 2 14 3 75 4 73 Answer = 4 Question 8 (10 + 12 + 13 * 6) / 2 = 1 105 2 44 3 61 4 84 Answer = 3 Question 9 8(12 + 6 / 3 * 2) - 1 = 1 50 2 44 3 61 4 84 Answer = 1 Question 10 1 / 1 * 1 1 + 1 = 1 127 2 103 3 95 4 135 Answer = 1 1 1 2-1 3 0 4-2 Answer = 1 Level 2 Creating an object oriented computer program using C++ (7540-004) 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 2 Creating an object oriented computer program using C++ (7540-004)