Saturday, November 24, 2018

LAB 7


15th November is our seventh laboratory class for computer programming. Our 7th lab assignment consist 10 questions. Although there are so many questions, however from question 1 to 6 are basic of loops. We cover a new topic which is Loops where it's very vital in programming.We used Loops in order to solve the problem that doing the same task over and over for different sets of data. Before doing lab, I am still could not capture the concept of loops and how actually it work. During the lecturer also I am still lost on this topic.

In the lab, I saw some videos about loops in Youtube. Then, I also study loops in lecturer notes before start my lab work. It takes 1 hour for me to understand how it works. I able to answer 6 question by myself. Question 7 is quite challenging  as it tooks time where I should  insert the loop. Yet, I refer  my friend tn this questions. At the end of this lab, I able to write programs for executing statements repeatedly; nested loops and how to apply loops in solving computational problems.  From this assignment, I well understand the uses of while, do while, for, break and continue.

Overall, this lab assignment has increased my understanding on Loops and I realise its very beneficial concept in programming language.



Anjalay A/P Raman
182695
SSK3100 (Group 15)




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


Wednesday, November 14, 2018

LAB 6


25th October is our sixth laboratory class for computer programming. Our 6th lab assignment consist 6 questions. The lab covered Character and String class. During the class, I still blur this topic but eventually this lab helped me read strings and characters from the console, also declaring and manipulating strings and character using methods provided by Character and String class.

I have difficulty on first question and last question. Even though the first question is about finding output but I do not understand the equation in System out println. Then, I able to understand after asked my friend,Patrina to interpret the equation. Next question is quite challenging for me as it requires writing a program that prompts the user to enter a password and displays Valid Password if the rules are followed or Invalid Password otherwise. I did this question in my house as I could not solve by myself because I was trapped in executing the password rules as given. I saw some examples in internet and it took time for me to get the final output. From this lab assignment, I also aware about ASCII code after question 5.

Overall, this lab assignment has increased my understanding of String.


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