GCE. Computing. Mark Scheme for January 2011. Advanced Subsidiary GCE Unit F452: Programming Techniques and Logical Methods



Similar documents
GCE. Business Studies. Mark Scheme for January Advanced GCE Unit F293: Marketing. Oxford Cambridge and RSA Examinations

GCE. Psychology. Mark Scheme for January Advanced GCE Unit G543: Options in Applied Psychology. Oxford Cambridge and RSA Examinations

GCE. Accounting. Mark Scheme for January Advanced GCE Unit F013: Company Accounts and Interpretation. Oxford Cambridge and RSA Examinations

GCE. Economics. Mark Scheme for June Advanced GCE F581 Markets in Action. Oxford Cambridge and RSA Examinations

GCE. Accounting. Mark Scheme for June Advanced Subsidiary GCE Unit F012: Accounting Applications. Oxford Cambridge and RSA Examinations

GCE. Business Studies. Mark Scheme for January Advanced GCE Unit F296: Business Production. Oxford Cambridge and RSA Examinations

GCSE. Mark Scheme for January Computing (Pilot) General Certificate of Secondary Education Unit A451: Computer systems and programming

GCSE. Economics. Mark Scheme for June General Certificate of Secondary Education Unit A591: How the Market Works

GCE. Economics. Mark Scheme for January Advanced Subsidiary GCE Unit F582: The National and International Economy

GCE. Business Studies. Mark Scheme for June Advanced GCE F296 Business Production. Oxford Cambridge and RSA Examinations

GCE. Religious Studies. Mark Scheme for June Advanced GCE Unit G586: Buddhism. Oxford Cambridge and RSA Examinations

GCE. Economics. Mark Scheme for January Advanced GCE Unit F585: The Global Economy. Oxford Cambridge and RSA Examinations

Geography B B561/02: Mark Scheme for June 2013

GCE. Geography. Mark Scheme for January Advanced Subsidiary GCE Unit F762: Managing Change in Human Environments

GCE. Business Studies. Mark Scheme for June Advanced GCE Unit F296: Business Production. Oxford Cambridge and RSA Examinations

GCE. Religious Studies. Mark Scheme for June Advanced GCE Unit G582: Religious Ethics. Oxford Cambridge and RSA Examinations

G242 G G * * MEI STATISTICS Statistics 2 (Z2) ADVANCED SUBSIDIARY GCE. Wednesday 9 June 2010 Afternoon. Duration: 1 hour 30 minutes.

GCE. Mathematics. Mark Scheme for June Advanced GCE Unit 4725: Further Pure Mathematics 1. Oxford Cambridge and RSA Examinations

GCE. Economics. Mark Scheme for June Advanced Subsidiary GCE Unit F581: Markets in Action. Oxford Cambridge and RSA Examinations

GCE. Physics A. Mark Scheme for January Advanced Subsidiary GCE Unit G481/01: Mechanics. Oxford Cambridge and RSA Examinations

GCE. Economics. Mark Scheme for June Advanced GCE Unit F583: Economics of Work and Leisure. Oxford Cambridge and RSA Examinations

GCSE. French. Mark Scheme for June General Certificate of Secondary Education Unit A703 01/02: Reading. Oxford Cambridge and RSA Examinations

Business Studies F291: Mark Scheme for June 2013

GCE. Economics. Mark Schemes for the Units. June 2009 HX61/MS/R/09. Advanced GCE A2 H461 Advanced Subsidiary GCE AS H061

GCE. Physics B (Advancing Physics) Mark Scheme for June Advanced Subsidiary GCE Unit G491: Physics in Action

GCSE French. Mark Scheme for June Unit A703 01/02: Reading. General Certificate of Secondary Education. Oxford Cambridge and RSA Examinations

GCE. Religious Studies. Mark Scheme for January Advanced Subsidiary GCE Unit G572: Religious Ethics. Oxford Cambridge and RSA Examinations

GCE. Mathematics. Mark Scheme for June Advanced GCE Unit 4723: Core Mathematics 3. Oxford Cambridge and RSA Examinations

