Cambridge Assessment International Education Cambridge International General Certificate of Secondary Education. Published

Similar documents
Cambridge Assessment International Education Cambridge Ordinary Level. Published

Cambridge Assessment International Education Cambridge Ordinary Level. Published

Cambridge Assessment International Education Cambridge Ordinary Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge Ordinary Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge Ordinary Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International General Certificate of Secondary Education. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

Cambridge Assessment International Education Cambridge Ordinary Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

9713 APPLIED INFORMATION AND COMMUNICATION 9713/02 Paper 2 (Practical Test A), maximum raw mark 120

Cambridge International General Certificate of Secondary Education 0478 Computer Science June 2015 Principal Examiner Report for Teachers

MARK SCHEME for the June 2005 question paper 0580/0581 MATHEMATICS

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

9691 COMPUTING. 9691/22 Paper 2 (Written Paper), maximum raw mark 75

MARK SCHEME for the October/November 2013 series 9691 COMPUTING. 9691/21 Paper 2 (Written Paper), maximum raw mark 75

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

The content assessed by the examination papers and the type of questions are unchanged.

Example Candidate Responses. Cambridge International AS & A Level Computer Science. Paper 2

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Cambridge International Examinations Cambridge Ordinary Level

9691 COMPUTING. 9691/23 Paper 2 (Written Paper), maximum raw mark 75

MARK SCHEME for the October/November 2013 series 9691 COMPUTING. 9691/23 Paper 2 (Written Paper), maximum raw mark 75

0607 CAMBRIDGE INTERNATIONAL MATHEMATICS

MARK SCHEME for the October/November 2015 series 9691 COMPUTING. 9691/22 Paper 2 (Written Paper), maximum raw mark 75

Cambridge Assessment International Education Cambridge International General Certificate of Secondary Education. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

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

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

Cambridge International Examinations Cambridge Ordinary Level

0607 CAMBRIDGE INTERNATIONAL MATHEMATICS

Cambridge International General Certificate of Secondary Education 0478 Computer Science June 2016 Principal Examiner Report for Teachers

MARK SCHEME for the October/November 2015 series 9691 COMPUTING. 9691/23 Paper 2 (Written Paper), maximum raw mark 75

7010 COMPUTER STUDIES

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

MARK SCHEME for the October/November 2013 series 0580 MATHEMATICS

Cambridge Ordinary Level 2210 Computer Science November 2016 Principal Examiner Report for Teachers

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

0607 CAMBRIDGE INTERNATIONAL MATHEMATICS

MARK SCHEME for the May/June 2011 question paper for the guidance of teachers 9691 COMPUTING. 9691/23 Paper 2 (Written Paper), maximum raw mark 75

0420 COMPUTER STUDIES

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level. Published

9608 COMPUTER SCIENCE

9691 COMPUTING. 9691/21 Paper 2 (Written Paper), maximum raw mark 75

MARK SCHEME for the May/June 2011 question paper for the guidance of teachers 9691 COMPUTING. 9691/22 Paper 2 (Written Paper), maximum raw mark 75

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

TABLE OF CONTENTS 2 CHAPTER 1 3 CHAPTER 2 4 CHAPTER 3. Algorithm Design & Problem Solving. Programming. Databases

0607 CAMBRIDGE INTERNATIONAL MATHEMATICS

MARK SCHEME for the November 2005 question paper 0580/0581 MATHEMATICS

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

0607 CAMBRIDGE INTERNATIONAL MATHEMATICS

MARK SCHEME for the May/June 2006 question paper 9691 COMPUTING

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level

Paper 2 Problem-solving and Programming For Examination from 2016 SPECIMEN PAPER 1 hour 45 minutes

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level

9608 COMPUTER SCIENCE

MARK SCHEME for the October/November 2013 series 0580 MATHEMATICS

Cambridge International Examinations Cambridge International Advanced Level

Software Development Techniques. 26 November Marking Scheme

0606 ADDITIONAL MATHEMATICS

Software Development Techniques. December Sample Exam Marking Scheme

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge Ordinary Level 2210 Computer Science June 2016 Principal Examiner Report for Teachers

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level. Published

Cambridge International Examinations Cambridge International General Certificate of Secondary Education. Published

0580 MATHEMATICS. Mark schemes should be read in conjunction with the question paper and the Principal Examiner Report for Teachers.

Cambridge Assessment International Education Cambridge International Advanced Subsidiary and Advanced Level. Published

MARK SCHEME for the May/June 2012 question paper for the guidance of teachers 9691 COMPUTING. 9691/21 Paper 2 (Written Paper), maximum raw mark 75

Published. Mark schemes should be read in conjunction with the question paper and the Principal Examiner Report for Teachers.

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

