REFLECTION  LAB 0

NAME : SITI KHADIJAH BINTI ZULKIPLI
MATRIX NO : 188795



       Assalamualaikum and hello. My name is Siti Khadijah Binti Zulkipli. I am from faculty of science.This are my first reflection on first lab of programming class.

       From the first lab, we are required to familiarized with the lab and the programming environment. actually, This is my first time in taking programming class. Thus, this lab is quiet challenging for me since I am not familiar with the terms used in this course and the programming itself.

       Basically, the first lab is for introduction to programming courses and required students to write, compile, and run a simple program written in java. Throughout this lab, we have practiced all the steps required in running a program.

      To begin writing a computer program, we will basically need two tools. Which are we need to write the content of our program and we need a compiler that will compile the written program to instructions that can be executed by the computer.

       Firstly, we opened the command prompt to browse around existing folders in our computer to get familiar with the command prompt. At first, it was a bit confusing since I am not familiar with command prompt. But at last, I got what we are learning by asking questions to my friends and lecturer. By using command prompt, we are actually creating the folder in the computer without doing it manually. To write a directory, we need to type 'mkdir_name of directory'.

       For running and compiling a simple java program, there are some error occurs during running the program. Thus, there are some precautions that should be aware by the students which is, we have to write the name of the file correctly in the java program. For example, " MyFirstJavaProgram.java ". Secondly, write the notations and the syntax correctly in the notepad do that it can be recognize by the program to display the input. We have to check all the spelling to get the exact output that we want. Lastly, we compiled our java program.
 
       For this lab, I have  problems to show the picture that should be shown in this reflection. But, I will do my best to display the example from lab that I have done for the next lab.

QUESTION :

1. How data is stored?

Data is stored by converted into simple numbers that are easy for a computer to store. the numbers are recorded by hardware inside the computer and lastly, the numbers are organized to be moved and temporarily stored.

2. How music and image are stored?

the computer will translate the image into digital code for storage and then will be interpreted back into image for display.

     

    next person

Comments