I am an economic student but taking this computer programming course is a compulsory for my curriculum. This is first time I learn about computer programming but I take it as a challenges to myself.
Today, I learn new fruitful knowledge that I had never learn or know before this. It is About "Windows Command Prompt". I learned how to create simple Java Program by using this command Prompt. It's not really difficult to create it but you must have high degree of patience and do it precisely. The picture below portrays the steps to create the Java Program. Honestly, I'm trying more than five attempts to create it until I succeed make it appear. Many things you need to pay attention until to the trivial matter. Before I succeeded print the "Hello World", there are many mistake I did until I got error many times. One of the simple mistakes I did was I forgot to set the java to be available everywhere in the computer. After done setting the java file, I forgot to close and open back the "cmd". I just proceed compile the Java Program and what I get is again ERROR!. So the lesson here I learned was whenever I make change in the computer, I need to close the "cmd" first and open it again.
Besides, if I want to run this program, I need to make sure that the java file is available in my computer. Apart from that I learned the command in the windows prompt for example, to create new folder is by typing "mkdir <folder name>", to go to the directory is by typing "cd <folder name>", to go to the parent directory is by typing "cd.." and to see the list of all file in the folder is by typing "dir". Not only that, in order to strength our knowledge, we need to share our knowledge with others. This is what I did where after I succeed run the program, I teach my friends how to do it.On the other hand, also this is my first time I use blog where my lecturer ask us to create blog to post all our reflection pertaining to the lab task. From my point of view, this is a good thing where students can learn new thing apart from their lecture and this blog can be one of the medium for learning session.Last but not least, practices make perfect and we need to learn from mistake.
Nursaidatul Sakinah Binti Saharuddin
184881
Next blog: hongjing96.blogspot.com (lLim Hong Jing )
No comments:
Post a Comment