Programming Language Basics. What is a Programming Language? “A computer, human-created language used to write instructions for a computer.” “An artificial.

Slides:



Advertisements
Similar presentations
Lesson 1:Introduction to Programming (Python/Java)
Advertisements

GCSE Computing Lesson 5.
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
compilers and interpreters
CS0004: Introduction to Programming Introduction to Programming.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Introducing Programming a general discussion. What is a Program? Sets of instructions that get the computer to do something Programs may be a few lines.
Programming Creating programs that run on your PC
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
1 Programming Languages b Each type of CPU has its own specific machine language b But, writing programs in machine languages is cumbersome (too detailed)
Chapter 16 Programming and Languages: Telling the Computer What to Do.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Course: Introduction to Computers
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
Activity 1 - WBs 5 mins Go online and spend a moment trying to find out the difference between: HIGH LEVEL programming languages and LOW LEVEL programming.
Introduction to Programming End Show. Resource Team R.P Ranjan-Lecturer, SPICTEC, Galle. W.M.A.S. Wijesekara-Centre manager,CRC Hali-Ela H.P.U.S Indra.
1 Chapter-01 Introduction to Computers and C++ Programming.
Chapter 9 Interactive Multimedia Authoring with Flash - Introduction to Programming “Computers and Creativity” Richard D. Webster, COSC 109 Instructor.
PROGRAMMING LANGUAGES The Study of Programming Languages.
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
Slide 1 Standard Grade Computing Studies Systems Software.
Machine language is the lowest and most basic language of programming language. It is a collection of digits which The computer reads and interprets.
Programming. What is a Program ? Sets of instructions that get the computer to do something Instructions are translated, eventually, to machine language.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Programming With C.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
Intermediate 2 Computing Unit 2 - Software Development Topic 2 - Software Development Languages and Environments.
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
LESSON 1 Introduction to Programming Language. Computer  Comprised of various devices that are referred to as HARDWARE.  The computer programs that.
ALGORITHMS AND FLOWCHARTS. Why Algorithm is needed? 2 Computer Program ? Set of instructions to perform some specific task Is Program itself a Software.
Compilers and Interpreters
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Software Engineering Algorithms, Compilers, & Lifecycle.
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
High-level language programming paradigms. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
Computer Programming - Key Concepts and Terms Computer Program – A computer program is a set of instructions for computer, arranged in logical order, using.
Software Development Languages and Environments. Computer Languages Just as there are many human languages, there are many computer programming languages.
Game programming 1.
Programming Languages and Data Organization
Computer Language
Evolution and History of Programming Languages
Computer Systems Nat 5 Computing Science
Software Development Environment
Topic 2: Hardware and Software
Why don’t programmers have to program in machine code?
Chapter 10 Programming Fundamentals with JavaScript
Programming Languages
Programming Language Hierarchy, Phases of a Java Program
Evolution and History of Programming Languages
CSCI-235 Micro-Computer Applications
LESSON 1 Introduction to Programming Language
Computer Systems Nat 5 Computing Science
A451 Theory – 7 Programming 7A, B - Algorithms.
TRANSLATORS AND IDEs Key Revision Points.
Assembler, Compiler, Interpreter
Chapter 10 Programming Fundamentals with JavaScript
High Level Programming Languages
Assembler, Compiler, Interpreter
Programming Language Basics
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
ICT Programming Lesson 1:
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Introduction to programming
1.3.7 High- and low-level languages and their translators
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Presentation transcript:

Programming Language Basics

What is a Programming Language? “A computer, human-created language used to write instructions for a computer.” “An artificial language that enables people to instruct machines. Computer commands that form procedures by which software programmers design and implement computer software programs.” “A computer tool that allows a programmer to write commands in a format that is more easily understood or remembered by a person, and in such a way that they can be translated into codes that the computer can understand and execute.”

High Level vs. Low Level A high level programming language is one that is easy to learn and similar to English A low level programming language is more difficult to learn but more closely resembles what actually goes on inside a computer

Machine Code At the lowest level, we have machine code which consists of 0’s and 1’s Computers ultimately can only understand machine code Machine code can look something like what you saw in the movie The Matrix

High Level Code On the other hand, high level language code is much easier for us to understand and write Examples of high level programming languages? Java, Visual Basic, C/C++, Turing, Fortran, Pascal

What High Level Code Looks Like in Turing if grade >= 60 then put “You passed!” else put “You failed!” end if

What High Level Code Looks Like in Java if (grade >= 60) { System.out.println(“You passed”); } else { System.out.println(“You failed”); }

The Compiler A compiler is a program that translates high level program code into low level machine code A compiler usually checks your high level code for syntax errors before translating it

compile if (grade >= 60) printf (“You passed!”); else printf (“You failed!”); High level code machine code