output+data

=3.2.4 j=
 * ===output data onto screen/file/printer, formatting the data for output as necessary.===


 * = Keyword = || = Definition = ||
 * === Output === || === Data transfered out of a computer system === ||
 * === Format === || === the structure, or layout, of an item === ||
 * === Data === || === raw facts and figures, such as orders and payments, which are processed into information === ||

When a computer runs a program all the variables are stored as raw data. Therefore to output these as there are would result in something no one but the programmer would understand
code format="java" Example Code

int num1 = 30; System.out.println(num1); code The code above would just output "30". To the user it could mean anything, "30 apples", "30 years", "30 degrees" ect... More would have to be added to make the data have meaning and become information. code Example Code

int num1 = 24; System.out.println(num1 + " days"); code The code will now output "30 days". Now the user knows what unit the data is refering to but they still do not know the context in which it is being used. It could be referring to "30 days until Christmas" or "30 days until my birthday". Context needs to be added to make the data fully understandable. code Example Code

int num1 = 30; System.out.println("There are " + num1 + " days in September") code The code will now output "There are 30 days in september". The user can now understand what the program is telling them.

This was just a short example of code though. in a full program all the data the computer is outputting will contribute to how understandable the output is. A full output should include headers, titles and possible put the data into some sort of table, chart or graph.