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

Wednesday, September 19, 2018

SSK3100 - Week 1 Reflection (Lab 0)



Event tough i have a lot of interest in the computer stuff but it was my first time taking programming classes. Before taking this class i was doubt to taking it because from my friend experienced they were saying programming quite challenging because you need to memorize the coding and so on. But since this class was compulsory subject for my course i must take the class. From this class i was expecting to gain more knowledge about  PC stuff and i also hoping i able to format my own window's PC by my own.

For my first lab assignment i being taught about Command Prompt (cmd). From cmd we can do a lot of stuff but i need to know the command first. If i being put wrong commend the system will said error so from this i need to know what command i attended. Next, i also being taught how to create and open a new folder and open notepad using cmd.

Writing my command in cmd

 For the next task i need to create a simple Java program using notepad and cmd. To create this Java program first i need to download and install Java compiler into my computer and it was difficult to do it because there was some step that need to be done before it can being use. Due to this i have watch a few tutorial video on YouTube on how to install Java compiler.

Web i use to download the Java compiler
Next, i need to write a code in the notepad and later i need to compile using cmd. During process it was most difficult task because i need to write the command precisely or not they will error. Before succession to finish this i was taking many trying before manage to compile the Java program and most of the time i will refer to my friend to check my mistake. I also facing difficulty to run the Java program since i accidentally putting a wrong command on the cmd  but and the end i able to run the program with my friend help.

Successfully run the Java Program
As conclusion, even though learning programming class was a need things but i need to challenge my self in order to gain new knowledge. I also need to work more harder in order to understand more about programming.

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