Question 1
OCR Computer Science June 2019 Paper 2AS25 marks
On the specification
- (a)(i)
- 2.1 Elements of computational thinking
- (a)(ii)
- 2.1 Elements of computational thinking
- (a)(iii)
- 2.1 Elements of computational thinking
- (b)(i)
- 2.1 Elements of computational thinking
- (b)(ii)
- 2.1 Elements of computational thinking
- (c)
- 2.1 Elements of computational thinking2.2 Problem solving and programming
- (d)
- 2.1 Elements of computational thinking
- (e)
- 3.2 Programming project: Design of the solution3.3 Programming project: Developing the solution
Question text
1 Janet is designing a piece of software for a furniture company. The software will allow a user to plan the position of furniture in a room. Users will be able to set the size and shape of a room, and then choose furniture from a library of furniture items. These pieces of furniture will have set sizes and designs and the user will be able to view the room in 3D to see how it looks from a variety of angles. (a) Janet is using computational thinking techniques during the design process. (i) Janet is removing some aspects during the design of the software to simplify it and to make it easier to produce. State the name of the computational thinking technique that Janet is using. [1] (ii) The computational thinking technique in part (a)(i) makes it easier to produce the software. Identify one additional reason why this technique is necessary. [1] (iii) Explain, with examples, two ways in which Janet will apply the computational thinking technique in part (a)(i) to this project. 1 2 [4] (b) Janet is planning the inputs and outputs for the software. (i) Identify two inputs that the software will need to take. 1 2 [2] (ii) Identify two outputs that the software will need to produce. 1 2 [2] (c) Janet is going to decompose the problem to produce a set of subprograms. Explain the benefits of using subprograms to produce this software. [4] (d) The program allows the user to enter dimensions of the room and the furniture. There are preconditions that must be met before the software will draw the room and furniture. Suggest two preconditions that must be met before the software will run. 1 2 [2] (e)* Janet is planning the testing strategy for the software. Discuss the different testing methods available to Janet, and make a recommendation for which ones she should use. [9]