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

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

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

MARK SCHEME for the October/November 2011 question paper for the guidance of teachers 9691 COMPUTING

0420 COMPUTER STUDIES

9694 THINKING SKILLS

MARK SCHEME for the October/November 2015 series 5090 BIOLOGY. 5090/32 Paper 3 (Practical Test), maximum raw mark 40

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

This document consists of 6 printed pages.

MARINE SCIENCE 5180/03 Paper 3 Practical Assessment Paper October/November 2016 MARK SCHEME Maximum Mark: 60. Published

A Level Computer Science H446/02 Algorithms and programming. Practice paper - Set 1. Time allowed: 2 hours 30 minutes

MARK SCHEME for the October/November 2014 series 0625 PHYSICS. 0625/62 Paper 6 (Alternative to Practical), maximum raw mark 40

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

MARK SCHEME for the October/November 2014 series 0610 BIOLOGY. 0610/62 Paper 6 (Alternative to Practical), maximum raw mark 40

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

MARK SCHEME for the October/November 2013 series 0610 BIOLOGY. 0610/63 Paper 6 (Alternative to Practical), maximum raw mark 40

MARK SCHEME for the May/June 2011 question paper for the guidance of teachers 0610 BIOLOGY

0607 CAMBRIDGE INTERNATIONAL MATHEMATICS

MARK SCHEME for the October/November 2015 series 0470 HISTORY. 0470/23 Paper 2, maximum raw mark 50

MARK SCHEME for the October/November 2010 question paper for the guidance of teachers 9701 CHEMISTRY

9705 DESIGN AND TECHNOLOGY

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

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

7048 CDT: DESIGN AND COMMUNICATION

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

class TicTacToe: def init (self): # board is a list of 10 strings representing the board(ignore index 0) self.board = [" "]*10 self.

MARK SCHEME for the May/June 2010 question paper for the guidance of teachers 0610 BIOLOGY. 0610/51 Paper 51 (Practical Test), maximum raw mark 40

CPSC 217 Assignment 3 Due Date: Friday March 30, 2018 at 11:59pm

MARK SCHEME for the May/June 2012 question paper for the guidance of teachers 9701 CHEMISTRY

0420 COMPUTER STUDIES

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

MARK SCHEME for the May/June 2010 question paper 9700 BIOLOGY. 9700/35 Paper 31 (Advanced Practical Skills 1), maximum raw mark 40

Cambridge Assessment International Education Cambridge Ordinary Level. Published

9705 DESIGN AND TECHNOLOGY

Cambridge International Examinations Cambridge International Advanced Subsidiary and Advanced Level

MARK SCHEME for the October/November 2008 question paper 9700 BIOLOGY

Cambridge Assessment International Education Cambridge Ordinary Level. Published

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

Cambridge Assessment International Education Cambridge Ordinary Level. Published

0418 INFORMATION TECHNOLOGY

Y8 & Y9 Number Starters A Spire Maths Activity

BCD Adder. Lecture 21 1

0417 INFORMATION AND COMMUNICATION TECHNOLOGY

INTRODUCTION TO COMPUTER SCIENCE I PROJECT 6 Sudoku! Revision 2 [2010-May-04] 1

More Recursion: NQueens

MARK SCHEME for the May/June 2010 question paper for the guidance of teachers 0610 BIOLOGY

MARK SCHEME for the May/June 2011 question paper for the guidance of teachers 0610 BIOLOGY

0445 DESIGN AND TECHNOLOGY

MARK SCHEME for the October/November 2007 question paper 9700 BIOLOGY

Digital Imaging Rochester Institute of Technology

Math 3012 Applied Combinatorics Lecture 2

NCSS Statistical Software

This assignment is worth 75 points and is due on the crashwhite.polytechnic.org server at 23:59:59 on the date given in class.

9705 DESIGN AND TECHNOLOGY

The Eighth Annual Student Programming Contest. of the CCSC Southeastern Region. Saturday, November 3, :00 A.M. 12:00 P.M.

0445 DESIGN AND TECHNOLOGY

LEVEL A: SCOPE AND SEQUENCE

AP Computer Science A Practice Test 6 - Picture and Elevens Labs

SudokuSplashZone. Overview 3

