php1 introduction and basics
TRANSCRIPT
![Page 1: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/1.jpg)
Welcome
![Page 2: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/2.jpg)
MAKING THE MOST
OF THIS COURSE
![Page 3: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/3.jpg)
no required
programming experience
![Page 4: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/4.jpg)
no required
platform
![Page 5: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/5.jpg)
no required
background
![Page 6: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/6.jpg)
WHAT IS PROGRAMMING?
![Page 7: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/7.jpg)
“A computer program is a
set of instructions…”
![Page 8: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/8.jpg)
![Page 9: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/9.jpg)
turn right
drive one mile
turn left on bank
take the second right
fourth house on the left
![Page 10: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/10.jpg)
turn right
drive one mile
![Page 11: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/11.jpg)
200 + 300 = 500
X
![Page 12: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/12.jpg)
STATEMENTS
BASIC LET Balance = 500
AppleScript set balance to 500
Java balance = 500;
COBOL MOVE 500 TO BALANCE
![Page 13: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/13.jpg)
“programming is the ability to take
this idea in your head, break it apart
into its individual pieces”
![Page 14: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/14.jpg)
WHAT IS A PROGRAMMING LANGUAGE?
![Page 15: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/15.jpg)
![Page 16: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/16.jpg)
CC++
C#Java
JavaScriptPerlPHP
PythonObjective-C
RubyVisual basic
![Page 17: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/17.jpg)
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
![Page 18: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/18.jpg)
Machine codeCPU
Assembly Language
C
Low-Level Languages
C++
Java, C#, VB.NET
Objective-C
Ruby, Python, PHP
JavaScript, ActionScript
High-Level Languages
![Page 19: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/19.jpg)
WRITING SOURCE CODE
![Page 20: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/20.jpg)
![Page 21: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/21.jpg)
print(“Hello, World!”)Python 3 LuaALGOL 68ALGOL 68 / Python 3 /
![Page 22: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/22.jpg)
ALGOL 60
BEGIN
DISPLAY (“Hello, Wolrd!”);
END.
![Page 23: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/23.jpg)
C
#include <studio.h>
int main(void){
printf(“Hello, world\n”);return 0;
}
![Page 24: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/24.jpg)
C#
using system;
class Example{
static void Main(string[] args){
Console.WriteLine(“Hello world!”);
}}
![Page 25: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/25.jpg)
Java
public class HelloWorld{public static void main(string[] args){
System.out.println(“Hello, World!”);}
}
![Page 26: php1 Introduction and Basics](https://reader033.vdocument.in/reader033/viewer/2022060123/5596dbde1a28abdb6a8b4748/html5/thumbnails/26.jpg)
LANGUAGE EXAMPLES
Compiled C, C++, Objective-C
Interpreted PHP, JavaScript
Hybrid Java, C#, VB.NET, Python