Explain the importance of comments in programming and outline how this is achieved in java

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)


 

. .

get-your-custom-paper

The post Explain the importance of comments in programming and outline how this is achieved in java appeared first on USA Dissertation Editors.

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *