18th October is our
fifth laboratory class for computer programming. Our 5th lab assignment contains 9 questions. This lab
assignment covered Switch statement, Logical Operators and Conditional
Operator. This is one of the assignments that I really enjoyed and 70% I'm
doing myself. One of the reasons, I understand the concept of the
topic that I mentioned above during the last lecturer. Also, I could understand
much better after the Test 1. Therefore, it foster my coding skill.
The last question is
quite challenging because we have to write a program to compute personal income
tax based on the filing status using switch statement. At first, the questions a bit confusing but later on my friend explain the concept. In fact, it becomes
boring after I understand the steps and concept for this type of question. Finally,
I managed to handle this case. Besides, there is one question where I have to
write a program that randomly generates an integer between 1 and 12. For this question, I refer my demo, as she asks to search in goggle for this term. Then, i
understand the function of (Math.random()*(max - min)) + min.
End of this lab, I able
to use switch statement, logical operators to combine Boolean expressions and
conditional operators. Overall, it is one of my favorite lab that I can said
because I did the whole work by myself as I satisfied a lot on my work. To be honest,
I never used my hand phone for the first time during the class because I am very
excited about the questions given. It also builds my confident level that I feel I can score on this subject. Hopefully, it will sustain and increase my excitement
level for further labs.
Anjalay A/P Raman
182695
SSK3100 (Group 15)
Next blog: nadiahjavajourney.blogspot.com (NURNADIAH BINTI ABDUL GHANI)