20th September is our second laboratory class for computer programming. Our second week lecturer is about problem solving. Therefore, our 2nd lab assignment is on it with consist 3 questions. We were given instructions as usual on this task. First questions is to practice of identifying common errors and fix it. At first, I rewritten the encoding and ran the program. Then, there have some error display on cmd and I try to fix it. Later on, there have one error keep mentioning and I could not fix it on that error . I refer some of my friends but there have not such problem exist in their coding. I almost wasted 2 hours on this part. Be honest, I just frustrated on these assignment and give up on it. Then my demon check my notepad and stated the problem. The first line with begins with "public class file name' should be same with the name we save in Java file. Finally, I managed to correct my error, complete my first questions and almost it took 1 and half hour.
Third question is quite challenging for me as it require to compile and run a simple computer program based on PAC. We have to choose either one question and I took a. At first, I discuss with my friend regarding this problem and manage to do coding in notepad. It almost takes 1 hour to completed it. Overall, the mistakes that I made in beginning makes vigilant toward further coding. I would like to thank my friend who spent some time to fix the error.
Anjalay A/P Raman
182695
SSK3100 (Group 15)
Next blog: nadiahjavajourney.blogspot.com (NURNADIAH BINTI ABDUL GHANI)
No comments:
Post a Comment