CAPE Computer Science Unit 2 · 2005 · Paper 1
41 questions and parts from this paper. Open one to see it in full, then practise it on Quelpr and get it marked against the mark scheme.
- 1(a)6 marksName and describe THREE important attributes of well-engineered software.
- 1(b)4 marksList FOUR fundamental activities that are common to all software development approaches.
- 2(a)4 marksWhat are the MAIN features of the waterfall model of software development?
- 2(b)2 marksIn what stages of the waterfall model are users most involved?
- 2(c)4 marksBriefly discuss ONE advantage and ONE disadvantage of evolutionary development over the waterfall approach.
- 3(a)6 marksBriefly describe THREE techniques that can be used to gather the requirements for a new system.
- 3(b)(i)2 marksState what a feasibility report produced early in the analysis phase contains.
- 3(b)(ii)2 marksState why a feasibility report is produced early in the analysis phase.
- 4(a)6 marksDraw THREE of the symbols used in a data flow diagram and say why EACH is used.
- 4(b)4 marksDifferentiate between functional requirements and non-functional requirements.
- 5(a)4 marksBriefly discuss ONE advantage and ONE disadvantage of the command language style of user interface over the menu selection interface.
- 5(b)6 marksIn a hospital GUI used to view a patient's current condition (shown in Figure 1), suppose a nurse enters an incorrect patient name. Discuss THREE features that should be considered when displaying the error message, to…
- 6(a)6 marksList SIX main steps you must take in formulating the program.
- 6(b)4 marksExplain how your design approach would have been different if you were asked to write the same program using an object-oriented programming language.
- 7(a)(i)2 marksBriefly describe the Functional classification of programming languages.
- 7(a)(ii)2 marksBriefly describe the Declarative classification of programming languages.
- 7(a)(iii)2 marksBriefly describe the Imperative (procedural) classification of programming languages.
- 7(b)4 marksDiscuss TWO advantages of a top-down modular approach to programming.
- 8(a)(i)2 marksBriefly describe the characteristics of 2nd generation programming languages.
- 8(a)(ii)2 marksBriefly describe the characteristics of 3rd generation programming languages.
- 8(b)(i)2 marksBriefly explain how Run-time can influence the choice of a particular programming language.
- 8(b)(ii)2 marksBriefly explain how Portability can influence the choice of a particular programming language.
- 8(b)(iii)2 marksBriefly explain how Maintainability can influence the choice of a particular programming language.
- 910 marksA soft-drink manufacturer sells five soft-drink flavours: banana, cherry, mango, orange and pineapple. The company knows that banana and pineapple are the two best-selling flavours and is carrying out a poll to…
- 10(a)2 marksDefine the term algorithm.
- 10(b)4 marksUsing examples, distinguish between bounded and unbounded iteration as used in structured programming.
- 10(c)(i)2 marksDistinguish between Object and class as used in object-oriented programming.
- 10(c)(ii)2 marksDistinguish between Private method and public method as used in object-oriented programming.
- 11(a)5 marksDescribe the purpose of EACH type of user interface object shown in the diagram (Window, Textfields, Button, Labels, Fonts).
- 11(b)(i)1 markIdentify the most important event that the program should anticipate.
- 11(b)(ii)4 marksWrite an algorithm to define the processing steps that should take place when the event identified in (b)(i) occurs.
- 12(a)(i)3 marksBy showing each step in the processing of the input string, determine the output that the Mystery algorithm will generate given the input string: ( ) )
- 12(a)(ii)4 marksBy showing each step in the processing of the input string, determine the output that the Mystery algorithm will generate given the input string: ( ( ) )
- 12(a)(iii)2 marksBy showing each step in the processing of the input string, determine the output that the Mystery algorithm will generate given the input string: ( ( )
- 12(b)1 markDeduce the purpose of the Mystery algorithm.
- 1310 marksAn Account object has two instance variables, accNum (an integer value) and balance (a floating point value), and the following methods: - deposit: accepts a parameter, amount (a floating point value) and increases the…
- 14(a)4 marksIdentify FOUR tools that are typically provided in a programming environment.
- 14(b)6 marksBriefly explain how any THREE of the tools identified in (a) above simplify the development of a program.
- 15(a)(i)2 marksBriefly distinguish between 'unit testing' and 'system testing'.
- 15(a)(ii)4 marksA Temperature object has a method toFahrenheit, which accepts a parameter, centigrade (a floating point value) and converts this value to a fahrenheit temperature using the calculation: fahrenheit = (9/5) * centigrade +…
- 15(b)4 marksBriefly describe TWO types of documentation normally included in a software package.