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