scci'14 - appsplash [2] code!
Post on 18-Sep-2014
199 views
DESCRIPTION
TRANSCRIPT
![Page 1: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/1.jpg)
Essam Ahmed Hassan
![Page 2: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/2.jpg)
Intro to Coding
![Page 3: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/3.jpg)
Why learn how to code?
![Page 4: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/4.jpg)
![Page 5: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/5.jpg)
Why learn how to code?
![Page 6: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/6.jpg)
![Page 7: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/7.jpg)
![Page 8: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/8.jpg)
![Page 9: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/9.jpg)
Crystal Clear?
![Page 10: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/10.jpg)
So, Let’s learn some CODE!
• What’s a programming language?
• Programming languages Components
• How it works!
![Page 11: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/11.jpg)
A Programming Language is ..
A language that connects people and computers
![Page 12: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/12.jpg)
Programming languages Components Variables bool int float double char
True/False
20 1.2 1.2467965 ‘c’
Flow Control
![Page 13: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/13.jpg)
![Page 14: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/14.jpg)
Programming languages Components
Loops
Few more amazing stuff we will be dealing with later..
![Page 15: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/15.jpg)
Crystal Clear?
![Page 16: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/16.jpg)
How it works!
• You Write..
• You press “RUN”
• Your code is translated into 0s and 1s
• Magic!
![Page 17: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/17.jpg)
Tips for The geeks!
• 75% of coding is Googling.
• Programming Languages are a lot, and you only need to know a tiny bit of it.
• You will spend 90% of your time on paper rather than your computer
![Page 18: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/18.jpg)
Crystal Clear?
![Page 19: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/19.jpg)
Let’s Learn Some JavaScript!
Variablesvar Name=“Khalid”;
var ID=1250;
var weight=15.5;
var isOdd= true;
Note: we use “;” after every statement.
![Page 20: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/20.jpg)
Let’s Learn Some JavaScript!
Printingconsole.log(“Khalid”);
//Ignored by the program
Note: we use “;” after every statement.
Comment Line
![Page 21: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/21.jpg)
Let’s Learn Some JavaScript!
Flow Controlif (/* Some condition */) { // Do something } else if (/* Some other condition */) { // Do something else } else { // Otherwise // Do a third thing }
![Page 22: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/22.jpg)
Let’s Learn Some JavaScript!
Loops
for(var i = 0; i < condition; i++){ //Do something! }
do {//Do something} while(Condition);
while(condition){//Do something}
![Page 23: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/23.jpg)
Functions?
Let’s Learn Some JavaScript!
![Page 24: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/24.jpg)
RECAPRECAP
RECAP
RECAP
RECAP
RECAP
RECAP
RECAP
RECAP
![Page 25: SCCI'14 - Appsplash [2] Code!](https://reader036.vdocument.in/reader036/viewer/2022070300/5419d8f67bef0a65128b53ac/html5/thumbnails/25.jpg)
THANKS!
terimakashiGrazie
Gracias
KamsaObrigadoMerci