Quelpr

CAPE Computer Science Unit 2 · 2006 · Paper 1

38 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. 1(a)2 marksExplain what is meant by a software development process.
  2. 1(b)6 marksDescribe THREE major stages of the waterfall model.
  3. 1(c)2 marksOutline a major weakness of the waterfall model.
  4. 2(a)4 marksExplain what is involved in conducting interviews and administering questionnaires to collect information during the analysis phase.
  5. 2(b)2 marksSunil prefers interviews to obtain the required information. Provide ONE reason supporting his argument.
  6. 2(c)4 marksCamille considers questionnaires more suitable. Provide TWO reasons supporting her argument.
  7. 3(a)2 marksBriefly explain what a CASE tool is.
  8. 3(b)6 marksDescribe THREE ways a CASE tool can be utilised in a software process.
  9. 3(c)2 marksState ONE advantage and ONE disadvantage of using a CASE tool.
  10. 4(a)2 marksExplain what occurs during system structuring.
  11. 4(b)1 markState what occurs during modular decomposition.
  12. 4(c)4 marksDistinguish between a sub-system and a module.
  13. 4(d)3 marksDescribe the output generated from architectural design.
  14. 5(a)6 marksOutline THREE guidelines for designing an effective user interface.
  15. 5(b)4 marksBriefly describe TWO guidelines for designing a report.
  16. 6(a)4 marksDraw a class diagram representing this Account class.
  17. 6(b)2 marksExplain how a Customer object C can send a withdraw message to an associated Account object A.
  18. 6(c)4 marksExplain the meaning of inheritance in object-oriented programming.
  19. 7(a)(i)2 marksDistinguish between an object and a class.
  20. 7(a)(ii)2 marksDistinguish between a private method and a public method.
  21. 7(a)(iii)2 marksDistinguish between accessor (getter) and mutator (setter) methods.
  22. 7(b)2 marksExplain encapsulation in object-oriented programming.
  23. 7(c)2 marksExplain why public instance variables violate encapsulation.
  24. 8(a)2 marksIdentify TWO ways of categorizing programming languages other than by generations.
  25. 8(b)4 marksState TWO reasons why a compiler is preferred over an interpreter.
  26. 8(c)4 marksState FOUR criteria to consider when choosing a high-level programming language for problem solving.
  27. 910 marksTrace the execution of the algorithm and draw the exact output produced.
  28. 10(a)5 marksWrite an algorithm to solve this problem using bounded iteration.
  29. 10(b)5 marksWrite an algorithm to solve this problem using unbounded iteration.
  30. 1110 marksDraw a clearly labelled dialog box for this task containing at least one textfield, window, font, label, and button.
  31. 12(a)1 markIdentify the first number inserted into Q1.
  32. 12(b)2 marksState TWO ADT operations of a queue.
  33. 12(c)5 marksWrite an algorithm using only queue ADT operations to remove all elements from Q1 and insert them into an initially empty queue Q2.
  34. 12(d)2 marksDraw a diagram showing the elements of Q2 after three elements have been transferred from Q1 to Q2.
  35. 1310 marksWrite code in an object-oriented programming language of your choice defining the Job class, including an appropriate constructor.
  36. 14(a)4 marksName FOUR tools provided in a typical programming environment besides a tracer.
  37. 14(b)6 marksBriefly explain how THREE of the tools named in 14(a) assist in program development.
  38. 1510 marksUsing only stack ADT operations, write an algorithm to calculate the sum of every other element in S.

More CAPE Computer Science Unit 2 papers