COMPETENCY BASED ASSESSMENT TEST SUBJECT: MATHEMATICS TOTAL MARKS: 25. Points to Remember

Ok, we need the computer to generate random numbers. Just add this code inside your main method so you have this:

The Eliot Bank and Gordonbrock Schools Federation. Calculation Policy. Addition Subtraction Multiplication Division Take away practically

0445 DESIGN AND TECHNOLOGY

Problem F. Chessboard Coloring

RGB COLORS. Connecting with Computer Science cs.ubc.ca/~hoos/cpsc101

Sudoku Solver Version: 2.5 Due Date: April 5 th 2013

Mobile Application Programming: Android

THE GUESS OF DEATH. PSEUDOCODE: The logic for my code will be. Dawson Dill 152BC. A less convinient form of analog hangman

Microcontroller principles

Microcontroller principles

Project 2 - Blackjack Due 7/1/12 by Midnight

Linguistics Big Assignment

WSNTG Online Entry Form User Manual for Registered Co-ordinators

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

KenKen Strategies 17+

MAS336 Computational Problem Solving. Problem 3: Eight Queens

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

The rectangle above has been divided into squares. Assume that the length of each side of a small square is 1 cm.

Battlehack: Voyage Official Game Specs

Standard Sudoku point. 1 point. P a g e 1

In the game of Chess a queen can move any number of spaces in any linear direction: horizontally, vertically, or along a diagonal.

Game Design. Level 3 Extended Diploma Unit 22 Developing Computer Games

Problem Darts Input File: DartsIn.txt Output File: DartsOut.txt Project File: Darts

UTD Programming Contest for High School Students April 1st, 2017

8. You Won t Want To Play Sudoku Again

Whole Numbers. Whole Numbers. Curriculum Ready.

Eight Queens Puzzle Solution Using MATLAB EE2013 Project

Arrays. Independent Part. Contents. Programming with Java Module 3. 1 Bowling Introduction Task Intermediate steps...

0445 DESIGN AND TECHNOLOGY

2 a Shade one more square to make a pattern with just one line of symmetry.

It Stands to Reason: Developing Inductive and Deductive Habits of Mind

(Specifications A and B)

POST TEST KEY. Math in a Cultural Context*

Multiplication and Division MODELS

Describes the operation of multiplying by ten as adding a nought

ENEE 150: Intermediate Programming Concepts for Engineers Spring 2018 Handout #7. Project #1: Checkers, Due: Feb. 19th, 11:59p.m.

Overview. This lab exercise requires. A windows computer running Xilinx WebPack A Digilent board. Contains material Digilent, Inc.

CSE548, AMS542: Analysis of Algorithms, Fall 2016 Date: Sep 25. Homework #1. ( Due: Oct 10 ) Figure 1: The laser game.

2016 Canadian Computing Olympiad Day 2, Problem 1 O Canada

Table of Contents. Table of Contents 1

Activity 1: Play comparison games involving fractions, decimals and/or integers.

Transcription:

CAMBRIDGE INTERNATIONAL EXAMINATIONS Cambridge International Advanced Subsidiary and Advanced Level MARK SCHEME for the October/November 2014 series 9691 COMPUTING 9691/22 Paper 2 (Written Paper), maximum raw mark 75 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 will not enter into discussions about these mark schemes. Cambridge is publishing the mark schemes for the October/November 2014 series for most Cambridge IGCSE, Cambridge International A and AS Level components and some Cambridge O Level components. IGCSE is the registered trademark of Cambridge International Examinations.

Page 2 Mark Scheme Syllabus Paper 1 (a) (i) Mark as follows: 1 mark for suitable labels/explanations for fields 1 mark for name and age entry options 1 mark for radio buttons or similar for Boolean club member field 1 mark for event choice (e.g. drop down list or radio buttons) 1 mark for fee box 1 mark for Confirm button [6] (ii) Up to two marks for justification of features used in (i) [2] (b) (i) Field Name Data Type Field Size (bytes) CompetitorName String 26 (approx.) 15 40 CompetitorAge Integer /Byte /ShortInt 4 1 2 ClubMember Boolean 1 EventEntered Char/Character 1/2 EntryFee Currency/Real/float/single /decimal 4/8 /16 1 mark for each cell correct (Do not give a mark for a range) [10] (ii) 1 mark for adding all 5 field lengths together (e.g. 40 bytes) 1 mark for multiplying by 100 (e.g. 4000 bytes) 1 mark for adding 10% overheads (e.g. 4400 bytes) [3]

