Question 5 (Marks: 35) Answer all questions in this section based on the information contained in the short scenario bel

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 5 (Marks: 35) Answer all questions in this section based on the information contained in the short scenario bel

Post by answerhappygod »

Question 5
(Marks: 35) Answer all questions in this section based on theinformation contained in the short scenario below: • Joseph is adoctor. • He works at the Chris Hani Baragwanath Academic Hospitalin Soweto. • He is responsible for the “Voice of Cancer Anti-StigmaProject”.
Q.5.1 Create a class diagram that will accurately depict theclass described in the scenario above. Your diagram shoulddemonstrate the following: • At least three attributes; • A getterand setter method for each attribute; • Access specifiers. (20) ©The Independent Institute of Education (Pty) Ltd 2022 Page 4 of 520; 21, 22 2022
Q.5.2 Write the pseudocode for the mainline logic that will showhow the instance methods defined in Q.5.1 can be called by theobject. Declare and populate the object. Do not write the methods(only the mainline logic).
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply