Upload
c987engineer
View
21
Download
0
Embed Size (px)
Citation preview
Computer Programming
By: Chandler Riehm
What is coding?
Why is it important for the future?
So, what is coding?
Coding is NOT, what some people think is ‘hacking’
Programming
Hacking
The ‘Real’ Meaning of Coding
According to dictionary.com:
The process of writing computer software code.
According to google.com:
The process of assigning a code to something for the purposes of classification or identification.
An Example of a Programming Language: Java (not JavaScript)
.java file (file containing source
code)
Compiled into…
.class file (can no longer be read)
Sub-Class Sub-Class
Sub-Class Sub-Class
A .java file has to be compiled to be useful. Just a java file is useless.
A java file is compiled into a class file. This can be classified as many different things such as a sub-class.
Sub-classes go into a main class that governs every thing. A main class has to have the special method, main().
.java file (file containing source
code)
Line of code
Method(){}
Method(){}
Method(){}
VAR
Argument
Argument
Argument
Argument
Argument
Fors, Whiles, Ifs, etc.
Fors, Whiles, Ifs, etc.
Fors, Whiles, Ifs, etc.
VAR
VAR
VAR
VAR
VAR
VAR
Line of code
Line of code
Line of code
Line of code
Line of code
Line of code
Line of code
Line of code
Line of code
Other Things That Are Important in Java
Packages
Java Packages are folders, but they have different properties
Jar Archives
Jar archives contain all classes, images, and other things that the java program needs to run
Jars, unlike classes, are executable, meaning you can run them
Why is it important for the future?
What is coding?
Why??