Thursday, December 20, 2018

LAB 10


13th December is our tenth and last laboratory class for computer programming. Our 10th lab assignment consist 4 questions. Today topic is Array. Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type. This topic is quite confusing and difficult for me.

Although, this lab consist only 4 questions but the solutions are very long. Before attempt these questions, we should ensure understand the concept because the questions are quite tricky. I did all these 4 questions by discussing with my friends. Every question approximately took 1 to 2 hours to solve and get a correct output. We also search some examples in internet. First and Last questions is quite challenging because it took time to understand the concept. However, I managed to get output from user. Overall, I learnt how to define, declare and process array. In addition, I also learnt how to solve problem using array. 

Sadly, this is my last Lab assignment. Successfully I have done all my Labs except Lab8. I am happy for myself as I learnt a lot from the lectures. I also want Thank few peoples, include my lecture,Dr Erzam, my demo, Miss Husna, my fellow friends who help and guide me in this whole semester. Thank You and BYE.


Anjalay A/P Raman
182695
SSK3100 (Group 15)




Next blog: nadiahjavajourney.blogspot.com (NURNADIAH BINTI ABDUL GHANI)







Friday, December 14, 2018

LAB 9


6th Disember is our ninth laboratory class for computer programming. Our 9th lab assignment consist 9 questions. Today topic is Single-Dimensional Array. Single-Dimensional Array is a type of linear array. Accessing its elements involves a single subscript which can either represent a row or column  index. This topic is one of my favourite because I able to understand how this concept work.

First question is about the basic concept of Single-Dimensional Array. Actually, I was confused abit at this part as they asked us to write a statement. I was happy because I did question 2, 3, 4 and 5 by myself as I understand deeply. From question 6 to 8 are quite challenging but I manage to finish it by discussing with my friend.

The last question is quite difficult because we have to write FindingRoot program. At first, the questions a bit confusing but later on my friend explain the concept. Although, it tooks time to get output.

Overall, I able to declare, create, initialize and process single-dimensional array. Also, I can  program common array operations and apply array in application development from this end of the exercise. 


Anjalay A/P Raman
182695
SSK3100 (Group 15)




Next blog: nadiahjavajourney.blogspot.com (NURNADIAH BINTI ABDUL GHANI)



LAB 8


22nd November is our eight laboratory class for computer programming. Our 8th lab assignment consist 5 questions. We cover a new concept which is method where it's very useful in programming. A method is a set of code which is referred to by name and can be called (invoked) at any point in a program simply by utilizing the method's name. Think of a method as a subprogram that acts on data and often returns a value. Each method has its own name. I am able to understand about 50% only during the lecturer. 

My lecturer gave us 2 weeks for this laboratory. However, I could not able to finish this lab assignment as I stop at second question. The rest of 3 questions are difficult and quite confusing too. It took a lot time to identify the error for two questions in my coding.  But, I manage to get the output from user. From this lab, I learnt to define and invoke various types of methods.


Anjalay A/P Raman
182695
SSK3100 (Group 15)




Next blog: nadiahjavajourney.blogspot.com (NURNADIAH BINTI ABDUL GHANI)






LAB 10 13th December is our tenth and last laboratory class for computer programming. Our 10th lab assignment consist 4 questions. Tod...