Implementation, Testing, and Maintenance · CAPE Computer Science Unit 2
31 past-paper questions on Implementation, Testing, and Maintenance, part of Software Engineering, from every CAPE Computer Science Unit 2 paper on Quelpr.
- 7(a)(i)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe the Functional classification of programming languages.
- 7(a)(ii)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe the Declarative classification of programming languages.
- 7(a)(iii)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe the Imperative (procedural) classification of programming languages.
- 8(b)(i)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly explain how Run-time can influence the choice of a particular programming language.
- 8(b)(ii)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly explain how Portability can influence the choice of a particular programming language.
- 10(a)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Define the term algorithm.
- 10(b)4 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Using examples, distinguish between bounded and unbounded iteration as used in structured programming.
- 10(c)(i)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Distinguish between Object and class as used in object-oriented programming.
- 10(c)(ii)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Distinguish between Private method and public method as used in object-oriented programming.
- 1310 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1An 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 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Identify FOUR tools that are typically provided in a programming environment.
- 14(b)6 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly explain how any THREE of the tools identified in (a) above simplify the development of a program.
- 15(a)(i)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly distinguish between 'unit testing' and 'system testing'.
- 15(a)(ii)4 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1A 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 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe TWO types of documentation normally included in a software package.
- 10(a)5 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Write an algorithm to solve this problem using bounded iteration.
- 10(b)5 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Write an algorithm to solve this problem using unbounded iteration.
- 1310 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Write code in an object-oriented programming language of your choice defining the Job class, including an appropriate constructor.
- 14(a)4 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Name FOUR tools provided in a typical programming environment besides a tracer.
- 14(b)6 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Briefly explain how THREE of the tools named in 14(a) assist in program development.
- 6(a)16 marks· CAPE Computer Science Unit 2 · 2006 · Paper 2Write the code for the Product class including the instance variables, constructor, accessor methods, toString() method, and the methods reduceItems(int amt) and reorder() as specified.
- 6(b)(i)2 marks· CAPE Computer Science Unit 2 · 2006 · Paper 2Write a code fragment to instantiate TWO Product objects using arbitrary data and assign them to separate variables.
- 4(c)6 marks· CAPE Computer Science Unit 2 · 2009 · Paper 2Briefly describe THREE tests that can be conducted to verify that the search code functions correctly.
- 3(c)3 marks· CAPE Computer Science Unit 2 · 2010 · Paper 2Explain why a software system used in a real-world environment must be upgraded or become progressively less useful.
- 4(c)6 marks· CAPE Computer Science Unit 2 · 2010 · Paper 2Consider a linear search function lsearch(arr, n, key) returning the index of key or -1. Briefly describe THREE tests which can be used to determine if lsearch is working correctly.
- 4(b)6 marks· CAPE Computer Science Unit 2 · 2012 · Paper 2Describe three tests that can be used to determine if binarySearch is working correctly.
- 3(c)6 marks· CAPE Computer Science Unit 2 · 2013 · Paper 2Describe THREE tests that should be part of the test plan to unit test the binarySearch() function.
- 3(b)4 marks· CAPE Computer Science Unit 2 · 2014 · Paper 2Describe TWO factors that can cause an information system to be replaced, explaining why each necessitates developing a new system.
- 3(c)8 marks· CAPE Computer Science Unit 2 · 2015 · Paper 2Explain four reasons why some systems analysts believe the entire systems development life cycle can be initiated and completed during the maintenance phase.
- 3(b)3 marks· CAPE Computer Science Unit 2 · 2016 · Paper 2Explain what is meant by the term 'CASE tools'.
- 4(d)4 marks· CAPE Computer Science Unit 2 · 2016 · Paper 2Explain two types of tests conducted during the software testing phase, other than white-box and black-box testing.