Saturday, September 22, 2018

Lab 0

From this lab, I learnt how to use the basic command in command prompt and compile a file that was written in java. 
  
First, I learnt "dir" is to show the list of file in a certain folder.

And command "cd" is to navigate us to the specific file that we wanna to go. If want to return back to the previous file just command "cd..". If we wanna make a new folder or file using the cmd, command "mkdir name_of_the_file" and it will appear at the place that we have created it.
There still have many ways to create the files, such as by pressing "Ctrl +Shift+n", right-click -> New > New folder, using PHP, VBA and others. 

Next by command "javac" in the cmd to made sure that java is function and start compile the file that we want to compile. After successfully compiled, a file of "file_name.class" will appear. This process means the source code had transform into machine languange. After, success, type "java file_name" to run the program.
Besides, every symbols, capital, and every single things for the code is every important for whether we can success compile the file. If fail to do so which means failed to run the program.

How is data store in computer?
Computer data storage can broken down into three basic processes. First, data is convert to simple numbers that are easy for a computer to store. Second, the numbers are recorded by hardware inside the computer. Third, the numbers are organized, moved to temporary storage and manipulated by programs or software.



No comments:

Post a Comment

Lab 1

This is the second lab for this course and it become complication since I never learnt anything about this before.So it is kind of confusing...