Thursday, November 8, 2018

SSK3100 - Week 8 Reflection

Hey....

For this week classes we just having classes on Wednesday only this is because of the Deepavali celebration by our India friend. Since last week was mid-semester break so i was taking an opportunity to continue my break 🤣. On Wednesday we just having one hour class on 1 o'clock and during the lecture Dr Erzam was teaching us about  type of loop in the programming. Before starting the lecture Dr Erzam was giving an interesting real life example by play a simple game where he ask us to guest the number that he thinking off. There were a few rule in this where the range of the number was between 0 until 10 and everytime we was a wrong number he will tell us either the number was to large from what his number was. After a few guest we manage to figure out the number and the number was 3. For the conclusion of the game Dr Erzam was telling us that this game will still continue for a few round if we guessing the wrong number and this was actually call a loop where it will keep repeating the game.

Next, he continue his lecturer by tell us the first type of loop was call while loop and according to the Dr Erzam this loop was repeats a statement or group of statements while a given condition is true. It tests the condition before executing the loop body. In the simple way the computer will print the output if the input was true and it will stop until the false input was being put. To get us to understand the loop Dr Erzam was drawing the flow chart and the flow chart really useful since from the flow chart we can differentiate the while loop and the other one. From the flow chart Dr Erzam was writing the java program. From this we can understand better on how to write the java program for the loop.

Normal Loop Flow Chart


While Loop Flow Chart


Since it just one hour lecture that it for this week lecture class and before ending the lecture Dr Erzam was giving us like an exercises for us to figure out by our self at the home and he also giving a good for me where he said for this week there are no lab exercise for this week but we still need to come to the lab to finish our previous lab session that no finish yet. Supposedly, this week we  will have a lab test but since Dr Erzam forget to inform us earlier before the mid-semester break so the lab test was postpone to the next week and next week gonna be a tough week for me since i will having 3 test on another subject too so WISH ME A LUCK for the test 😁

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, October 31, 2018

SSK3100 - Week 7 Reflection (Lab 6)

Last night facing problem laptop & this really me a hard time to complete all my assignment especially my programming classes. Since the mid semester break was close by i need to settle down all of my assignment before the mid semester break. At the lab session i was directly answer my lab question and this time i was must finish all the question in 3 hour the lab session.

I start to answer the question number 2 and 3 by writing simple java program and later compile and run the program. For this lab session i not having much problem since this week lab question no really hard. On the question 4 i was stuck for a while and because of this i go back to question number 1 and later i finish answering all the question.

For this lab session i was putting my answer inside the Microsoft Word with the screenshot. I thinks this was the most proper way to present my answer and i also being seeing my other friend also doing a same thing since the lab5. During the submitting the assignment i also attaching lab the java file in the zip file.

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

Tuesday, October 30, 2018

SSK3100 - Week 6 Reflection (Lab 5)

For this lab session i was having problem to complete the task. Event until right now i haven't submit the lab5. The main reason why i don't submit the lab because there were to many task need to done and i also having trouble to complete.

In order to finish the lab session i have learned by google the best answer and from my observation the answer in google the will write a description on top of the command by putting " // " i think with this i will understand more about the java program that i was writing. So after this i will put the description before writing my java program.

Actually for question 1 until 3 I don't have much trouble since i can simply write a simple java program and run it to get the answer. The real challenge for me was question 7-9 where i need to write the full java program and even after done some googling i still can't find the right answer for the question because in the google finding most of the answer has being written in the complex ways and sometimes the things that we haven't learn.

In order to finish my pab excercise i had ask my friend form software engineering to help me with the question. After finish the answer all the questions i still doing my revision on the answer for me get a better understanding about the question.

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

Sunday, October 14, 2018

SSK3100 - Week 5 Reflection (Lab 4 )

Compare to other lab session this was the hardest lab session for me because i don't have any clue what to write the Java program even though  it just one question only. The main reason i cannot do the question because i really don't have any idea how to write the mini maze game. At first i and Sarvini try to list down the step but we stuck in the middle of the progress due to the we don't have idea to the instruction. After than i try to do some googling but most the website was showing the advance way to write the program. When i read the Java Program from the website i don't have any clue the Java Program was. Most of the time at the lab i was give up to do the question since after doing some googling i still cannot understand the Program.

My Testing Java Program to understand the lab 4 question 
After deciding to give up i was approaching my friend since they still doing the lab question after seeing they still doing i was trying to understand the way to write the program. 5 minute before the class was ending i just have idea how to answer the question. With the help from my tutor finally i know how to writing the Java Program which the basic concept was nesting but i still need to figure out the instruction for my mini maze game.

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


SSK3100 - Week 4 Reflection (Lab 3)

 For me this week lab session was quite challenging because the question was very tricky and i need to apply all my understanding from previous lecture. For me using cmd and notepad was challenging also since we cannot trace and know what was our mistake and because of this i being installing Eclipse Java to make my task easier when writing my Java program.

For the first question it no really a big problem for me since i just need to trace the Java Program but for the question number 2 and 3 it take me a few try before manage to answer it and most of the time i was referring my friend to help me with this question.

For question 4 at first it hard for me to understand the question because i don't have really good fundamental of programming. Even after googling for answer i still fail to compile the program and because of this i ask my friend from Software Engineering courses to me with the question. At first he also facing difficulty to understand the question but after a few try he manage to solve it and throughout this process i still don't have any idea how he was solving the question but at the end he was explaining it to me.

Next, for question number 5 until 8. The question style were similar which the question the example of the output and i need to write the Java Program. Most of this question at first i will do some googling and later i try to duplicate the java writing and modify a little bit of the Java writing become more and simple and i can understand well. In my opinion, for question no 5 until 8 we need to write the Flow chart for we can understand better.

Example for question no 3
Question no 7 using Eclipse Java
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

Thursday, October 4, 2018

SSK3100 - Week 3 Reflection (Lab 2)


On my lab 2 session we were ask to answer the question given in the Putrablast and we being giving one week to finish it. For this session there were a lot type of questions being ask and each of the question related to our last lecture. As example, for question 1 we need to trace the Java program back and later compile the program and try to run it. For this question i don't have any problem to completing it. But for the last 2 Java Program there was an error occurring and we need to fixed it on second question.

For question number 4 at first i was expecting the question just write a simple Java program but after reading the question for few times I realize that the question asks us to write a Java program for the all type of data separately. Luckily, I realize my mistake and I correct it before sending it on Putrablast.

Question 5 and 6 the question type was the same and there were a few steps that need to done before we can write the Java Program. For this question it related to the next lecture topic but the slide already being provided. During do this assignment I was referring a lot to the lecture note because I don’t have much understanding about the IPO, PAC and the algorithm for the program.
After done this lab question, I have more understanding about IPO, PAC and flow chart. Before writing the Java Program we need to understand and do the IPO, PAC and flow chart first then we can proceed to the writing part. Without it, it hard for the programmer to write the program since we don’t have the understanding about the Java Program.

Flow Chart for Question 5

PAC and IPO for Question 5

Writing Java Program and Run it Question 5
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 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