Wednesday, September 26, 2018

SSK3100 - Week 2 Reflection (Lab 1)

After done my first lab session last week, i think i have gain some knowledge about programming especially on how to write my java program. We were giving 3 question , the first question was tracing a mistake from the Java Program given. There were 11 Java Program that we need to trace the mistake and for the first 3 Test most of mistake in the writing the program for example like forget to put ";" capital letter. Due to this when the Java compilation process the system show error and the program will not will compile.

My Screen Setup will writing Test 4 Java Program


But for Test 4 and above most of the mistake arise from the solution because from question we can compile and run the program but the output display a wrong answer. Like Test 6 and 7 the mistake arise from the limit of the processor and because of this the Program cannot give a correct answer and for this question we need to adjust the value of our input and according to Dr Erzam, he purposely putting that kind of question because he want to shows us the minimum and maximum data that our processor can handle.

For the Java Program of Test 8


For question 2 it so easy to do it since i don't need to write Java Program but i still need to construct the PAC table to identify the problem, input, process and output. For question number 3 i feel so lucky since the question ask to choose one problem only and for the PAC table i done by myself but for the write Java Program part i ask my friend to helps me out to guide to write the Java Program.
My Celsius To Fahrenheit
Please check it out my other friend blog spot for her interesting story about her programming classes. Please click the link below : http://pritah05.blogspot.com/

SAIFUL IKHWAN BIN AZIZ
183802

No comments:

Post a Comment