what is programming and its clear concepts to the point

26
Welcome

Upload: salman-memon

Post on 15-Apr-2017

50 views

Category:

Education


0 download

TRANSCRIPT

Page 1: what is programming and its clear Concepts to the point

Welcome

Page 2: what is programming and its clear Concepts to the point

MAKING THE MOSTOF THIS COURSE

Page 3: what is programming and its clear Concepts to the point

no requiredprogramming experience

Page 4: what is programming and its clear Concepts to the point

no requiredplatform

Page 5: what is programming and its clear Concepts to the point

no requiredbackground

Page 6: what is programming and its clear Concepts to the point

WHAT IS PROGRAMMING?

Page 7: what is programming and its clear Concepts to the point

“A computer program is a set of instructions…”

Page 8: what is programming and its clear Concepts to the point
Page 9: what is programming and its clear Concepts to the point

turn rightdrive one mileturn left on banktake the second rightfourth house on the

left

Page 10: what is programming and its clear Concepts to the point

turn rightdrive one mile

Page 11: what is programming and its clear Concepts to the point

200 + 300 = 500

X

Page 12: what is programming and its clear Concepts to the point

STATEMENTS

BASIC LET Balance = 500

AppleScript set balance to 500

Java balance = 500;

COBOL MOVE 500 TO BALANCE

Page 13: what is programming and its clear Concepts to the point

“programming is the ability to take this idea in your head, break it apart

into its individual pieces”

Page 14: what is programming and its clear Concepts to the point

WHAT IS A PROGRAMMING LANGUAGE?

Page 15: what is programming and its clear Concepts to the point
Page 16: what is programming and its clear Concepts to the point

CC++

C#Java

JavaScriptPerlPHP

PythonObjective-C

RubyVisual basic

Page 17: what is programming and its clear Concepts to the point

6A10040C5548EC00144C4800000000001400894800488D8900

01E90001E98D6500000000FA8300893D4D89000A1D6C00E5C2

0889480046E4FF126581G42G6B1B005GF2F2D3E88889000B0A

1B1A2B2A3CD3D45FFFDDAAB111BBCCC8C910202FF06A10040C

5548EC00144C4800000000001400894800488D890001E90001

E98D6500000000FA8300893D4D89000A1D6C00E5C208894800

46E4FF126581G42G6B1B005GF2F2D3E88889000B0A1B1A2B2A

3CD3D45FFFDDAAB111BBCCC8C910202FF0F3D5D08900A2A5B2

B500893D4D89000A1D6C00E5C20889480046E4FF5DD089E4B0

A1F33D3BBB50F0D0A1D1D3D45FFFDDAAB111BBCC0A1D6C00E5

C20889480046E4FF5DD089E4B0A1F33D3BBB50F0D0A1D1D3D4

5FFFDDAAB111BBCC

Page 18: what is programming and its clear Concepts to the point

Machine codeCPU

Assembly Language

CLow-Level Languages

C++

Java, C#, VB.NET

Objective-C

Ruby, Python, PHP

JavaScript, ActionScript

High-Level Languages

Page 19: what is programming and its clear Concepts to the point

WRITING SOURCE CODE

Page 20: what is programming and its clear Concepts to the point
Page 21: what is programming and its clear Concepts to the point

print(“Hello, World!”)Python 3 LuaALGOL 68ALGOL 68 / Python 3 /

Page 22: what is programming and its clear Concepts to the point

ALGOL 60

BEGINDISPLAY (“Hello, Wolrd!”);

END.

Page 23: what is programming and its clear Concepts to the point

C

#include <studio.h>

int main(void){

printf(“Hello, world\n”);return 0;

}

Page 24: what is programming and its clear Concepts to the point

C#

using system;

class Example{

static void Main(string[] args){

Console.WriteLine(“Hello world!”);

}}

Page 25: what is programming and its clear Concepts to the point

Java

public class HelloWorld{public static void main(string[] args){

System.out.println(“Hello, World!”);}

}

Page 26: what is programming and its clear Concepts to the point

LANGUAGE EXAMPLES

Compiled C, C++, Objective-C

Interpreted PHP, JavaScript

Hybrid Java, C#, VB.NET, Python