Presentation is loading. Please wait.

Presentation is loading. Please wait.

What ‘s programming? Teacher : Mustapha jaballah.

Similar presentations


Presentation on theme: "What ‘s programming? Teacher : Mustapha jaballah."— Presentation transcript:

1 What ‘s programming? Teacher : Mustapha jaballah

2 What’s a program? A computer program is a collection of instructions that performs a specific task when executed by a computer. instructionsexecutedcomputer

3 What’s an algorithm?  An algorithm is a procedure or formula for solving a problem.

4 What’s a software?  Software is a general term for the various kinds of programs used to operate computers.programcomputer

5 Why studying programming?  If you want to work as engeneer in Microsoft, Oracle, Apple, Adobe,…  If you want to create a software for a supermarket, a pharmacy, …  If you wante to create a software like photoshop, gimp, Audacity, …  If you want to create games like GTA, PES, Fifa…  If you want to create web sites.  If you want to create your own application for mobile. You must be good programmer.

6 Steve Jobs (Apple, Pixar, Next)  Everybody in this country should learn how to program a computer, should learn a computer language, because it teaches you how to think. It's like going to law school. I don't think anybody should be a lawyer, but going to law school can actually be useful because it teaches you how to think in a certain way....I view computer science as a liberal art.

7 Which Programming Language Should I Learn First?  C is one of, if not the, most widely used programming languages. if not the  C is the "grandfather" of many other languages.  Java is the second most popular programming language

8 Choosing Your Path  Back-end/Server-side Programmer: Usually uses one of the following: Python, Ruby, PHP, Java or.Net. Has database knowledge. Possibly has some sysadmin knowledge.  Front-end/Client-side Programmer: HTML, CSS, JavaScript. Possibly has design skill.  Mobile Programmer: Objective-C or Java (for Android). HTML/CSS for mobile websites. Potentially has server-side knowledge.  3D Programmer/Game Programmer: C/C++, OpenGL, Animation. Possibly has good artistic skill.  High-Performance Programmer: C/C++, Java. May have background in mathematics or quantitative analysis.

9 Programming in C Download an editor such as: Dev cpp And start your first program

10 First program #include void main(void) { printf("Helow world"); system("pause>null"); } This program show the message Hellow world

11 Second program Sum of 2 integers #include void main(void) { int n1,n2,sum; printf("First integer: "); scanf("%d",&n1); printf("Second integer: "); scanf("%d",&n2); sum=n1+n2; printf("the sum is : %d ",sum); system("pause>null"); }

12 Third program Sum of 3 integers #include void main(void) { int n1,n2,sum; printf("First integer: "); scanf("%d",&n1); printf("Second integer: "); scanf("%d",&n2); printf(“Third integer: "); scanf("%d",&n3); sum=n1+n2+n3; printf("the sum is : %d ",sum); system("pause>null"); }

13 Thank you Good luck young programmers


Download ppt "What ‘s programming? Teacher : Mustapha jaballah."

Similar presentations


Ads by Google