110 likes | 119 Views
ICE. Introduction to ICE. What is programming language ?. Kanitchet Vaiassava [4931418821] Woraphon Wongwattanakit [4931562421] Faculty of Engineering : Chulalongkorn University. Programming Language ?. Why programming language ?.
E N D
ICE Introduction to ICE What is programming language ? Kanitchet Vaiassava [4931418821] Woraphon Wongwattanakit [4931562421] Faculty of Engineering : Chulalongkorn University
Programming Language ? • Why programming language ? Becausecomputer can’t understand human language, and computer doesn’t know how to do and what to do. • What is programming language (again) ? A program is a list all set of instructions which are executed to perform a specific action. And programming language is a language used between human & computer. Common examples of programming languages are Visual Basic, Java, C++
Programming Language • Computer’s native language : Computer is on/off switches that tells the computer what to do • 01111011 01111011 01111011 • Human’s native language : Language that human can understand it like • “Hello, Good morning” “How are you ?” • Programming language such as C, FORTRAN, or Pascal enables a programmer to write programs that are more or less independent of a particular type of computer. Such languages are considered high-level because they are closer to human languages and further from machine languages. In contrast, assembly languages are considered low-level because they are very close to machine languages.
Programming Language • The main advantage of high-level languages over low-level languages is that they are easier to read, write, and maintain. Ultimately, programs written in a high-level language must be translated into machine language by a compiler or interpreter. • The first high-level programming languages were designed in the 1950s. Now there are dozens of different languages, including Ada, Algol, BASIC, COBOL, C, C++, FORTRAN, LISP, Pascal, and Prolog.
<- Programming -> - Programming is the processing of writing these lists or sets of instructions for the computer, or indeed, any device such as a mobile phone, to interpret and execute. Programming is part of Software Development. - Programming involves six steps, which are program specification, design, coding, testing, documentation and maintenance.
Programming Steps Step 1 - Program specification involves determining the objectives, outputs, inputs and processing requirements of the software to be developed. Step 2 -Program design involves creating a solution to the requirements identified in the specification stage with the help of methods such as flow charts.
Programming Steps Step 3 -Coding involves using a programming language to actually write the program. Like, If you want computer show “Hello World!” word. (sounds familiar like ? .. You can See this word from every book that about programming ) For Java, the command is System.out.println(“Hello World!”); for C#, it is Console.WriteLine (“Hello World!”);
Programming Steps Step 4 - Debugging involves testing a program to find out logic and syntax errors in them and correcting those errors. This error because syntax error. Debug is correct you error. In this picture correct it by put ; after command Debug is …. No!! .. It is ->
Programming Steps Step 5 -Documentation involves writing a description of the procedures (processes) and purpose of the program and how to use it. Step 6 - Maintenance involves updating already-written programs to correct errors that have been detected since the original program was written, improve its usability, and adjust it to an organization if it has undergone changes.
How to program ? (First of all you must have programming programs such as Java, C#, etc..) Programming involves the use of algorithms, flowcharts, decision tables, decision trees, data flow diagrams and other tools. What is Algorithms ? It’s my homework for you .. Ha ha ha
What is programming language ? THE END