SCCI Prioritisation Tool Prototype for Presentation to SCCI 1 Version:0.3 Date:20 th May 2014.
SCCI'14 - Appsplash [2] Code!
-
date post
18-Sep-2014 -
Category
Technology
-
view
203 -
download
1
description
Transcript of SCCI'14 - Appsplash [2] Code!
Essam Ahmed Hassan
Intro to Coding
Why learn how to code?
Why learn how to code?
Crystal Clear?
So, Let’s learn some CODE!
• What’s a programming language?
• Programming languages Components
• How it works!
A Programming Language is ..
A language that connects people and computers
Programming languages Components Variables bool int float double char
True/False
20 1.2 1.2467965 ‘c’
Flow Control
Programming languages Components
Loops
Few more amazing stuff we will be dealing with later..
Crystal Clear?
How it works!
• You Write..
• You press “RUN”
• Your code is translated into 0s and 1s
• Magic!
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
Crystal Clear?
Let’s Learn Some JavaScript!
Variablesvar Name=“Khalid”;
var ID=1250;
var weight=15.5;
var isOdd= true;
Note: we use “;” after every statement.
Let’s Learn Some JavaScript!
Printingconsole.log(“Khalid”);
//Ignored by the program
Note: we use “;” after every statement.
Comment Line
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 }
Let’s Learn Some JavaScript!
Loops
for(var i = 0; i < condition; i++){ //Do something! }
do {//Do something} while(Condition);
while(condition){//Do something}
Functions?
Let’s Learn Some JavaScript!
RECAPRECAP
RECAP
RECAP
RECAP
RECAP
RECAP
RECAP
RECAP
THANKS!
terimakashiGrazie
Gracias
KamsaObrigadoMerci