Wednesday, December 12, 2018

SSK3100 - Week 13 Reflection (Lab 10)

Assalamualaikum and Hi guysss!!!

I think this is my last blog on the Reflection about Programming class. Since we already finish all the topic in this courses. So, please continue read my last activity in the class, what i have learn about 2 dimension array and combine it with method and a loop.

This week we already at the end of the chapter of this class and according to Dr Erzam after this we will focus on revised back the previous topic. For this week Dr Erzam continue on the topic 2 dimensional array. In my understanding 2 dimensional (2D) array was same like normal array but the only different was in 2D array we express the array like matrix form and the way we define the array also different from the normal array.

1. How to Declare  and Create 2D Array:

int [] [] number = 
{
{1,2,3};
{4,5,6};
{7,8,9};
}

or

int [] []numbers;
numbers = new int [3] [3];
numbers [0] [0] = 1;
numbers [0] [1] = 2;
numbers [0] [2] = 3;
numbers [1] [0] = 4;
numbers [1] [1] = 5;
numbers [1] [2] = 6;
numbers [2] [0] = 7;
numbers [2] [1] = 8;
numbers [2] [2] = 9;

After teach us on how to declare and create 2D array Dr Erzam continue to teach us on how to write 2D array using method and loop by give us an example question and the question was like this:

Write a method that find the largest element in  an int arrays.
answer:

public static int x[0], x[1], x[2],.....x[n]
{
int biggest = x[0];
for (int j=0; j<x.length; j++)
{
if (biggest < x[j])
{
biggest=x[j];
}
}
}

Next, Dr Erzam continue with teach on how to return an array from the method to the main method and for this it just a same like in the method topic. On Thursday lab session we are receiving about last lab exercise for this class which was lab 10. In the lab exercise there were 4 question that we need to done and most of the question was related to the 2D  arrays. To finish this lab question it take me a time to do it since tomorrow i gonna have Mid-term test on my other subject (WISH ME LUCK GUYS!!!).

Throughout this classes i learn a lot of new things about new knowledge about Programming. Before this i just learn about economy theory but this time i was grateful to learn something new. To be honest at first, i was thought programming just like other language and sometime i was called it alien language since it hard for me to understand it but until this week i proudly said that i already master a basic on the  Java programming.πŸ˜†

I guess that it for my last blog on this courses.
See you guys next time,
Thank you Dr Erzam and Husna (Lab Assistance) for the knowledge and everything πŸ˜ƒ
Wish you guys All the Best with Life


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, December 9, 2018

SSK3100 - Week 12 Reflection (Lab 9)

Assalamualaikum and Hi guysss!!!

It being a while since i update the blog 😏


This week Dr Erzam was teaching us on new topic which called "Array" so if you guys want to know an interesting story PLEASE read this blog until the end HEHEHE πŸ˜†.

Next, for this class Dr Erzam was teaching a new topic which was called Array. In my understanding Array is a group of like-typed variables that are referred to by a common name and according to Dr Erzam there were 4 steps in doing Array. 

The first step was declare an Array :
int t [] numbers;

Second step was create an Array :
numbers=new int [3];

Third step was access an Array :
number[2]=88;

Last step was Print specific Array :
for(int=0; i<3; i++)
    System.out.println(number[i]);

Other than int, we also can declare an Array with other type of data also for example like double, and String. Dr Erzam also tell us that Array and loop was interrelated with each other because we use an array definitely we will use loop also. After teaching us this 4 steps Dr Erzam continue his lecture by giving us an example and some exercises so we can understand better on Array and he also teach us a simplest form to write an Array, so with this way we can save a time to write an Array program. HEHEHE thank you Dr 😊.

For the lab session, on the Thursday Dr have upload Lab 9 exercises and in this lab session i was busy with Mid-term test for another subject πŸ˜†HIHIHI (so sorry Dr) But after finish the test i will answer all the question. 

SO this just it for WEEK 12 REFLECTION !!!

