Question 12
AQA Computer Science Specimen Paper 1B (8525/1B)GCSE3 marks
On the specification
- 12.1
- 3.1 Fundamentals of algorithms
- 12.2
- 3.1 Fundamentals of algorithms
Question text
12 A developer is developing a program for a client. The developer is given the following instructions. “Many of my friends ask me to walk their dogs for them. All of these friends pay me to do this and the amount I get paid depends on how long I walk their dogs for. If they have more than one dog then I don’t charge the owner any extra. I like to walk the dogs in the afternoon when the weather is normally best because I often get colds. I need you to help me keep track of how much I’m owed – fortunately for me all of my friends have different first names so it is really easy to tell them apart. I charge £10 for every 30 minutes of the walk (and I always round this up so 47 minutes would be two half-hour charges or £20). 12.1 The developer needs to remove all of the unnecessary detail from the client’s request. Shade the lozenge next to the name for this process. [1 mark] A Abstraction B Conversion C Decomposition D Validation 12.2 The developer has decided that the following two points are the only important details from the client’s request. • The charge is based on time and not how many dogs are walked. • The charge is £10 every 30 minutes. State two other relevant details that the developer has missed. [2 marks]