Level 2 Create software components using Java (7266/ )

Similar documents
Level 2 Creating an event driven computer program using Java ( )

Level 2 Creating an event driven program using Visual Basic ( )

Level 3 Video Software ( )

Level 1 Imaging software (DIS )

Level 2 Imaging software (DIS )

Level 1 Certificate in Design and Craft

Level 1 Certificate in Design and Craft

Level 1 Certificate in Design and Craft

Level 1 Certificate in Design and Craft

Candidate Instructions

Level 1 Certificate in Design and Craft

Level 3 Certificate in Design and Craft

Level 2 Award, Certificate and Diploma in Creative Techniques [7112] Level 2 Balloon Artistry units

Level 2 Certificate in Design and Craft

Level 3 Diploma in Design and Craft

Level 1 VRQ Qualifications in Photo Imaging (7512) Assessment pack

Level 2 Certificate in Design and Craft

Level 3 Certificate in Design and Craft

Level 3 Award, Certificate and Diploma in Creative Techniques [7113] Level 3 Fashion units

Level 2 Award, Certificate and Diploma in Creative Techniques [7112] Level 2 Floral units

Level 3 Certificate in Design and Craft

Entry 2 Skills for Working Life ( )

Level 1 Award, Certificate and Diploma in Creative Techniques [7111] Level 1 Sugar Decoration units

Entry 2 Skills for Working Life ( )

Entry 3 Skills for Working Life ( )

PRACTICAL TASK MANUAL

PRACTICAL TASK MANUAL

PRACTICAL TASK MANUAL

Entry 3 Skills for Working Life ( )

Entry 3 Skills for Working Life ( )

Level 3 Certificate in Design and Craft

Entry 3 Skills for Working Life ( )

PRACTICAL TASK MANUAL

PRACTICAL TASK MANUAL

Level 2 VRQ Qualifications in Photo Imaging (7512)

PRACTICAL TASK MANUAL

Functional Skills English Entry 3 Reading Sample Assessment

Level 2 NVQ in Digital Print Production ( )

Functional Skills English Entry 3 Reading Sample Assessment

Level 3 Certificate in Design and Craft

Laser App Integration User Guide

Level 1, 2 and 3 Award, Certificate and Diploma in Creative Techniques (7111, 7112 and 7113)

Level 1, 2 and 3 Award, Certificate and Diploma in Creative Techniques (7111, 7112 and 7113)

Hairdressing, Barbering, Beauty, Media Makeup, Nail Services and Complementary Therapies

Producing mechanical engineering drawings using a CAD system

Level 3 Qualification in Photo Imaging (7512) Qualification handbook

Level 2 Awards in Excavation Support Systems ( ) September 2017 Version 1.1

CREATIVE imedia. Cambridge NATIONALS LEVEL 1/2. Sample Learner Work with commentary. ocr.org.uk/creativeimedia

STUDENT USER S MANUAL

Your LeCAP Calendar. Inside this guide. Applying for post-16 learning 2012/13. September March April. October November. May. June July.

Functional Skills Mathematics Entry 3 Sample assessment

General Certificate of Secondary Education For submission in 2017

PRACTICAL TASK MANUAL

Producing CAD models (drawings) using a CAD system

Getting Started. Before You Begin, make sure you customized the following settings:

Appointment of External Auditors

Mirage 2.0. What's new in Mirage 2.0? din.a.x Digitale Bildbearbeitung GmbH Fuggerstrasse 9a D Neuss

UCAS Applications Step-by-Step Guide for 2019 entry

COMIC-CON & WONDERCON ANAHEIM

Episode 4 30 th March 2 nd April 2018 Odd Even & Substitution Variations By R Kumaresan and Amit Sowani

Sustainable Development

Assignment 5 due Monday, May 7

PRACTICAL TASK MANUAL

1.1 Investigate the capabilities and limitations of a range of digital gaming platforms

SAMPLE ASSESSMENT TASKS MATERIALS DESIGN AND TECHNOLOGY ATAR YEAR 11

UNIT Computer Aided Draughting (CAD) for Engineers (SCQF level 5)

SOUTH AFRICAN QUALIFICATIONS AUTHORITY REGISTERED QUALIFICATION: Occupational Certificate: Visual Merchandiser

Requirements Specification

Scanning: pictures and text

HSBC Recruitment. Your candidate guide post offer. What happens next? PUBLIC

EUROPASS DIPLOMA SUPPLEMENT

Author Information Packet

Technical Certificate in Electrical Installation Version Sample September Question Paper Pack

CAPSTONE PROJECT 1.A: OVERVIEW. Purpose

GW3-TRBO Affiliation Software Version 2.15 Module Book

Sample Paper 4 Level 1 Functional Skills Mathematics

Brad Luke. Director Peddle Thorp Auckland

Website Link

A Step by Step guide to making and maintaining a Universal Credit claim online

Mine Seeker. Software Requirements Document CMPT 276 Assignment 3 May Team I-M-Assignment by Dr. B. Fraser, Bill Nobody, Patty Noone.

SUBMITTING COMPLETED RECORDS TO THE BC REGISTRAR

Using Career Portfolio for an Academic Job Search

BAFTA Young Game Designers Full terms and conditions of BAFTA Young Game Designers i. Game Concept and Game Making Award categories:

