3 a) Explain the importance of comments in programming and outline how this is achieved in java (3 mks)
b) Explain the following components of an object and give an example in each case
i. Field variables ( 3 mks)
ii. Constructor ( 3 mks)
iii. Methods ( 3 mks)
c) i) Write an algorithm that computes the total score of a given student using the cat marks and exam scores and
displays whether the student has passed or failed. Assume that the pass mark is 40 percent. (4 mks)
ii) Implement the above solution using a flowchart and pseudo code (4 mks)
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlinesOrder Paper Now
PLACE THIS ORDER OR A SIMILAR ORDER WITH BEST NURSING TUTORS TODAY AND GET AN AMAZING DISCOUNT
The post Explain the importance of comments in programming and outline how this is achieved in java appeared first on BEST NURSING TUTORS .