Page 3 Mark Scheme Syllabus Paper 2 (a) Loop 1 2 3 4 5 6 7 8 s z x y m List[m] List[m] = s List[m] > s 64 1 15 - - - FALSE - - - - 1 9 8 52 FALSE FALSE 2 11 12 79 (FALSE) TRUE 3 9 10 67 (FALSE) (TRUE) 4 TRUE 9 64 TRUE OUTPUT 9 [8] 1 mark for each column 2 to 8 correct (if no marks mark row by row) 1 mark for OUTPUT correct (b) searches for s (64) // (binary) search outputs position/index of requested value in list [2]

Page 4 Mark Scheme Syllabus Paper 3 (a) (i) 1 mark for suitable values for white and black tokens 1 mark for suitable value for empty cell (e.g. NULL, "", 0, 1) [2] (ii) e.g. Pascal VAR Grid : Array[1..6, 1..7] OF CHAR; FOR Row := 1 TO 6 DO FOR Column := 1 TO 7 DO Grid[Row, Column] := NULL; // 3 marks // 1 mark // 1 mark // 2 marks Mark as follows: 1 mark for correct identifier 1 mark for correct dimensions (6 7 or 7 6 elements) 1 mark for data type (needs to match the assignment) 1 mark for outer loop 1 mark for inner loop 1 mark for correct indexes 1 mark for correct assignment of a value to represent an empty cell No marks for pseudocode [7] (iii) Grid[2, 4] := 'X'; // 2 marks [2] (b) e.g. Pascal FOR Row := 6 DOWNTO 1 DO BEGIN FOR Column := 1 TO 7 DO Write(Grid[Row, Column]); Writeln; END; 1 mark for correctly counting down 1 mark for correctly nested loops 1 mark for correct output statement with correct array element indexes 1 mark for correct new line (i.e. new line in outer loop only) 1 mark for appropriate indentation and suggested variable names (row, column, grid) [max 4]

Page 5 Mark Scheme Syllabus Paper (c) (i) FUNCTION ColumnNumberValid(x : INTEGER) RETURNS BOOLEAN DECLARE Valid : BOOLEAN IF (x < 1) OR (x > 7) // x outside range? THEN Valid FALSE // column number not within range ELSE IF Grid[6, x] = NULL // cell in top row empty? THEN Valid TRUE // cell empty ELSE Valid FALSE // cell not empty ENDIF ENDIF RETURN Valid ENDFUNCTION 1 mark for each gap correctly filled [8] (c) (ii) Type of test data Example test data Justification Normal/valid Any integer between 1 and 7 Boundary/Borderline Any integer between 1 and 7 A column number with top row free A column number with column full/nearly full Accept boundary values for column number, e.g. 1/7 (first or last column) Erroneous/Invalid Any integer out of range (<1 or >7) out of range 1 mark per cell correctly entered [9]

Page 6 Mark Scheme Syllabus Paper (d) 01 REPEAT 02 INPUT ChosenColumnNumber 03 UNTIL ColumnNumberValid(ChosenColumnNumber) 04 Row 1 // start with bottom row and find first empty row 05 WHILE Grid[Row, ChosenColumnNumber] <> NULL 06 Row Row + 1 07 ENDWHILE 08 IF NextPlayer = 'A' 09 THEN 10 Grid[Row, ChosenColumnNumber] 'O' // 'X' 11 ELSE 12 Grid[Row, ChosenColumnNumber] 'X' // 'O' 13 ENDIF 1 mark each for completing lines 3, 5, 6, 8. 1 mark for completing lines 10 and 12 correctly [5] (e) (i) Player: passed by value 1 mark Number: passed by reference 1 mark [2] (ii) GetColumn(NextPlayer, ChosenColumnNumber) 1 mark for each correct parameter [2] (f) indentation meaningful identifiers Initialising variables annotation/comments parameters procedure calls/modular structure keywords in capital letters [max 3]