9691 COMPUTING. 9691/21 Paper 2 (Written Paper), maximum raw mark 75

October/November 2005 READ THESE INSTRUCTIONS FIRST

Paper 2 Problem-solving and Programming For Examination from 2015 SPECIMEN PAPER 1 hour 45 minutes

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Advanced Subsidiary Level and Advanced Level COMPUTING

0610 BIOLOGY. 0610/61 Paper 6 (Alternative to Practical), maximum raw mark 40

Transcription:

Cambridge Assessment International Education Cambridge International General Certificate of Secondary Education COMPUTER SCIENCE 0478/21 Paper 2 MARK SCHEME Maximum Mark: 50 Published This mark scheme is published as an aid to teachers and candidates, to indicate the requirements of the examination. It shows the basis on which Examiners were instructed to award marks. It does not indicate the details of the discussions that took place at an Examiners meeting before marking began, which would have considered the acceptability of alternative answers. Mark schemes should be read in conjunction with the question paper and the Principal Examiner Report for Teachers. Cambridge International will not enter into discussions about these mark schemes. Cambridge International is publishing the mark schemes for the series for most Cambridge IGCSE, Cambridge International A and AS Level components and some Cambridge O Level components. This syllabus is approved for use in England, Wales and Northern Ireland as a Cambridge International Level 1/Level 2 Certificate. This document consists of 14 printed pages. UCLES 2018 [Turn over

Generic Marking Principles These general marking principles must be applied by all examiners when marking candidate answers. They should be applied alongside the specific content of the mark scheme or generic level descriptors for a question. Each question paper and mark scheme will also comply with these marking principles. GENERIC MARKING PRINCIPLE 1: Marks must be awarded in line with: the specific content of the mark scheme or the generic level descriptors for the question the specific skills defined in the mark scheme or in the generic level descriptors for the question the standard of response required by a candidate as exemplified by the standardisation scripts. GENERIC MARKING PRINCIPLE 2: Marks awarded are always whole marks (not half marks, or other fractions). GENERIC MARKING PRINCIPLE 3: Marks must be awarded positively: marks are awarded for correct/valid answers, as defined in the mark scheme. However, credit is given for valid answers which go beyond the scope of the syllabus and mark scheme, referring to your Team Leader as appropriate marks are awarded when candidates clearly demonstrate what they know and can do marks are not deducted for errors marks are not deducted for omissions answers should only be judged on the quality of spelling, punctuation and grammar when these features are specifically assessed by the question as indicated by the mark scheme. The meaning, however, should be unambiguous. GENERIC MARKING PRINCIPLE 4: Rules must be applied consistently e.g. in situations where candidates have not followed instructions or in the application of generic level descriptors. UCLES 2018 Page 2 of 14

GENERIC MARKING PRINCIPLE 5: Marks should be awarded using the full range of marks defined in the mark scheme for the question (however; the use of the full mark range may be limited according to the quality of the candidate responses seen). GENERIC MARKING PRINCIPLE 6: Marks awarded are based solely on the requirements as defined in the mark scheme. Marks should not be awarded with grade thresholds or grade descriptors in mind. UCLES 2018 Page 3 of 14

Section A 1(a)(i) 1 mark for any meaningful array name related to Task 1 2 1 mark for correct data type AND use related to Task 1 2 4 These are examples, many alternatives are valid. ItemCode string to store the item codes MenuItem string to store the menu items Price real to store the prices UCLES 2018 Page 4 of 14

1(a)(ii) 1 mark for any meaningful variable name related to Task 2 2 1 mark for correct data type AND use related to Task 2 2, e.g. 4 These are examples, many alternatives are valid. ItemCode string to allow items from menu to be input ItemCost real to hold price of current menu item TotalCost real to store current total price of the order Quantity integer to store the quantity of an item ordered UCLES 2018 Page 5 of 14

1(b) Any five from: Initialisation Loop for entry order Input of item code and quantity Calculation of total price Method of termination of loop e.g. use of flag Generation of unique order code Display Order display complete with unique order code, menu items, quantities, prices, total cost of order Example algorithm Total_Cost 0 Order_Complete FALSE Order_Item 0 Order_Number 0 Daily_Order_Counter 1 // The following would be repeated throughout the day REPEAT OUTPUT "Enter item code or X to finish" INPUT Item_Code[Order_Item] IF Item_Code[Order_Item] <> "X" THEN Menu_Count 0 Menu_Flag FALSE REPEAT IF Menu_Code[Menu_Count] = Item_Code[Order_Item] THEN Menu_Place[Order_Item] Menu_Count Menu_Flag TRUE Total_Cost Total_Cost + Menu_Price[Menu_Count] ELSE Menu_Count Menu_Count + 1 ENDIF UNTIL Menu_Flag TRUE OUTPUT "How many would you like? " 5 UCLES 2018 Page 6 of 14

1(b) INPUT Item_Quantity[Order_Item] Order_Item Order_Item + 1 ELSE Order_Complete TRUE Order_Number Order_Number + 1 ENDIF UNTIL Order_Complete = TRUE OUTPUT "Order Number ", Order_Number Counter 0 WHILE Item_Code[Counter] <> "X" DO Menu_Count Menu_Place[Counter] OUTPUT Item_Code[Counter], " ", Menu_Item{Menu_Count], " ", Price[Menu_Count], " ",Item_Quantity[Counter] Counter Counter + 1 ENDWHILE OUTPUT "Total cost of order = ", Total_Cost Daily_Order_Code[Daily_Order_Counter] Order_Number Daily_Total_Cost_of_Order[Daily_Order_Counter] Total_Cost 1(c) Any four from: Explanation of using an input prompt and statement to enter the percent of the takings that are profit Explanation of how the total takings are calculated Explanation of how the percentage profits are calculated (from the input value) Explanation of how the output is done // Explanation showing correct output statement with the daily takings, profit and percent value used in the calculation 4 UCLES 2018 Page 7 of 14

1(d) 1 mark for each correct test data item and related reason for Task 3 which requires a percentage to be input (Answers MUST relate to pre-release task) e.g. Test data: -10 Reason: To check that negative values of percentage are rejected (or can identify a loss) Test data: 7.5 Reason: To check that normal data is accepted Test data: 7Percent Reason: To check that incorrect data / data types are rejected 3 UCLES 2018 Page 8 of 14

Section B 2 1 mark for each correct line, maximum 5 marks Term Top-down design Description Pre-written code to include in your own program to carry out a common task. 5 Structure diagram Shows the steps representing an algorithm using various shapes of boxes. Flowchart Shows the hierarchy of the different components which make up a system. Pseudocode Shows the values of variables as you manually test your program. Library routine Breaks down a system into successively smaller pieces. Trace table Describes a program using a simplified high-level notation. UCLES 2018 Page 9 of 14

3 1 mark for description 1 mark for example, e.g. To test if the value input falls between a given upper bound and a given lower bound If a month has to be input using an integer, it must be between 1 and 12 inclusive. 6 1 mark for description 1 mark for example, e.g. To test if the data input is over/under a certain number of characters An international telephone number can be no longer than 15 digits. 1 mark for description 1 mark for example, e.g. To test if the input is of the correct data type If the input is expecting integer(s) to be entered, it will not permit a string to be entered. 4(a) 4(b) 1 mark for each point: Expects 50 numbers to be input Totals the numbers as they are entered / carries out a running total Outputs the result after the numbers have all been entered 1 mark for each point (max 3 marks): Correct initialisation of counter for REPEAT or WHILE loop Correct loop statements and counter increment Correct statements inside loop Correct statements outside loop 3 3 e.g. Total 0 Count 1 WHILE Count <= 50 DO INPUT Num Total Total + Num Count Count + 1 ENDWHILE OUTPUT Total Accept alternative correct ranges e.g. Count 0 WHILE Count < 50 DO UCLES 2018 Page 10 of 14

4(b) Total 0 Count 0 REPEAT INPUT Num Total Total + Num Count Count + 1 UNTIL Count = 50 OUTPUT Total Accept alternative correct ranges e.g. Count 1 UNTIL Count > 50 4(c) 1 mark for each correct point in description, e.g. Use a variable for the counter upper limit that is input by the user. or loop using a condition control until condition is met 2 UCLES 2018 Page 11 of 14

5(a) Flag TestNum Num OUTPUT True 7 6 5 4 3 2 1 7 2 <------------------- 1 Mark ----------------------> <- 1 Mark - > UCLES 2018 Page 12 of 14

5(b) Flag TestNum Num OUTPUT True 6 5 4 3 False 2 <---------------- 1 Mark -------------> ---------1 Mark ------------------- > 5(c) 1 mark for correct purpose e.g. Works out if the number entered is a prime number. [1] UCLES 2018 Page 13 of 14

6(a) Field Data type 2 PCID Text ScreenSize Number Type Text Price Currency 6(b) 2 marks for 4 correct data types 1 mark for 2 or 3 correct data types 1 mark correct Fields included 1 mark correct Table and Show on all fields used 1 mark for correct sort, must be descending on Price 1 mark for correct criteria for the fields 4 Field: PCID ScreenSize RAM Type HDD(Gb) Price Table: PCSTOCK PCSTOCK PCSTOCK PCSTOCK PCSTOCK PCSTOCK Sort: Descending Show: Criteria: = DT >1000 or: UCLES 2018 Page 14 of 14