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.

Slides:



Advertisements
Similar presentations
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
Advertisements

CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Computers Are Your Future
PROGRAMMING Introduction To Programming Definition Types Of Programming Languages Programming Language Paradigm Translator
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Programming and Languages Chapter 13.
2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level.
Programming Creating programs that run on your PC
The Binary Machine Modern high-level programming languages are designed to make programming easier. On the other end, the low level, all modern digital.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Computers: Tools for an Information Age
Program Flow Charting How to tackle the beginning stage a program design.
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.
1414 CHAPTER PROGRAMMING AND LANGUAGES. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved Competencies Describe the six steps of programming.
The CPU The Central Presentation Unit Language Levels Fetch execute cycle Processor speed.
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.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
Programming Languages: Telling the Computers What to Do Chapter 16.
Introduction to Computer Programming itc-314
Programming Languages CPS120: Introduction to Computer Science Lecture 5.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
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.
Copyright©2008 N.AlJaffan®KSU1 Chapter 11 Information system development and programming language.
An Introduction to Programming with C++ Sixth Edition
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 LANGUAGES Prof. Lani Cantonjos. PROGRAM - set of step-by-step instructions that tells or directs the computer what to do. PROGRAMMING LANGUAGE.
CMPE13Cyrus Bazeghi 1 Programming Languages Telling computers what to do.
1 Chapter 13 Understanding Computers, 11 th Edition 13 Program Development and Programming Languages TODAY AND TOMORROW 11 th Edition CHAPTER.
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.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
1 Week 1: The History of Computing: Software READING: Chapter 1.2.
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.
Copyright © Prentice Hall Programming and Languages Chapter 14 Telling the Computer What to Do.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
What is Programming? A program is a list of instructions that is executed by a computer to accomplish a particular task. Creating those instructions is.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
PROGRAMMING LANGUAGES
Software Development Programming & Languages. Programming: A Five-Step Procedure Define the problem Design a solution Code the program Test the program.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Programming Languages
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
Programming and Languages Dept. of Computer and Information Science IUPUI.
Introduction to Computer Programming itc-314 Lecture 04.
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
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.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Programming Languages and Data Organization
Computer Language
Programming Languages
Lecture 1 Introduction Richard Gesick.
Sections Basic Concepts of Programming
CSCI-235 Micro-Computer Applications
Chapter 4 Computer Software.
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
An Introduction to Programming with C++ Fifth Edition
Presentation transcript:

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 200 programming languages in the world. Helps we understanding computer. We need programming languages  as an alternative to a manual system  diadvantages of manual system: s slow s repetitive s incorrect data/information Programming Languages

CSC425 - Introduction To Computer Programming 3 2 types : Structured and object - oriented. Programming Approach 1. Structured Programming A methodology in which all program logic is constructed from a combination of three control structures : sequence, selection and repetition (loop) Program logic is description of the step-by step procedures for a module.

CSC425 - Introduction To Computer Programming 4 2. Object-oriented programming Packaged the data and procedure into a single unit called an object which can be reused and modified. Object have classes and subclasses. Each class contains the characteristics that are unique to objects of that class. data - called attributes or variables procedure - t he instructions that tell the data what to do - called operations or method.

CSC425 - Introduction To Computer Programming 5 Evaluation Of 3GL 4GL 5GL P rogramming Languages Machine Language Assembly Language High-Level Language

CSC425 - Introduction To Computer Programming 6 Lowest level of language Represent data and program instructions as 1s and 0s The only language that computer directly understand. (Do not require translator) Not convenient to read and use. First generation language Machine - dependent Machine Language (1940s – 1950s)

CSC425 - Introduction To Computer Programming 7 Second generation language Developed to replace 1s and 0s use in machine language. Use mnemonic codes : abbreviations that easy to remember A for Add C for Compare MP for Multiply Requires a translator to translate the assembly program into machine language ( assembler). Difficult to learn Machine-dependent Assembly Language (1950s – 1960s)

CSC425 - Introduction To Computer Programming 8 Made easy for programmer to develop and maintain program Machine- independent (can run on may different types of computers) Have 3 categories : third, fourth and fifth generation Written in series of English-like words Must be translated to machine code first. (Use translator) High Level Language

CSC425 - Introduction To Computer Programming 9 3rd Generation Language (1960 – 1970) Instruction is written as a series of English-like words. Often are called procedural languages Translation is performed using compiler or translator Example of 3GL programming language: FORTRAN, COBOL and BASIC

CSC425 - Introduction To Computer Programming 10 Stands for FORmula TRANslator Develop in the late 1950s by team of IBM Designed for scientific applications Used most often by scientist, engineers and mathematicians. Example coding in FORTRAN FORTRAN FORTRAN

CSC425 - Introduction To Computer Programming 11 COBOL Common Business Oriented Language was developed in the early 1960s more widely used used for business applications easy to read, write and maintain BASIC Was develop in the mid s by John Kemeny and Thomas Kurtz Easy to learn and used Widely used for education and business application.

CSC425 - Introduction To Computer Programming 12 Also uses English-like statements Non- procedural languages - only to specify what is to be accomplished without explaining how Coding programs requires less time and effort Example of programming language : PROLOG, FOCUS, LISP and FORTH 4th Generation Language (1970s – 1980s)

CSC425 - Introduction To Computer Programming 13 Also called natural language. A type of query language that allows the user to enter requests that resemble human speech. Translate human instructions into code the computer understands. Sometimes referred to as knowledge-based language. 5th Generation Language (1990s)

CSC425 - Introduction To Computer Programming 14 Example of Natural language Welcome to Inquiry What would you like to know? Do we have hammer #37645? One moment please.. Yes, we have 14 hammer # Do we have 1 box nails #3601? One moment, please. No nails #3601 in stock.

CSC425 - Introduction To Computer Programming 15 Language Program need to translate because computer only understand machine language. Three kind of translator : - Assembler - Compiler - Translator Used in assembly language for translate the language to machine language Translator Assembler

CSC425 - Introduction To Computer Programming 16 Translates one program code statement at a time. Immediately displays feedback when it finds error. Use for Basic Source program Data INTERPRETERRESULTS Interpreter

CSC425 - Introduction To Computer Programming 17 Translating the source code from its original language into machine code. Converts the entire source program into machine language at one time Use for C and Cobol Source program Data COMPILER RESULTS OBJECT PROGRAM Program Listing Compiler