Quelpr

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.

  1. 7(a)(i)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe the Functional classification of programming languages.
  2. 7(a)(ii)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe the Declarative classification of programming languages.
  3. 7(a)(iii)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe the Imperative (procedural) classification of programming languages.
  4. 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.
  5. 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.
  6. 10(a)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Define the term algorithm.
  7. 10(b)4 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Using examples, distinguish between bounded and unbounded iteration as used in structured programming.
  8. 10(c)(i)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Distinguish between Object and class as used in object-oriented programming.
  9. 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.
  10. 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…
  11. 14(a)4 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Identify FOUR tools that are typically provided in a programming environment.
  12. 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.
  13. 15(a)(i)2 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly distinguish between 'unit testing' and 'system testing'.
  14. 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. 15(b)4 marks· CAPE Computer Science Unit 2 · 2005 · Paper 1Briefly describe TWO types of documentation normally included in a software package.
  16. 10(a)5 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Write an algorithm to solve this problem using bounded iteration.
  17. 10(b)5 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Write an algorithm to solve this problem using unbounded iteration.
  18. 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.
  19. 14(a)4 marks· CAPE Computer Science Unit 2 · 2006 · Paper 1Name FOUR tools provided in a typical programming environment besides a tracer.
  20. 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.
  21. 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.
  22. 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.
  23. 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.
  24. 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.
  25. 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.
  26. 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.
  27. 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.
  28. 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.
  29. 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.
  30. 3(b)3 marks· CAPE Computer Science Unit 2 · 2016 · Paper 2Explain what is meant by the term 'CASE tools'.
  31. 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.