GCSE. Religious Studies. Mark Scheme for June 2011

Vocational Qualifications (QCF, NVQ, NQF) CPC (Certificate of Professional Competence)

GCSE. Economics. Mark Scheme for June General Certificate of Secondary Education Unit A593: The UK Economy and Globalisation

GCE. Physics B (Advancing Physics) Mark Scheme for June Advanced Subsidiary GCE

GCE. Sociology. Mark Scheme for January Advanced Subsidiary GCE Unit G671: Exploring Socialisation, Culture and Identity

GCE. Economics. Mark Scheme for June Advanced GCE Unit F583: Economics of Work and Leisure. Oxford Cambridge and RSA Examinations

GCE ICT. Mark Scheme for June Advanced GCE G063 Systems, Applications and Implications. Oxford Cambridge and RSA Examinations

GCE. Economics. Mark Scheme for June Advanced Subsidiary GCE Unit F581: Markets in Action. Oxford Cambridge and RSA Examinations

GCE. Mathematics. Mark Scheme for June Advanced GCE Unit 4729: Mechanics 2. Oxford Cambridge and RSA Examinations

GCE. Physics B (Advancing Physics) Mark Scheme for January Advanced Subsidiary GCE Unit G491: Physics in Action

GCE. Applied Science. Mark Scheme for January Advanced GCE Unit G635: Working Waves. Oxford Cambridge and RSA Examinations

GCE. Chemistry A. Mark Scheme for June Advanced Subsidiary GCE Unit F321: Atoms, Bonds and Groups. Oxford Cambridge and RSA Examinations

These qualifications have been accredited as part of the Qualifications and Credit Framework (QCF).

GCE. Economics. Mark Scheme for June Advanced Subsidiary GCE Unit F582: The National and International Economy

GCSE Mathematics A. Mark Scheme for June Unit A501/02: Mathematics A (Higher Tier) General Certificate of Secondary Education

GCE. Religious Studies. Mark Scheme for January Advanced Subsidiary GCE Unit G571: Philosophy of Religion. Oxford Cambridge and RSA Examinations

GCSE. Chemistry A. Mark Scheme for June General Certificate of Secondary Education Unit A172/02: Modules C4, C5, C6 (Higher Tier)

GCSE. Physics A. Mark Scheme for January General Certificate of Secondary Education Unit A181/02: Unit 1 Modules P1, P2, P3 (Higher Tier)

Cambridge National ICT. Mark Scheme for January Level 1 Unit R001/01: Understanding Computer Systems. Oxford Cambridge and RSA Examinations

LEVEL 2 FUNCTIONAL SKILLS ENGLISH 09499/03

GCE Religious Studies. Mark Scheme for June Unit G571: Philosophy of Religion. Advanced Subsidiary GCE. Oxford Cambridge and RSA Examinations

GCSE. Physics A. Mark Scheme for June General Certificate of Secondary Education Unit A182/02: Unit 2 Modules P4, P5, P6 (Higher Tier)

CHILD DEVELOPMENT. Cambridge NATIONALS LEVEL 1/2. Summary Brochure For first teaching September ocr.org.uk/cambridgenationals

GCSE. Media Studies. Mark Scheme for June 2012

GCSE. Chemistry A. Mark Scheme for January General Certificate of Secondary Education Unit A172/02: Modules C4, C5, C6 (Higher Tier)

FSMQ Additional Mathematics. OCR Report to Centres June Unit 6993: Paper 1. Free Standing Mathematics Qualification

GCSE Biology A. Mark Scheme for June Unit A162/02: Modules B4, B5, B6 (Higher Tier) General Certificate of Secondary Education

GCSE Chemistry A. Mark Scheme for June Unit A171/02: Modules C1, C2, C3 (Higher Tier) General Certificate of Secondary Education

A LEVEL. Delivery Guide H446 COMPUTER SCIENCE. Theme: Input, Output and Storage. April 2015

