Programming Languages

Slides:



Advertisements
Similar presentations
CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Advertisements

2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level.
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.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
ALGORITHMS AND PROGRAMMING LANGUAGES Lecture 5: Algorithms and programming languages Networks and Communication Department 1.
The CPU The Central Presentation Unit Language Levels Fetch execute cycle Processor speed.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Your Interactive Guide to the Digital World Discovering Computers 2012.
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.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
Introduction to Computer Programming itc-314
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
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.
COMPUTER PROGRAMS AND LANGUAGES Chapter 4. Developing a computer program Programs are a set (series) of instructions Programmers determine The instructions.
Programming: A Brief History. Introduction Five Generations of Programming Languages Gets closer to representing data in human terms Requires additional.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
The Teacher Computing Computer Languages [Computing]
CSC425 - Introduction To Computer Programming 1. 2 Generation Of Programming Languages A set of rules that telling a computer what to do. There are over.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
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.
Evolution and History of Programming Languages 1.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
PROGRAMMING LANGUAGES
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Machine Machine language is PL in which program instructions are written in strings of 0s and 1s.The computer circuitry is wired in a manner that it can.
Introduction to Computer Programming itc-314 Lecture 04.
Lecture-8 Introduction to computer languages.
Compilers and Interpreters
Skill Area 311 Part B. Lecture Overview Assembly Code Assembler Format of Assembly Code Advantages Assembly Code Disadvantages Assembly Code High-Level.
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
GROUP 2 NAME :  AZMYLL BIN ARSHAD  (18DNS14F2014)  MARYAM JAMILAH BINTI RAHIM  (18ENS14F2004)  SURAYA BINTI MOHAMAD  (18DNS14F2005)  MUHAMMAD SALEH.
CSC141 Introduction to Computer Programming Programming Language.
Introduction to computer programming
Programming Languages
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
INTRODUCTION TO COMPUTER PROGRAMMING ITC-314. Computer Programming  Computer Programming means creating a sequence of instructions to enable a computer.
3/5/2002e-business and Information Systems1 Introduction Computer System Hardware Software HW Kernel/OS API Application Programs SW.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Game programming 1.
Evolution and History of Programming Languages
Why don’t programmers have to program in machine code?
Unit 2.5 Translators and Facilities of Languages – Lesson 1
Operating System Interface between a user and the computer hardware
Sections Basic Concepts of Programming
CSCI-235 Micro-Computer Applications
LESSON 1 Introduction to Programming Language
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Computer System and Programming
A451 Theory – 7 Programming 7A, B - Algorithms.
Chapter 4 Computer Software.
Computer science By/ Midhat Mohiey. Introduction to Programming using C ++ 2.
Translators & Facilities of Languages
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Introduction to Computer Programming
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.
Behind the scenes: software programming
An Introduction to Programming with C++ Fifth Edition
Presentation transcript:

Programming Languages Computer languages Programming Languages

Program A computer program is a well defined set of instructions to achieve a particular task.

Programming Language A programming language is a formal construction language designed to communicate instruction to a computer.

Programmer A programmer writes a program to tell the computer what to do.

Types of programming Languages Low level language High level language

Low-level languages Low- level lang. are designed to operate and handle the entire hardware, Low level languages are machine dependent n computer understands only low-level lang. Low level languages are2 types

Machine level language Computer can understand the binary codes of 0’s n 1’s which is known as machine level language, It is the 1st computer language n machine dependent.

Assembly level language A-L-L used as interface with computer n hardware Mnemonic codes n symbolic addresses are used Needs an assembler to translate the prog. Code to machine level language

High level lang. Designed for specific job Easier to understand and closer to human langs. Combination of English and mathematical symbols Code must be translated into machine lang. Converted into binary code by interpreter or compiler

Advantages of H-L-L H-L-L are easily understandable than L-L-L N A-L-L Debugging ( rectifying errors ) is easy Require less time n effort for coding Knowledge of hardware and binary arithmetic is not required

Examples of H-L-L Basic :- Beginners all purpose symbolic instruction code general purpose language, used to develop custom applications developed by John G. kemeny n Thomas E. kurtz

LOGO Logic oriented n graphic oriented Used to draw figures using commands Developed by Seymour papert

FORTAN Formula Translator Designed to speed up n simplify n speed up the complex scientific applications Developed by John Backus

COBOL Common business oriented language Used for Business, Finance n administration purpose

C Used for designing system s/w Developed in 1972 by DENNIS RITCHIE ( 18 )

C++ Object oriented language used for developing system s/w Developed in 1983 by BJARNE STROUSTRUP ( 18 )

JAVA Advanced prog. language derived from C n C++ ( 18 ) Derive = originated from c n c++

TRANSLATOR Types of translators Compiler Interpreter Translator translates the given prog. Into another equivalent prog. Language Types of translators Compiler Interpreter ( 19 )

COMPILER Compiler converts a H-L-L into Machine level language translates the entire program in single shot n execute it ( 19 )

INTERPRETER Translates statement by statement n execute it ( 19 )

Generations of prog. Lang. 1st gen lang. low level languages, n essentially machine level langs. ( essentially = basic or fundamental )

2nd gen lang. low level programming lang. 2 gen lang. comprise ( made up ) of assembly lang. uses the concept of mnemonics for writing a prog. easier to read n write than 1gl

3rd G.L Known as H.L.L H.L.L are Procedural languages ( established or official ) H.L.L are comprise list of steps, procedures that tells the computer not only what to do but also how to do. it enables the programmer to concentrate only on the logic of the program. A translator required to translate H.L.L to M.L.L EX :- C, C++, java, etc ( 19 )

4GL Also known as H.L.L Purpose of 4GL is to reduce programming time, effort and cost. 4GL are highly user friendly By using the 4GL the sped of developing the progs. Are increased EX:- SQL, CSS, Power builder etc.

5GL 5GL languages are used in the field of Artificial intelligence EX :- Mercury, Prolog etc