National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.

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

Presentation II History of Computers By Teacher Julio Cesar Peñaloza Castañeda.
Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
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
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
Computers: Tools for an Information Age
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
Introduction to Computers and Programming. Some definitions Algorithm: Algorithm: A procedure for solving a problem A procedure for solving a problem.
Introduction to Programming Programming. COMP102 Prog. Fundamentals I: Introduction / Slide 2 Objectives l To learn fundamental problem solving techniques.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Course: Introduction to Computers
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
CS 415: Programming Languages Chapter 1 Aaron Bloomfield Fall 2005.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
1 Chapter-01 Introduction to Computers and C++ Programming.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
History of Programming Languages
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
Introduction to Computer Programming itc-314
CS130 Introduction to Programming with VB 6.0 Fall 2001.
BACS 287 Basics of Programming BACS 287.
There are only 10 types of people in the world, those who understand binary and those who don't.
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.
Slide 1 Standard Grade Computing Studies Systems Software.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
AS Computing Introduction to Programming. What is a Computer Program? A list of instructions that a computer must work through, in a logical sequence,
An Introduction to Programming with C++ Sixth Edition
CS101 Introduction to Computing Lecture Programming Languages.
Visual BASIC 1 Introduction
Chapter 1: Introduction to Programs, and Java 1. Objectives To review programs (§ ). To understand the relationship between Java and the World Wide.
The Teacher Computing Computer Languages [Computing]
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Copyright © Prentice Hall Programming and Languages Chapter 14 Telling the Computer What to Do.
Liang, Introduction to C++ Programming, (c) Chapter 1 Introduction to Computers, Programs, and C++
110-A1 Central Processing Unit Main Memory Monitor Disk Keyboard mouse What's a Computer? Network CPU: (stupid) brain of the computer can do very simple.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
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.
Overview.ppt Overview-An Overview of Visual Basic.NET An Overview of Visual Basic.NET.
PROGRAMMING VOCABULARY. The Words ◦ FORTRAN ◦ COBOL ◦ PASCAL ◦ BASIC ◦ C ◦ Java ◦ Flash ◦ PERL ◦ Ruby ◦ Python.
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Software Engineering Algorithms, Compilers, & Lifecycle.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
High-level language programming paradigms. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
CIS 234: Object-Oriented Programming with Java
Chapter 1 Introduction to Visual Basic
Computer Languages [Computing] Computing.
Introduction to Programming Part 1
Sections Basic Concepts of Programming
CSCI-235 Micro-Computer Applications
LESSON 1 Introduction to Programming Language
Programming Vocabulary
CS101 Introduction to Computing Lecture 19 Programming Languages
Developing Applications
TRANSLATORS AND IDEs Key Revision Points.
Assembler, Compiler, Interpreter
Chapter One: An Introduction to Programming and Visual Basic
Assembler, Compiler, Interpreter
Introduction to Computer Programming
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Tonga Institute of Higher Education IT 141: Information Systems
An Introduction to Programming with C++ Fifth Edition
Tonga Institute of Higher Education IT 141: Information Systems
Presentation transcript:

National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages

A brief history Programming has its roots in the 19 th Century Mechanical looms were “programmed” using punched cards indicating the weaving pattern Charles Babbage worked on a device- the Analytical Engine, for performing complex calculations He employed an assistant to produce the first working programs for this device – her name was Ada Lovelace Ada is a programming language named in her honour

What is a program? Computers are very stupid! They need to be told to do things with very precise instructions Computers use binary code (“1”s and “0”s) This is called machine code and isn’t very easy for the programmer

Programming languages Since we don’t speak binary and computers don’t use our language, an intermediate form was developed Assembly language uses simple words to represent binary code This is specific depending on the type of CPU Not easy to follow – especially in a large program

Assembly Language A typical assembler program would read something like this: LOAD M ADD M SAVE M Think about what this program might be doing Complex calculations can take a long time to program in assembler However, it is possible to access the values of individual registers - difficult in high level programming

High level languages These use familiar words following a set pattern (the syntax) They are easier for us to learn They are more difficult for computers since our code has to be translated into binary

Example languages Pascal – procedural C – procedural VB – event driven Java – Object oriented C++ - Object oriented Smalltalk – Object oriented Only one of these is a pure O-O language – find out which

How computers run programs Firstly, your code needs translating into binary This can happen all at once before running the program –compiling Or it can happen a line at a time - interpreting

Where Visual Basic fits in It evolved from BASIC – Beginners All- Purpose Symbolic Instruction Code It was useful for learning programming but had a bad press because of its “spaghetti code” of “goto”s

Visual Basic appears Bill Gates was said to have been impressed with VB when it developed It was flexible enough to allow you to write programs quickly which do not have much code, or to write much larger applications Its real strength was that it took advantage of the Windows environment and responded to user events

Visual Basic evolves It was (and still is) an event- driven language However, to become even more powerful, VB has also become Object-based. This means that it supports many of the features of Object-Oriented languages such as C++ and Java The latest version VB.Net, is fully O-O compliant and gives greater web integration

Tasks Find 2 more procedural languages What are the principles of object oriented languages? What is a Very High Level Language? What systems are they used for? Find out some facts about the programming language COBOL