GCSE. Design and Technology: Resistant Materials. Mark Scheme for June 2012

A LEVEL H446 COMPUTER SCIENCE. Code Challenges (1 20) August 2015

GCE. Economics. Mark Scheme for June Advanced GCE F583 Economics of Work and Leisure. Oxford Cambridge and RSA Examinations

datasheet Certificate/Diploma in Business and Administration Main features of the qualifications Introduction Target audience

OCR ADVICE AND GUIDANCE NVQS LEVELS 2, 3 AND 4

Accredited Specimen Mark Scheme

Mathematics B (Linear) J567/03: Mark Scheme for November 2013

datasheet QCF Contact Centre Operations What is an NVQ?

GCE. Geography. Mark Scheme for June Advanced Subsidiary GCE Unit F761: Managing Physical Environments. Oxford Cambridge and RSA Examinations

datasheet Award/Certificate/Diploma in Business and Administration Main features of the qualifications Introduction Target audience

20 CODE CHALLENGES. GCSE (9 1) Computer Science GCSE REFORM. February 2015

datasheet NVQ What is an NVQ? Who are these NVQs for? What is its purpose?

Cambridge Award/Certificate in English

General Certificate of Education (A-level) January 2013 ICT INFO3 (Specification 2520) Unit 3: The Use of ICT in the Digital World Final Mark Scheme

GCE Chemistry A. Mark Scheme for June Unit F321: Atoms, Bonds and Groups. Advanced Subsidiary GCE. Oxford Cambridge and RSA Examinations

GCE Religious Studies. Mark Scheme for June Unit G581: Philosophy of Religion. Advanced GCE. Oxford Cambridge and RSA Examinations

Introduction to Python

SPECIMEN A451 GENERAL CERTIFICATE OF SECONDARY EDUCATION COMPUTING. Duration: 1 hour 30 minutes. Unit A451: Computer systems and programming

GCE. Religious Studies. Mark Scheme for June Advanced GCE Unit G588: Islam. Oxford Cambridge and RSA Examinations

GCE Law. Mark Scheme for June Unit G154: Criminal Law Special Study. Advanced GCE. Oxford Cambridge and RSA Examinations

GCE. Chemistry A. Mark Scheme for June Advanced GCE F325 Equilibria, Energetics and Elements. Oxford Cambridge and RSA Examinations

HEALTH AND SOCIAL CARE E QUALIFICATIONS HE UNIT HSC 028

GCSE Chemistry A. Mark Scheme for June Unit A173/02: Module C7 (Higher Tier) General Certificate of Secondary Education

Computer SCienCe Theme: Software Development

Exemplar Work for SAMs. Units A452 and A453

Moving from CS 61A Scheme to CS 61B Java

GCE. Economics. Mark Scheme for June Advanced GCE Unit F584: Transport Economics. Oxford Cambridge and RSA Examinations

GCE. Chemistry A. Mark Scheme for June Advanced Subsidiary GCE Unit F321: Atoms, Bonds and Groups. Oxford Cambridge and RSA Examinations

* * MATHEMATICS (MEI) 4756 Further Methods for Advanced Mathematics (FP2) ADVANCED GCE. Monday 10 January 2011 Morning

General Certificate of Education June Information and Communication Technology. The Use of ICT in the Digital World. Unit 3. Final.

GCSE. English. Mark Scheme for June General Certificate of Secondary Education Unit A680/02: Information and Ideas (Higher Tier)

GCE. Economics. Mark Scheme for June Advanced GCE F584 Transport Economics. Oxford Cambridge and RSA Examinations

HEALTH AND SOCIAL CARE E QUALIFICATIONS HE UNIT SHC 024

GCE Law. Mark Scheme for June Unit G154: Criminal Law Special Study. Advanced GCE. Oxford Cambridge and RSA Examinations

VISUAL GUIDE to. RX Scripting. for Roulette Xtreme - System Designer 2.0

ENGLISH LITERATURE Candidate Style Answers: An Inspector Calls J. B. Priestley

