Greetings
everyone :)... Here comes my second lab assignment of SKK3100 Computer
Programming 1 which is Lab1. It is entitled "Problem Solving". In
this assignment first question was given 11 classes and it need to be written
in separate Java files. In the end, I will need to compile, identify and fix
the errors in each of the classes correctly.
Firstly, it was really hard for me to fix the errors and it took almost one hour for me because it was keep showing there are some errors and errors in the first test. I really gone mad and started to continue with second test and third test respectively. Unfortunately, the following tests also keep showing that there are some errors.
Later on, with the help of my lecturer I could able to find out the exact problem. It seems I need to save the test like for an example: Test1.java, but I failed to do so and that was the main cause of error in my first test. I saved the file with wrong name so that it couldn't be detected. I was really shocked and surprised how a little silly mistake could be effected and I managed to change the file name exactly how it was stated. Often times, our failures teach us valuable lessons that we only gained because of the experience we gathered after messing up. It’s obvious that the mistake I made taught me a very useful lesson that day.
Coming for the second question there were three situation given. I need to design a solution in order to solve a problem using PAC. I was able to analyze problem in each situation successfully. There will be three main things to be written in PAC table contained three columns which are data, process and output.
Last
question is quite challenging because we need to do PAC table then need to type
the solution in the notepad. Once done typing we can check the answer in
command prompt. And I can happily say that finally I could learn something new
and useful for the week. Once again I would like to thank my lecturer Dr.Erzam.
That is all for this week, thank you :) !!!
PRITAH D/O
SUBRAMANIAM (185797)
Next blog : yanhua0112.blogspot.com