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)

No comments:

Post a Comment

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