abc Information and Communication Technology 2520 Mark Scheme General Certificate of Education Living in the Digital World

OXFORD CAMBRIDGE AND RSA EXAMINATIONS Advanced GCE

GCSE. Additional Science B. Mark Scheme for January General Certificate of Secondary Education. Unit B721/02: Modules B3, C3, P3 (Higher Tier)

Visual Logic Instructions and Assignments

LEVEL 2 FUNCTIONAL SKILLS ENGLISH 09499/02

Final. General Certificate of Education (A-level) January 2013 ICT INFO2. (Specification 2520) Unit 2: Living in the Digital World. Final.

GCE. Law. Mark Schemes for the Units. June 2009 H134/MS/R/09. Advanced Subsidiary GCE AS H134. Oxford Cambridge and RSA Examinations

Transcription:

GCE Computing Advanced Subsidiary GCE Unit F452: Programming Techniques and Logical Methods Mark Scheme for January 2011 Oxford Cambridge and RSA Examinations

OCR (Oxford Cambridge and RSA) is a leading UK awarding body, providing a wide range of qualifications to meet the needs of pupils of all ages and abilities. OCR qualifications include AS/A Levels, Diplomas, GCSEs, OCR Nationals, Functional Skills, Key Skills, Entry Level qualifications, NVQs and vocational qualifications in areas such as IT, business, languages, teaching/training, administration and secretarial skills. It is also responsible for developing new specifications to meet national requirements and the needs of students and teachers. OCR is a not-for-profit organisation; any surplus made is invested back into the establishment to help towards the development of qualifications and support which keep pace with the changing needs of today s society. This mark scheme is published as an aid to teachers and students, to indicate the requirements of the examination. It shows the basis on which marks were awarded by Examiners. It does not indicate the details of the discussions which took place at an Examiners meeting before marking commenced. All Examiners are instructed that alternative correct answers and unexpected approaches in candidates scripts must be given marks that fairly reflect the relevant knowledge and skills demonstrated. Mark schemes should be read in conjunction with the published question papers and the Report on the Examination. OCR will not enter into any discussion or correspondence in connection with this mark scheme. OCR 2011 Any enquiries about publications should be addressed to: OCR Publications PO Box 5050 Annesley NOTTINGHAM NG15 0DL Telephone: 0870 770 6622 Facsimile: 01223 552610 E-mail: publications@ocr.org.uk

Unless otherwise stated, award 1 mark per bullet point up to the maximum stated. 1 (a) Avenue [1] (b) (i) 6 [1] Award Benefit of doubt BusStop(6) (ii) Check the array is not empty (and report an error if it is) Set a counter to 1/0/start from first position Check if item (at current position) is item searched If found return the position/value of counter If not found increment counter/move to next position Until the end of the array / until item found If item still not found, return Not Found [5] searches through all the values IN ORDER is equivalent to the 5 th bullet point. Just searches through all the values should be given the benefit of doubt. (c) (i) String Consists of a series of characters (some of which happen to be digits) / not a numeric value [2] In all parts of (c) the second mark is not dependent on the first. If two answers are given for the data type they must BOTH be correct to award the mark. Accept Text, Alphanumeric, array or pointer to Character (ii) Real To allow for pounds and pence [2] (iii) String Consists of a series of characters/ a word [2] (iv) Integer The position in an array must be a whole number [2] Accept known real types eg double, single, float. Also accept Currency Accept Text, Alphanumeric, Character Accept known integer data types eg int, byte, long but not Number 1