Qualification Specification. Level 1 Diploma in Providing a Gateway to Smart Engineering

While entry is at the discretion of the centre, it would be beneficial if candidates had the following IT skills:

Chapter 6 Title Blocks

Application pack Level 3 Certificate in Housing Practice blended learning open access

1 Higher National Unit credit at SCQF level 7: (8 SCQF credit points at SCQF level 7)

PORTFOLIO ACTIVITIES 2012 / 2013

Architectural Design Sketching and Drawing

RAGE TOOL KIT FAQ. Terms and Conditions What legal terms and conditions apply to the RAGE Tool Kit?

NATIONAL CERTIFICATES (VOCATIONAL) SUBJECT GUIDELINES WORKSHOP PRACTICE NQF LEVEL 2

UNIT Construction Crafts: Bench Joinery (Intermediate 2)

Saddlery. National training qualifications for saddlery. Candidate s Handbook LEVEL 2 INTERMEDIATE SKILLS

COMIC-CON INTERNATIONAL & WONDERCON ANAHEIM

Lodger Information Pack

Virgin Money London Marathon Application

GEO/EVS 425/525 Unit 2 Composing a Map in Final Form

Mobile and web games Development

The Product Game: Playing the Product Game

Transcription:

Level 2 Create software components using Java (7266/7267-205) e-quals Assignment guide for Candidates Assignment A www.cityandguilds.com/e-quals07 November 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 2 Create software components using Java (7266/7267-205) Assignment A Introduction Information for Candidates 2 Candidate instructions 3 Note 6 Level 2 Create software components using Java (7266/7267-205) 1

Level 2 Create software components using Java (7266/7267-205) Assignment A Introduction Information for Candidates About this document This assignment comprises part of the assessment for Level 2 Create software components using Java (7266/7267-205). 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 Create software components using Java (7266/7267-205)

Level 2 Create software components using Java (7266/7267-205) 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 presentation criteria that should be followed by candidates when producing their work. Scenario A games software development company, CheckMate Associates, is developing a games program for use on the Internet. It will be run using a Java applet. The applet will allow a user to play the classic game of Hangman in which the player is given the number of letters in a word and then, by guessing letters, has to complete the word. As a contracted employee of CheckMate Associates, you have been asked to create and test a GuessWord applet that fulfils the specification. The outline specification for the applet states that the player is given the number of letters in a word, initially displayed as asterisks (*), and then, by guessing letters, has to complete the word if a wrong letter is chosen i.e. one that is not in the word, the player loses a life if the guessed letter is in the word then it is inserted in the correct position and the (incomplete) word displayed the games continues until either the player has solved the word or has lost all their lives if the player guesses the word before they have lost all their lives, they have won if the player loses all their lives before they guess the word they have lost the game. Task A Candidates should use the following detailed specification to fulfil the company's requirements: 1 Global variables may be declared, but as far as possible, local variables should be used. Level 2 Create software components using Java (7266/7267-205) 3

2 Create a GuessWord applet that has a Graphical User Interface (GUI) similar to that shown in the following picture. 3 The title GUESS THE WORD must be produced as a Label with the text in red. 4 The characters of the word to be guessed are to be written into the read only TextField beneath the title. This TextField must be set to 24 characters in width. 5 The title GUESSES REMAINING is a Label with the text set to red. 6 The number of guesses remaining is to be shown in a read only TextField which is 3 characters wide and on the same line as the GUESSES REMAINING Label. 7 Letters are chosen by clicking the mouse on one of a grid of buttons representing the letters of the alphabet. 8 Selecting the button START must clear the two TextFields ready to start the game. The program must then select a word from the following list in the order shown MEMORY COMPUTER PRINTER TROUSERS BUTTERCUP 9 Each letter of the selected word should be displayed at the right of the 24 character TextField as an asterisk (*). 10 A player has 8 lives in which to guess the word. 11 The number of guesses remaining should be displayed at the right of the three character TextField. 12 The player selects a letter by clicking the mouse on the corresponding button. If the letter is in the hidden word then it is displayed in its correct position(s) in the 24 character TextField. If 4 Level 2 Create software components using Java (7266/7267-205)

the letter is not in the word then the number of guesses remaining should be reduced by one and its value displayed in the three character TextField. 13 If the number of guesses remaining reaches zero and the hidden word has not been solved then a dialog box should appear with 'You Lose' in the centre in a large red font. An OK button should be used to allow the player to return to the game. 14 If the word is completed before the number of guesses remaining has been reduced to zero then a dialog box should appear with 'You Win' in the centre in a large blue font. An OK button should be used to allow the player to return to the game. 15 Selecting the ANSWER button should display the current word in its TextField and clear the guesses remaining TextField. 16 Prepare test data and expected results. Test the applet, check the expected results against the actual results and resolve any logical or run-time errors. 17 Provide evidence that the applet complies with the specification eg screen prints when the program is running. 18 Print a listing of the code. 19 Produce a screen print to show the GUI when the applet starts. Level 2 Create software components using Java (7266/7267-205) 5

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 The program syntax is consistently indented to aid readability. 4 The program is commented. Note Candidates should produce the following for their assessor: A printed program listing. Printout of the GuessWord applet (screen print). Test data and expected results. Evidence that the applet works correctly. 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 Create software components using Java (7266/7267-205)

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 Create software components using Java (7266/7267-205) 7