See you on next blog 😁😁😁😁


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 11 Reflection (Test 2)

Assalamualaikum & Hi GUYS!!!!

Welcome to my WEEK 11 REFLECTION BLOG !!!!!!
πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†πŸ˜†

As you know from previous blog, this week i will answering my second test on this class and it gonna be a nervous week with the test AHAHAHA so keep reading my blog.

After finish the second test i feel more confident in taking programming subject, since i manage to answer all the question without much of the problem. Compare to the first test, this test i already can guess the pattern of the question and also the main reason i can answer this test was the exercise giving by Dr Erzam in the last class. So! I is confident for this test i will get better mark compare to the previous test 😝😝😝 HAHAHA.

A lot of friend also feel a same with me on this second test, since this were ours first time taking programming class so we really don't know with the pattern of the question in the test. HOPEFULLY Dr Erzam will give more mark on THIS SECOND TEST.

One more thing for the previous LAB session i was facing problem to answer the LAB * question because the question was to tough. I just manage to answer a few question only so THIS week i need to settle down the LAB 8 question. PLEASE PRAY FOR ME 😭😭😭😭  #struggling

I think that it for this blog, i need to to do bye LAB 8 Question

BYE!!!!! Guyssss!!!!

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 10 Reflection (Lab 8)

Hey Guyss !!!!

WELCOME TO MY BLOG

For this week our class have a second test for this class and everyone was so nervous with the test since especially me, since in the last test i  not perform well. So in this test i need to score more mark compare last test.

This week we don't learn on the new topic but Dr Erzam focus a lot on the test practice exercises question. After giving us a format for the second test Dr straight way start give us and exercises and for the first question Dr Erzam teach us on how to read JAVA program but before we read the JAVA program we need to construct simple table which contain :

NUM OF LINE
INPUT
OUTPUT 

With this method we can see clearly what was happening to the input and output in every line of JAVA program. For this type question Dr Erzam focus a lot on the LOOP JAVA program by giving us on the different type of LOOP. For example like For LOOP, While LOOP, break and continue. From this example i feel more understand on how to read the JAVA Program. HEHEHE 😁😁😁😁😁Thanks DR.

Next, Dr Erzam was focusing on the STEP to write a complete LOOP JAVA PROGRAM, where in he was giving exercises on Program that receive a mark and the program will calculate the mark and determine the grade. At first DR Erzam was giving us this question for homework for us, so in the next class we will discuss it together.

SO THAT IT FOR THIS BLOG SESSION
See You Guys on the next BLOG
BYE!!!!!!!

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

Friday, December 7, 2018

SSK3100 - Week 9 Reflection (Lab 7)

Assalamualaikum and Hi Guys !!!

Welcome to blog again. For today blog i want to tell you guys what i'm being learn and doing for this class. So to know the story please continue reading my blog HEHEHE.


On the Monday morning after woke up from my bed, i just being busy with my assignment and for your information my programming class was on 4 o'clock, so on every Monday i just having programming classes. So every Monday i feel excited to go to the programming classes. For this week classes Dr Erzam still busy explaining to us about loop and this time he focus on the "Nested Loop" where it is often used when there are multiple tables and we are required to print out each row and table one by one. As usually for every class Dr Erzam will give an example to make us understand more about the loop topic and after give an example he will give us a simple exercises to test our understanding.

On Thursday lab session, Dr Erzam had uploaded Lab 7 and to me the question for Lab 7 quite hard to do it alone because for the lab session i often ask question to the Lab assistance on how to answer the question and sometimes i also discussing with my friend on sentence question. For today lab session 3 hour doesn't enough since i fail to answer all question within the lab session. One thing i realize, Dr Erzam always give us more question during the lab session, for example like for lab 7 he was give us  question to be answer. It mean i need to finish my lab 7 at collage. AND for Dr Erzam please reduce number of question for the next lab session heheehehe Thank you, you the best.

So that it my short story for this week class. Till see you guys on my next blog. BYE!!!!!! i gonna go for a sleep.

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, 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

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