(d) (i) Distance = 4 1/Distance = 3 Accept follow through for arithmetic errors made in Fare = 3 * 0.20 previous steps All IF statements are False and not executed 0.60 is returned [3] (ii) Distance = 6 5/Distance = 1 Fare = 1 * 0.20 As Type = CHILD is TRUE... Fare = 0.20/2 0.10 is returned [4] (iii) Distance = 5 2/Distance = 3 Fare = 3 * 0.20 = 0.60 As Type = PENSIONER AND Fare > PensionerMax are both TRUE... Fare = PensionerMax / 0.50 [4] Accept follow through for arithmetic errors made in previous steps Accept follow through for arithmetic errors made in previous steps For 3 rd bullet point, candidate must clearly indicate that both conditions /the overall condition is TRUE (e) (i) If the value of PensionerMax changes, this only needs to be updated once (on line 2)... (and the new value will be used throughout the code) The statements (on lines 8 and 9) are clearer because we know what the value represents Cannot be accidentally changed/will be consistent throughout the program. [2] 2

(ii) 0.20 (on line 4) Accept solutions where the candidate has changed line Suitable identifier eg CostPerStop 6 to a valid multiplication OR 2 (on line 6) Suitable identifier eg DivisorForChildFare [2] (f) (i) Concatenation/recognisable concatenation operator used...... on ROUTE and RouteNumber [2] (ii) Method 1: Append spaces... at least 6 spaces needed (or 7 if string may be empty) Extract first seven characters. Method 2: find the length of the name of the stop If length >= 7, extract the first 7 characters (eg Left) If length is < 7 append spaces to bring length up to 7 Accept alternative methods which work. [3] (iii) Determine length of Ticket Type Format Fare to Currency/to 2 d.p.with sign Determine length of formatted fare Calculate number of spaces needed (15 length of other strings) Concatenate TicketType, spaces and (formatted) fare [5] 3

2 (a) Student recruitment agency program Add new A C student Open student file B Open Student & job files Search for matching students & jobs D 1 mark per letter placed in correct box. [4] (b) Award marks for following items correctly shown on data capture form Title Appropriate instructions (eg Use block capitals) Name can be entered...... as separate Surname & Other names Date of birth can be entered... in a specified format Mobile phone number can be entered... in a specified format Driving Licence can be entered... as a tick-box, YES/NO etc... [8] 4

(c) High level response [6-8 marks] Candidates answer the question with a complete and comprehensive discussion including many of the points below. Their answers show a thorough understanding of the importance of good user interface design, and a clear connection between good design and its implications using a variety of examples from the student recruitment agency and/or elsewhere. The information will be presented in a structured and coherent form. There will be few if any errors in spelling, grammar and punctuation. Technical terms will be used appropriately and correctly. Medium level response [3-5 marks] Candidates discuss some of the points below. They demonstrate an awareness of the need for good user interface design and provide some examples of what would constitute good design but the two are not always linked effectively. Some relevant examples are given, but these are mainly from the question and lack in variety. The information will be presented in a structured format. There may be occasional errors in spelling, grammar and punctuation. Technical terms will be mainly correct. Low level response [0-2 mark] Candidates will demonstrate a limited understanding of the question. A few points from the list below will be made. Elements of what constitutes good design may be stated, but their implications are not argued. Use of examples to illustrate the points made will be minimal and/or not effective in enhancing the argument. Information will be poorly expressed and there will be a limited, if any, use of technical terms. Errors of grammar, punctuation and spelling may be intrusive. 5

Points to be made may include: The UI should be effective ie all the data required can be input accurately The data capture form can help by ensuring data is already in format to be input... eg boxes can be supplied for individual characters/format of date of birth/telephone numbers... and clear instructions to users As a result, the agency will not lose contacts of students resulting in potential loss of business The UI should be efficient ie make best use of available resources... the input screen should be in the same order as the data capture form as this does not waste staff time finding the data on the form use of user interface tools like drop downs and check boxes (eg for driving license) This maximises throughput of data entry ultimately saving money for the agency Examples other than the student recruitment agency may also be given. [8] 3 (a) (i) A single step/instruction within the algorithm Suitable example [2] (ii) Whether code is executed depends on a condition Eg IF statement in line(s) 04 (to 12) [2] Accept multi-line statements eg IF as example A task (not single is BOD) Not a line of code. (b) While is contained within the IF Statement... as the IF statement goes from 04(06) to 12... and the WHILE statement goes from 07 to 10 [3] If candidate identifies the IF and/or the While statement but is describing something other than nesting, mark as too vague. 6

