Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

compilers and interpreters
Algorithms and flow charts
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
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.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
Development of Computer - Story of Steve. What is a computer A high intelligence machine A tool – make our life much convenient A very loyal servant Pretty.
Algorithms and flow charts
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Software Development CS 1 Rick Graziani Spring 2007.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Types of software. Sonam Dema..
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
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.
Introduction to Computer Programming itc-314
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
Software – Applications software and programming languages
Understanding Computers Ch. 131 Chapter 13 Program Development and Programming Languages.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Tranlators. Machine Language The lowest-level programming languageprogramming language Machine languages are the only languages understood by computers.languagescomputers.
Programming Language Rico Yu. Levels of Programming Languages 1.Low level languages 2.High level languages.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 1 – Car Payment Calculator and Guess the Number.
CS101 Introduction to Computing Lecture Programming Languages.
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 History. Who was the first programmer?
Software – Applications software and programming languages.
The Teacher Computing Computer Languages [Computing]
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
3/5/2009Computer software1 Introduction Computer System Hardware Software HW Kernel/OS API Application Programs SW.
A language which is acceptable to a computer system is called a computer language or programming language and the process of writing instructions in such.
Chapter 0 Overview. Why you are here? Where will you go? What is this course for?
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
PROGRAMMING LANGUAGES
Software Development Programming & Languages. Programming: A Five-Step Procedure Define the problem Design a solution Code the program Test the program.
Software Development Programming Languages and Data Organization.
6. Program Translation CS100: The World of Computing John Dougherty Haverford College.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Programming Languages
int k = Integer.MAX_VALUE; k++; int k = Integer.MAX_VALUE; k++; What happens when the following code executes? byte b = someFile.readByte(); b = (byte)(b.
Introduction to Computer Programming itc-314 Lecture 04.
ICT PROGRAMMING INTRODUCTION. WHAT & WHY PROGRAMMING Programming is a process of developing computer programs Computer program is a set of instructions.
Skill Area 311 Part B. Lecture Overview Assembly Code Assembler Format of Assembly Code Advantages Assembly Code Disadvantages Assembly Code High-Level.
Chapter 1: Introduction to Computers and Programming.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Introduction to computer programming
Software Engineering Algorithms, Compilers, & Lifecycle.
a medium allowing humans and computers to communicate an abstraction of the real world a notation for expressing algorithms the set of all syntactically.
CPS120 Introduction to Computer Science High Level Language: Paradigms.
Programming Languages and Data Organization
Computer Languages [Computing] Computing.
Programming Language Hierarchy, Phases of a Java Program
Sections Basic Concepts of Programming
CSCI-235 Micro-Computer Applications
CS101 Introduction to Computing Lecture 19 Programming Languages
Chapter 4 Computer Software.
Introduction to programming languages, Algorithms & flowcharts
Assembler, Compiler, Interpreter
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
صياغة البرامج ولغات البرمجة Programming & programming languages
Assembler, Compiler, Interpreter
and Program Development
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Presentation transcript:

Programming Languages Lecture 12

What is Programming?  The process of telling the computer what to do  Also known as coding

What is Programming Language?  A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks.

Examples of Programming Languages:  Machine Language  Assembly Language ( )  LISP (1956)  Fortran (1957)  COBOL (1959)  PL/1(1964)  BASIC (1964)  Pascal (1970)  Smalltalk (1972)  C (1972)  Ada(1983)  C++ ( )  QBasic (1986)  Perl (1987)  VisualBasic (1991)  PowerBuilder  Java (1995)  JavaScript  C# (2001)  …

Types of Computer Languages:  There are many types of computer languages, which can be categorized into the following four types:- a) Low-Level Languages b) High-Level Languages c) User-Friendly Languages d) Object-Oriented Languages

Computer Languages: a) Low-Level Language: Languages, which computer can understand directly and are machine dependent are called Low-Level Languages. For Example: Machine Language & Assembly Language.

Computer Languages: b) High-Level Language: The languages, which computer cannot understand directly and are not machine dependent are called High- Level Languages. Some are:- i. BASIC (Beginners All Purpose Symbolic Instruction Code) ii. C etc…

Computer Languages: c) User-Friendly Languages: These languages are very easy to codify and simplest to learn. Some are:- i. dBASE ii. Oracle iii. MS Access etc…

Computer Languages: d) Object-Oriented Languages: The languages which are based on object oriented programming (OOP) approach are called as Object-Oriented languages. For example:- i. Smalltalk ii. C++ iii. Object COBOL iv. JAVA v. Simula etc…

Language Translators:  The software, which converts the codes of other languages into machine code are called Language Translator.  Language Translators are categorized into three types:- 1) Assemblers 2) Interpreters 3) Compilers

Language Translators: 1) Assembler: Assembler translates the assembly language code (source program) into machine language code (object program).  The Microsoft assembler program (MASM) &  Borland Turbo assembler program (TASM) are two popular assemblers.  Assemblers are used mainly in development of system software.

Language Translators: 2) Interpreters: Interpreters translate the high- level language code into machine language code, command by command.  They are very slow for executing large programs, so interpreters are not suitable for most of applications development.

Language Translators: 3) Compilers: As contrast to interpreters, compilers provide faster execution speed.  Compilers translate the entire program (source code) into machine code (object code).  By using linker, the object code is converted into executable code.  Compilers are widely used in translating codes of high level languages.  As compared to assemblers or interpreters, compilers are preferred in development of application software.

Reading Material Programming Languages What is Object-Oriented Software?