20.1 Programming paradigms
192 questions in this subtopic. Open a question to solve it and check the official answer.
Programming paradigms · 11 marks
2 3 5 6 1 1 F 7 8 9 [6] 3 (ii) State what is meant by the critical path in a PERT chart. ..........................................................................................…
Programming paradigms · 15 marks
2 3 5 6 1 1 F 7 8 9 [6] 3 (ii) State what is meant by the critical path in a PERT chart. ..........................................................................................…
Programming paradigms · 11 marks
2 3 5 6 1 1 F 7 8 9 [6] 3 (ii) State what is meant by the critical path in a PERT chart. ..........................................................................................…
Programming paradigms · 26 marks
2 3 5 6 1 1 F 7 8 9 [6] 3 (ii) State what is meant by the critical path in a PERT chart. ..........................................................................................…
Programming paradigms · 3 marks
(i) Imperative .......................................................................................................................... .........................................…
Programming paradigms · 3 marks
(ii) Object-oriented .................................................................................................................. ...........................................…
Programming paradigms · 5 marks
(i) The constructor receives the parameter InputPlayerID to create the PlayerID. Other properties are initialised as instructed in the class diagram. Write program code for the Cr…
Programming paradigms · 4 marks
(ii) Write program code for the following three get methods. Programming language .................................................................................................…
Programming paradigms · 4 marks
(iii) The method SetPlayerID()asks the user to input the new player ID and reads in this value. It checks that the length of the PlayerID is less than or equal to 15 characters an…
Programming paradigms · 5 marks
(iv) The method SetScore()checks that its INTEGER parameter ScoreInput is valid. If it is valid, it is then set as Score. A valid ScoreInput is greater than or equal to 0 and less…
Programming paradigms · 4 marks
(v) Write program code for the method SetCategory(). Use the properties and methods in the original class definition. Players will be placed in one of the following categories. Ca…
Programming paradigms · 8 marks
(vi) Joanne has played the first game to place her in a category for the competition. The procedure CreatePlayer()performs the following tasks. • allows the player ID and score to…
Programming paradigms · 5 marks · official answer ready
(i) The constructor receives the centre number and candidate number as parameter values to create PaperID. Other properties are initialised as instructed in the class diagram. Wri…
Programming paradigms · 3 marks · official answer ready
(ii) Get and set methods are used to support the security and integrity of data in object-oriented programming. Explain how get and set methods are used to support security and in…
Programming paradigms · 4 marks · official answer ready
(iii) Write program code for the following three get methods. Programming language ................................................................................................…
Programming paradigms · 5 marks · official answer ready
(iv) The method SetFinalMark() checks that its INTEGER parameter Mark is valid. It is then set as the final mark if it is valid. A valid mark is greater than or equal to 0 and les…
Programming paradigms · 4 marks · official answer ready
(v) Write program code for the method: SetGrade(DistMark, MeritMark, PassMark : INTEGER) Use the properties in the original class definition. Grades are awarded as follows: Grade …
Programming paradigms · 8 marks · official answer ready
(vi) Emily is a candidate who has taken the examination paper. The grades are awarded as follows: Grade Criteria Distinction >= 80 Merit >= 70 Pass >= 55 The procedure Main() perf…
Programming paradigms · 4 marks · official answer ready
(c) The examination paper will be taken by many candidates in centres around the world. The program stores the objects of the ExaminationPaper class in a file. The company has dec…
Programming paradigms · 3 marks
(i) Imperative .......................................................................................................................... .........................................…
