2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level.

Slides:



Advertisements
Similar presentations
Computers Are Your Future
Advertisements

101.  When you communicate with people you use a language that you both understand.  The trick is that the computer does not speak English.  To communicate.
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Programming and Languages Chapter 13.
Computers: Tools for an Information Age
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.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Chapter 3 Software Two major types of software
Programming. Software is made by programmers Computers need all kinds of software, from operating systems to applications People learn how to tell the.
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 – 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
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: 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.
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.
Evolution of Programming Languages Generations of PLs.
COMPUTER PROGRAMS AND LANGUAGES Chapter 4. Developing a computer program Programs are a set (series) of instructions Programmers determine The instructions.
Copyright©2008 N.AlJaffan®KSU1 Chapter 11 Information system development and programming language.
An Introduction to Programming with C++ Sixth Edition
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Information Systems Overview (COIS 20024) Lecture: Week 3 Computer Software (Information Systems Resources)
Evolution and History of Programming Languages. Machine languages Assembly languages Higher-level languages To build programs, people use languages that.
Evolution and History of Programming Languages. Software Programming Language.
The Teacher Computing Computer Languages [Computing]
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
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.
Evolution and History of Programming Languages 1.
Copyright © Prentice Hall Programming and Languages Chapter 14 Telling the Computer What to Do.
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.
 Programming - the process of creating computer programs.
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Programming Languages
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
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.
Programming Languages and the Programming Process lesson 28.
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
Skill Area 311 Part B. Lecture Overview Assembly Code Assembler Format of Assembly Code Advantages Assembly Code Disadvantages Assembly Code High-Level.
Welcome to OBJECT ORIENTED PROGRAMMING Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
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 Concepts M. Uyguroğlu R. Uyguroğlu.
Programming Languages
Software Engineering Algorithms, Compilers, & Lifecycle.
Computer Software 1.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Introduction to Software
Computer Language
Evolution and History of Programming Languages
Programming Languages
Programming Languages
Introduction to programming
Operating System Interface between a user and the computer hardware
CSCI-235 Micro-Computer Applications
Computer Programming.
Translators & Facilities of Languages
1.3.7 High- and low-level languages and their translators
Presentation transcript:

2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level languages.

3 Low-level languages are programming languages that use words and symbols that are close to the language the computer understands. High-level languages are programming languages that use the same words and symbols that are used by humans.

4 There are five generations of programming languages. They are:  First Generation or Machine Languages  Second Generation or Assembly- level Languages  Third Generation or High-level Languages  Fourth Generation Languages  Fifth Generation Languages

5 1GLs were the first languages that were developed for computers. 1GLs is also called ‘First Generation Languages.’

6 An example of a code written in 1GL is:

7 ‘Machine dependent’ is a program that runs only on a particular type of computer system.

8 One advantage of 1GLs is:  It is able to be executed very fast by the computer, as there is no need for translation. Three disadvantages of 1GLs are:  It is difficult to read, write and understand by humans as the programs involve only 0s and 1s  It is unable to be used on another machine that means it is ‘machine dependent’  It is difficult to correct or modify mistakes.

9 Second Generations languages were created since the writing of programs using Machine-level languages was cumbersome.

10 An example of 2GL is Assembly language. Instructions are written in Assembly language using mnemonics.

11 The term ‘Mnemonics’ means abbreviated forms of words.

12

13 The purpose of an assembler is to convert Assembly-level language instructions to Machine- level language.

14 Two advantages of Assembly languages are:  It is easier to read, write and understand than Machine-level language.  It is easier to correct or modify mistakes than Machine-level language. Two disadvantages of Assembly languages are:  It is slower in execution than Machine- level language.  It is still machine dependent.

15 Third Generation languages were created to make the programming easier that ALL (Assembly-level languages).

16 Some examples of 3GLs are:  BASIC  FORTRAN  Pascal  C  COBOL

17 No, the computer cannot understand Third Generation Languages. It must be translated either using compilers or interpreters. These are needed because it convert High-level language to Machine language so the computer could understand what the user wants.

18 A translator program is used to convert High-level language to Machine-level language.

19 A compiler and an interpreter are both translators that convert High- level language instructions to Machine-level language but a compiler takes all the instructions together to form a single file that can run on its own while an interpreter takes one instruction at a time and does not produce files that can run independently.

20 Three advantages of using High-level languages are:  It is easier to read, write and understand than Machine-level language and ALL.  It is easier to modify or correct mistakes than Machine-level language and ALL.  It is machine dependent. A disadvantage of using High-level language is:  It is slower in execution than Machine- level language and ALL.

21 Fourth-generation computer programming language. 4GLs are closer to human language than other high-level languages and are accessible to people without formal training as programmers. They allow multiple common operations to be performed with a single programmer- entered command. They are intended to be easier for users than machine languages

22 An Example of 4GLs :

23 A fifth-generation programming language (natural language) (abbreviated 5GL or NL) is a programming language based on solving problems using constraints given to the program, rather than using an algorithm written by a programmer. Most constraint- based and logic programming languages and some declarative languages are fifth-generation languages. While fourth-generation programming languages are designed to build specific programs, fifth-generation languages are designed to make the computer solve a given problem without the programmer. This way, the programmer only needs to worry about what problems need to be solved and what conditions need to be met, without worrying about how to implement a routine or algorithm to solve them. Fifth-generation languages are used mainly in artificial intelligence research.

24 Examples Of Fifth Generation Languages are:  Prolog  OPS5  Mercury

25 Artificial intelligence (AI) is the intelligence of machines or software, and is also a branch of computer science that studies and develops intelligent machines and software. Major AI researchers and textbooks define the field as "the study and design of intelligent agents", where an intelligent agent is a system that perceives its environment and takes actions that maximize its chances of success. John McCarthy, who coined the term in 1955, defines it as "the science and engineering of making intelligent machines". AI research is highly technical and specialised, deeply divided into subfields that often fail to communicate with each other. Some of the division is due to social and cultural factors: subfields have grown up around particular institutions and the work of individual researchers. AI research is also divided by several technical issues. There are subfields which are focused on the solution of specific problems, on one of several possible approaches, on the use of widely differing tools and towards the accomplishment of particular applications. The central problems (or goals) of AI research include reasoning, knowledge, planning, learning, communication, perception and the ability to move and manipulate objects. General intelligence (or "strong AI") is still among the field's long term goals. Currently popular approaches include statistical methods, computational intelligence and traditional symbolic AI. There are an enormous number of tools used in AI, including versions of search and mathematical optimization, logic, methods based on probability and economics, and many others.

26

27 A PURPLE HATS WIZARDS’ PRODUCTION DONE BY : SEEMA SAMPATH –LEADER SHIVA RAMKISSOON ROMARIO SENNON RAVI RAGOO