Welcome
MAKING THE MOST
OF THIS COURSE
no required
programming experience
no required
platform
no required
background
WHAT IS PROGRAMMING?
“A computer program is a
set of instructions…”
turn right
drive one mile
turn left on bank
take the second right
fourth house on the left
turn right
drive one mile
200 + 300 = 500
X
STATEMENTS
BASIC LET Balance = 500
AppleScript set balance to 500
Java balance = 500;
COBOL MOVE 500 TO BALANCE
“programming is the ability to take
this idea in your head, break it apart
into its individual pieces”
WHAT IS A
PROGRAMMING LANGUAGE?
C
C++
C#
Java
JavaScript
Perl
PHP
Python
Objective-C
Ruby
Visual basic
6A
10
04
0C
55
48
EC
00
14
4C
48
00
00
00
00
00
14
00
89
48
00
48
8D
89
00
01
E9
00
01
E9
8D
65
00
00
00
00
FA
83
00
89
3D...
Machine code
CPU
Assembly Language
C
Low-Level Languages
C++
Java, C#, VB.NET
Objective-C
Ruby, Python, PHP
JavaScript, Ac...
WRITING SOURCE CODE
print(“Hello, World!”)
Python 3 LuaALGOL 68ALGOL 68 / Python 3 /
ALGOL 60
BEGIN
DISPLAY (“Hello, Wolrd!”);
END.
C
#include <studio.h>
int main(void)
{
printf(“Hello, worldn”);
return 0;
}
C#
using system;
class Example
{
static void Main(string[] args)
{
Console.WriteLine(“Hello
world!”);
}
}
Java
public class HelloWorld{
public static void main(string[] args){
System.out.println(“Hello, World!”);
}
}
LANGUAGE EXAMPLES
Compiled C, C++, Objective-C
Interpreted PHP, JavaScript
Hybrid Java, C#, VB.NET, Python
1 Introduction and Basics php
1 Introduction and Basics php
1 Introduction and Basics php
Upcoming SlideShare
Loading in …5
×

1 Introduction and Basics php

101
-1

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
101
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

1 Introduction and Basics php

  1. 1. Welcome
  2. 2. MAKING THE MOST OF THIS COURSE
  3. 3. no required programming experience
  4. 4. no required platform
  5. 5. no required background
  6. 6. WHAT IS PROGRAMMING?
  7. 7. “A computer program is a set of instructions…”
  8. 8. turn right drive one mile turn left on bank take the second right fourth house on the left
  9. 9. turn right drive one mile
  10. 10. 200 + 300 = 500 X
  11. 11. STATEMENTS BASIC LET Balance = 500 AppleScript set balance to 500 Java balance = 500; COBOL MOVE 500 TO BALANCE
  12. 12. “programming is the ability to take this idea in your head, break it apart into its individual pieces”
  13. 13. WHAT IS A PROGRAMMING LANGUAGE?
  14. 14. C C++ C# Java JavaScript Perl PHP Python Objective-C Ruby Visual basic
  15. 15. 6A 10 04 0C 55 48 EC 00 14 4C 48 00 00 00 00 00 14 00 89 48 00 48 8D 89 00 01 E9 00 01 E9 8D 65 00 00 00 00 FA 83 00 89 3D 4D 89 00 0A 1D 6C 00 E5 C2 08 89 48 00 46 E4 FF 12 65 81 G4 2G 6B 1B 00 5G F2 F2 D3 E8 88 89 00 0B 0A 1B 1A 2B 2A 3C D3 D4 5F FF DD AA B1 11 BB CC C8 C9 10 20 2F F0 6A 10 04 0C 55 48 EC 00 14 4C 48 00 00 00 00 00 14 00 89 48 00 48 8D 89 00 01 E9 00 01 E9 8D 65 00 00 00 00 FA 83 00 89 3D 4D 89 00 0A 1D 6C 00 E5 C2 08 89 48 00 46 E4 FF 12 65 81 G4 2G 6B 1B 00 5G F2 F2 D3 E8 88 89 00 0B 0A 1B 1A 2B 2A 3C D3 D4 5F FF DD AA B1 11 BB CC C8 C9 10 20 2F F0 F3 D5 D0 89 00 A2 A5 B2 B5 00 89 3D 4D 89 00 0A 1D 6C 00 E5 C2 08 89 48 00 46 E4 FF 5D D0 89 E4 B0 A1 F3 3D 3B BB 50 F0 D0 A1 D1 D3 D4 5F FF DD AA B1 11 BB CC 0A 1D 6C 00 E5 C2 08 89 48 00 46 E4 FF 5D D0 89 E4 B0 A1 F3 3D 3B BB 50 F0 D0 A1 D1 D3 D4 5F FF DD AA B1 11 BB CC
  16. 16. Machine code CPU Assembly Language C Low-Level Languages C++ Java, C#, VB.NET Objective-C Ruby, Python, PHP JavaScript, ActionScript High-Level Languages
  17. 17. WRITING SOURCE CODE
  18. 18. print(“Hello, World!”) Python 3 LuaALGOL 68ALGOL 68 / Python 3 /
  19. 19. ALGOL 60 BEGIN DISPLAY (“Hello, Wolrd!”); END.
  20. 20. C #include <studio.h> int main(void) { printf(“Hello, worldn”); return 0; }
  21. 21. C# using system; class Example { static void Main(string[] args) { Console.WriteLine(“Hello world!”); } }
  22. 22. Java public class HelloWorld{ public static void main(string[] args){ System.out.println(“Hello, World!”); } }
  23. 23. LANGUAGE EXAMPLES Compiled C, C++, Objective-C Interpreted PHP, JavaScript Hybrid Java, C#, VB.NET, Python
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×