COMPUTER PROGRAMMING I SUMMER 2011 Programming Languages.

Slides:



Advertisements
Similar presentations
An Introduction to Programming General Concepts. What is a program? A program is an algorithm expressed in a programming language. programming language.
Advertisements

 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Presentation II History of Computers By Teacher Julio Cesar Peñaloza Castañeda.
Programming Creating programs that run on your PC
Chapter 9: The Tower of Babel
Visual Basic Relevant paradigm and problem domains overview.
Introduction to Programming Programming. COMP102 Prog. Fundamentals I: Introduction / Slide 2 Objectives l To learn fundamental problem solving techniques.
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Programming languages Prepared by : Jyrald Aquino.
Software Development CS 1 Rick Graziani Spring 2007.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
History of Programming Languages
 Define a problem  Prepare sequence of instructions for the computer to execute  Verify that the program works as expected.
BIT Presentation 6. Contents GENERATIONS OF LANGUAGES COMPILERS AND INTERPRETERS VIRTUAL MACHINES OBJECT-ORIENTED PROGRAMMING SCRIPTING LANGUAGES.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Introduction to Computer Programming itc-314
CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
Programming Languages
PZ01A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ01A -- Introduction Programming Language Design and.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
Programming Languages
Chapter 9: The Tower of Babel Invitation to Computer Science, C++ Version, Third Edition.
 Lesson 03: Computer Programming. The Algorithm A List of Well-Defined Instructions for Completing a Task.
High-level Languages.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Computer programming.
Programming: A Brief History. Introduction Five Generations of Programming Languages Gets closer to representing data in human terms Requires additional.
COMPUTER PROGRAMMING I Evolution of Computers and Programming Languages.
Computer Programming 1. Evolution of Computers Components of Computers Programming Languages Important People Javascript Round 2.
Programming History. Who was the first programmer?
CSCI 161: Introduction to Programming 1
1 Introduction Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Visual C++ Programming: Concepts and Projects
The Teacher Computing Computer Languages [Computing]
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
Programming Language 1. Programming language A programming language is a machine-readable artificial language designed to express computations that can.
Software Development Programming Languages and Data Organization.
Popular Programming Languages FORTRAN—the oldest high-level programming language; designed for scientific and mathematical applications. John Backus.
PROGRAMMING LANGUAGES Procedural to Object Oriented The World of Software Development.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization.
Computer Generations ITSC 1401, Intro to Computers Instructor: Glenda H. Easter.
COMPUTER PROGRAMMING I Evolution of Computers and Programming Languages.
Programming Basics By: Mohamud Ahmed Haji For: ©
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Programming Languages
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
Programming Languages
Introduction to Computer Programming itc-314 Lecture 04.
History. Development Driven by Function Functions of a Programming Language –To describe computation for use by computers –To describe computation and.
Computer Basics.
Chapter 1 Introduction to Visual Basic
Computer Languages [Computing] Computing.
CSC235 Computer Organization & Assembly Language
The language focusses on ease of use
Introduction to programming languages, Algorithms & flowcharts
Computer Programming (BCT 1113)
Introduction to programming languages, Algorithms & flowcharts
Chapter 1 Introduction to Computer Science
Introduction to Computers and Java
Application Development Theory
Developing Applications
Introduction to programming languages, Algorithms & flowcharts
Presentation transcript:

COMPUTER PROGRAMMING I SUMMER 2011 Programming Languages

Types of Languages Programming Languages are classified into various categories:  High Level  Very High Level  Low Level  The higher the level the more abstraction from the hardware.

Low Level Low level languages have almost no abstraction from the hardware. This code is written to specific hardware, and will only operate on the hardware it was written for.

More Low Level Two types:  Machine Code (1GL)  Assembly Language (2GL)

Machine Code Machine code is understood directly by the CPU. An example is below:  8B FA B C383 FA B C353BB B D FA BD98B C84AEBF1 5BC3  Obviously, it takes specialized knowledge to program in machine code.  What numbering system is this? (+2 for the first person to get it right!)

Machine Code  8B FA B C383 FA B C353BB B D FA BD98B C84AEBF1 5BC3  If you said Hex, you are right! Machine code is written in hex. The groups of numbers reference memory addresses in RAM.

Assembly Language One level of abstraction from machine code is assembly language. The same program from the last slide is given in MASM an assembly language.

High Level Language In contrast a high level language provides strong abstraction from the hardware. This allows a program to be written in a language that can run on multiple types of computers (running the same operating system).

More High Level We will code in one of two high level languages: Visual Basic 2010 or Visual C# Basic is an old language that has been updated over the years and adapted by Microsoft for use for writing Microsoft Windows and Web applications. C# is a language created by Microsoft and “C# is intended to be a simple, modern, general-purpose, object-oriented programming language.”

Evolution of Basic & C# Basic first appeared in 1964 and was designed by John George Kemeny and Thomas Eugene Kurtz at Dartmouth University. The current version of Visual Basic is the 9 th version from Microsoft. (Visual Basic 2010) The current version of C# is 4.0. C# was first released in 2001.

Visual Basic Microsoft first released VB in This moved the BASIC language to an event driven and object- oriented programming (OOP) language.

C# (C Sharp) C# is Microsoft’s answer to flaws it finds in other languages (C++, Java, etc.) C# is the most closely related language to the CLI (Common Language Infrastructure) the backbone of the.Net Framework, and the first one developed specifically for it.

Other High Level Languages C++ J# F# Java D E And the list goes on and on…

A History Lesson When was the first computer program written and who wrote it?

A History Lesson When was the first computer program written and who wrote it? A: Ada Lovelace- in Modern programming is said to of started in the 1940s. The first “modern” language was Plankalkül which was described in 1943, but not implemented until It was designed by Konrad Zuse.

Languages Used Today The 1950s and 1960s brought about languages still used today: FORTRAN- John Backus et al. (1955) LISP- John McCarthy et al.(1958) COBOL- Grace Hopper et al. (1959) RPG- IBM (1959) BASIC (as noted previously)

Late 1960s and 1970s This was the period when most of the languages used today were invented or are derived from one of the languages invented in this time period B (forerunner to C) Pascal (Java borrows from Pascal) C (C++, Java, C#, and many others are based on C) ML (F# is based on ML, C++ borrows from ML too) SQL (databases)

The Internet Age 1990s During the early/mid 1990s many Internet languages were developed: 1991-Python Java Javascript (not related to Java) PHP Delphi (Object Pascal)

So what has changed? The past few slides contained a list of all these languages, but how have they evolved? The biggest change is more abstraction as described previously. For example a program written in Java on a Windows system an run on a Mac, Windows, Linux, etc. as long a the proper software (a Java complier) is installed. Early programs were bound to specific hardware- current programs are not.

OOP (Object Oriented Programming) The next major evolution is the move to object oriented programming or OOP. As defined by Wikipedia: Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs.

Wrap Up In this presentation we looked at the evolution and history of programming languages. Continue to 1.03 which covers numbering systems used in programming.