Pages in this set

Page 1

Preview of page 1
General Certificate of Education
Advanced Subsidiary Examination
June 2014


Computing COMP1/PM

Unit 1 Problem Solving, Programming, Data Representation and
Practical Exercise



Preliminary Material

To be opened and issued to candidates on or after Saturday 1 March 2014, subject to the
instructions given in the Teachers' Notes (COMP1/TN).
A
Information

This…

Page 2

Preview of page 2
2


INSTRUCTIONS FOR CANDIDATES

The question paper is divided into four sections and a recommendation is given to candidates as to
how long to spend on each section. Below are the recommended timings for the 2014 examination.


SECTION A
You are advised to spend no more than 35 minutes on…

Page 3

Preview of page 3
3


Card Predict

The Skeleton Program in this Preliminary Material is a program for the one-player game "Card
Predict".

To play the game "Card Predict" a standard deck of playing cards is used. There are 52 cards in a
standard deck. Each card has a suit (spades, hearts, diamonds or…

Page 4

Preview of page 4
4


Figure 1


At the start of the game, all the cards in the deck are placed
face down in a single pile.




The top card of the deck is turned over and placed next to
the deck so that the player can see the suit and the rank of…

Page 5

Preview of page 5
5


The Skeleton Program

In the Skeleton Program there is a menu containing four options.

The first two options on the menu allow the user to play the game "Card Predict". If the user selects
option 1 they will play the game "Card Predict" after the deck has been shuffled…

Page 6

Preview of page 6
6


The Data File

1
1
3
2
2
2
4
2
1
3
2
3
1
4
1
6
1
5
3
4
3
5
3
6
3
7
3
8
2
12
3
9
4
4
4
5
4
6
4
7
2
13
4
8
4
9…

Page 7

Preview of page 7
7


10
3
11
3
12
1
7
1
8
1
9
2
1
2
4
2
5
2
6
2
7
1
10
1
11
1
12
1
13
2
8
2
9
2
10
2
11
3
1
3
3
3
13
4
1
1
2
4
3…

Page 8

Preview of page 8
8


There are no questions printed on this page




Acknowledgement of copyright-holders and publishers

Permission to reproduce all copyright material has been applied for. In some cases efforts to contact copyright-holders have been unsuccessful and AQA will
be happy to rectify any omissions of acknowledgements in future papers if notified.…

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all resources »