Further programming
30 questions. Open a question to solve it and check the official answer.
Programming paradigms · 4 marks · official answer ready
(vii) The company needs to write a program to simulate a safety deposit box. The program will create an object with identifier ThisSafe, which is an instance of the class SafetyDe…
Programming paradigms · 13 marks
8 15 The programmer decides to use a 2D array to represent the board. The index numbering to be used is as shown. Each square on the board is either occupied by one piece only, or…
Programming paradigms · 2 marks
(c) The problem is well suited to an object-oriented design followed by object-oriented programming. (i) Describe how classes and objects could be used in this problem. ..........…
Programming paradigms · 2 marks
(c) The problem is well suited to an object-oriented design followed by object-oriented programming. (ii) For a class you identified in part(c)(i), state two properties and two me…
Programming paradigms · 13 marks
8 15 The programmer decides to use a 2D array to represent the board. The index numbering to be used is as shown. Each square on the board is either occupied by one piece only, or…
Programming paradigms · 2 marks
(c) The problem is well suited to an object-oriented design followed by object-oriented programming. (i) Describe how classes and objects could be used in this problem. ..........…
Programming paradigms · 2 marks
(c) The problem is well suited to an object-oriented design followed by object-oriented programming. (ii) For a class you identified in part(c)(i), state two properties and two me…
Programming paradigms · 13 marks
8 15 The programmer decides to use a 2D array to represent the board. The index numbering to be used is as shown. Each square on the board is either occupied by one piece only, or…
Programming paradigms · 2 marks
(c) The problem is well suited to an object-oriented design followed by object-oriented programming. (i) Describe how classes and objects could be used in this problem. ..........…
Programming paradigms · 2 marks
(c) The problem is well suited to an object-oriented design followed by object-oriented programming. (ii) For a class you identified in part(c)(i), state two properties and two me…