(c) (i) Indentation of Underlined phrase does not have to be exact, any... blocks of code which are included within a control correct name for the technique is worth a mark structure... allows you to see clearly where the structure starts Accept other techniques as long as they are used in and ends the code Suitable example from code [2] (ii) EITHER Use of meaningful identifiers... instead of A, B, C... which tell us what the values represent OR Use of comments... which explain the steps of the algorithm to the reader... but are not to be executed [2] Underlined phrase does not have to be exact, any correct name for the technique is worth a mark Accept other techniques as long as they are not used in the code (d) In line 4 = is a comparison/relational/equality operator...... which checks if A is the same as B (and returns TRUE or FALSE) In line 10 = is an assignment operator... which sets the value of A to become the value of B [4] (e) Initialise the value of C... before it is used ( in line 09)... otherwise previous values of C will lead to wrong results [2] give benefit of doubt for line 4 is a condition Assigns a value on it s own is too vague, but if a reason for the assignment given, then give it a BOD. 7

(f) In white box testing, the actual steps of the algorithm are tested...... to make sure all parts work as intended... you need to test all possible paths through the algorithm In black box testing, sets of inputs are tested...... to see if they produce the intended outputs... you need to test all possible types of input/situations... but how the algorithm works is not considered (Max of 3 if candidate mentions or describes only white box or black box testing) [4] (g) (i) PATH 01, 02, 03, 04(TRUE) 05 (06), 12 VALUES A = 10, B = 1, C =0 (ii) PATH 01, 02, 03, 04(FALSE) 06, 07(TRUE) 08, 09, 10, 07(FALSE), 11, 12/ 07(FALSE), 10, 11, 12 VALUES A = 2, B = 2, C =1 [5] [4] To mark incorrect answers remember that: the 2 nd bullet is for knowing that if A=B then control moves to the next line; the 3 rd bullet is for knowing that the ELSE section is not exectuted. There is no follow through. If candidate says line 4 is false, they are likely to get no marks Give benefit of doubt if value of condition not shown but path correct (h) The first input (A) is greater than the second input (B) Any suitable example [2] 8

4 Example Allow loops starting from 0 to n -1 REPEAT INPUT NumberOfRings IF NumberOfRings < 1 OR NumberOfRings > 8 THEN OUTPUT The number must be between 1 and 8 END IF UNTIL NumberOfRings >= 1 AND NumberOfRings <= 8 INPUT Ring(1) FOR i = 2 TO NumberOfRings REPEAT INPUT Ring(i) IF Ring(i) >= Ring(i 1) THEN OUTPUT The number must be lower than the the previous input. END IF UNTIL Ring(i) < Ring(i 1) NEXT i FOR i = (NumberOfRings + 1) TO 8 Ring(i) = 0 NEXT i 9

Award mark for an algorithm that addresses the following mark points: Input number of rings Number input must be between 1 and 8... an appropriate error message is given if it isn t Uses a loop set from 1 (or from 2 if 1 dealt with separately) to Number of Rings (Within the loop) Input for number of teeth Checks that number of teeth < number of teeth for previous ring... but does not check this for the first ring All unused array positions filled with 0 Total [100] [8] 10

OCR (Oxford Cambridge and RSA Examinations) 1 Hills Road Cambridge CB1 2EU OCR Customer Contact Centre 14 19 Qualifications (General) Telephone: 01223 553998 Facsimile: 01223 552627 Email: general.qualifications@ocr.org.uk www.ocr.org.uk For staff training purposes and as part of our quality assurance programme your call may be recorded or monitored Oxford Cambridge and RSA Examinations is a Company Limited by Guarantee Registered in England Registered Office; 1 Hills Road, Cambridge, CB1 2EU Registered Company Number: 3484466 OCR is an exempt Charity OCR (Oxford Cambridge and RSA Examinations) Head office Telephone: 01223 552552 Facsimile: 01223 552553 OCR 2011