Wednesday, September 26, 2018

LAB 1

20th September is our second laboratory class for computer programming. Our second week lecturer is about problem solving. Therefore, our 2nd lab assignment is on it with consist 3 questions. We were given instructions as usual on this task.  First questions is to practice of identifying common errors and fix it. At first, I rewritten the encoding and ran the program. Then, there have some error display on cmd and I try to fix it. Later on, there have one error keep mentioning and I could not fix it on that error . I refer some of my friends but there have not such problem exist in their coding. I almost wasted 2 hours on this part. Be honest, I just frustrated on these assignment and give up on it. Then my demon check my notepad and stated the problem. The first line with begins with "public class file name' should be same with the name we save in Java file. Finally, I managed to correct my error, complete my first questions and almost it took 1 and half hour. 


Due to time constraint, I tried to draft some ideas for the rest of two questions  in room. I continue my lab work on next Monday. Second is question is about  to design solution to a problem using Program Analysis Chart. I made a comparison with my draft and my another friend in Lab. There were few  differences slightly on both answer but we manage to design  it successfully in word. 

Third question is quite challenging for me as it require to compile and run a simple computer program based on PAC.  We have to choose either one question and I took a. At first, I discuss with my friend regarding this problem and manage to do coding in notepad. It almost takes 1 hour to completed it. Overall, the mistakes that I made in beginning makes vigilant toward further coding. I would like to thank my friend who spent some time to fix the error. 


Anjalay A/P Raman
182695
SSK3100 (Group 15)


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




Wednesday, September 19, 2018


REFLECTION: LAB0

13th September is our first lab class for computer programming. Our first lecture begins with introduction to computer components. Then, our lecturer gave us one lab assignment  in order to familiarize with the lab and programming world. We were given instructions on this task. At first, I does not understand how to execute the instructions step by step since its very new for me. I refer my friend and asked to explain about it. Then, I try to do it myself  on compiling and running a simple computer program written in Java. I get to know the importance of using the command “cd” to go the parent directory, “dir” to list all the files in a directory and “mkdir” is to create a folder in the hard disk with my name. I able to complete until no3 by typing the code that given and I saved it as MyFirstJavaProgram.java in Lab0. Then, I stuck on No 4 because it could not able to run my program. After few attempts only I able to run the program and successfully it display Hello World. Overall, it is new experience and I am sure it would be a challenging subject as I have no programming background. However, I am very excited to do more lab work regarding this programming.



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