Program & Programming Languages. Introduction to Programming Programming is the process of writing a computer program in a language that the computer.

Slides:



Advertisements
Similar presentations
C language was developed in early 1970s by Dennis Ritchie at Bell Laboratories to implement the UNIX operating system on the PDP-11 manufactured by DEC.
Advertisements

EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Chapter 1: Introduction
Three types of computer languages
Chapter 9: The Tower of Babel Invitation to Computer Science, C++ Version, Fourth Edition Editied / additions by S. Steinfadt for SP09.
Chapter 9: The Tower of Babel
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 1 – Introduction to Computers and C++ Programming.
 2000 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers and C++ Programming Outline 1.1Introduction 1.2What Is a Computer?
 2002 Prentice Hall. All rights reserved. Week 1 - Introduction to Object- Oriented Programming Outline 1.1 Machine Languages, Assembly Languages and.
August 29, 2005ICP: Chapter 0: Introduction to Computers and Computing 1 Introduction or Computer Programming Chapter 0: Introduction to Computers and.
Ceng 230 Programming with C
Brief History of C and Unix Systems Programming Concepts.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
C: A VERY BRIEF HISTORY & STANDARDS © 1/4.
An Introduction to Programming Using Alice Object-Oriented Programming.
Principles of Programming Chapter 1: Introduction  In this chapter you will learn about:  Overview of Computer Component  Overview of Programming 
 2008 Pearson Education, Inc. All rights reserved. 1 The chief merit of language is clearness. — Galen Our life is frittered away by detail…. Simplify,
Lecture 1: Introduction to Computers. OBJECTIVES In this lecture you will learn:  Basic computer concepts.  The different types of programming languages.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
Programming Design Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Chapter 9: The Tower of Babel Invitation to Computer Science, C++ Version, Third Edition.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Introduction to M ATLAB EE 100 – EE Dept. - JUST.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
COMPSCI 174- Introduction to C++ Class hour Section 01: MWF 9:55am – 10:45am. Hyer Hall 210.
Introduction By: Dr. Javad Razjouyan. Programming Languages.
Object-Oriented Programming. An algorithm is a step-by-step process. A computer program is a step-by-step set of instructions for a computer. Every computer.
CHAPTER 1 Overview of Programming and Problem Solving.
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
Programing Concept Ken Youssefi/Ping HsuIntroduction to Engineering – E10 1 ENGR 10 Introduction to Engineering (Part A)
Language C (1) By Randa. Generalities: Types of programmes: -operating system ”système d’exploitation” like Windows XP, Windows 98, Unix, Linux… -programmes.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introduction to Computers Outline 1.1Introduction.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 1 Introduction to Computers, the Internet and.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
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.
Programming Fundamentals1 Chapter 1 INTRODUCTION TO COMPUTER AND PROGRAMMING.
CS CS CS IA: Procedural Programming CS IB: Object-Oriented Programming.
1 Programming Fundamentals How to Program in C++ How to Program in C++
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
CS Computer Science I. BCPL was developed in 1967 as a language for writing operating systems and software compilers In 1970, the creators of the.
Programming in C++ Dale/Weems/Headington Chapter 1 Overview of Programming and Problem Solving.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
Introduction to MATLAB Northeastern University: College of Computer and Information Science Co-op Preparation University (CPU) 10/20/2003.
Principles of Programming Chapter 1: Introduction  In this chapter you will learn about:  Overview of Computer Component  Overview of Programming 
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
LESSON 1 Introduction to Programming Language. Computer  Comprised of various devices that are referred to as HARDWARE.  The computer programs that.
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
Introduction to C Programming Language. History of C  C was evolved by Dennis Ritchie at AT&T Bell Laboratories in early of 1970s  Successor of: ALGOL.
Fundamentals of Programming C++ Programming Language CS 1400 Dennis A. Fairclough Version 1.1 C++ Programming Language CS 1400 Dennis A. Fairclough Version.
Introduction to computer programming
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Structured programming 1 st stage By Heba.A Raheem Assist Lecturer College of Sciences/Computer Sciences Department.
Main Part of a Computer.
Chapter 1 – Introduction to Computers and C++ Programming
History of ‘C’ Root of the morden language is ALGOL It’s first
Overview of C.
1.6 Machine Languages, Assembly Languages, and High-level Languages
(Course Introduction)
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computer Programming
Chapter 1 – Introduction to Computers and C++ Programming
C Programming Language
Introduction to Computers, Internet and the World Wide Web
Chapter 1 – Introduction to Computers and C++ Programming
Presentation transcript:

Program & Programming Languages

Introduction to Programming Programming is the process of writing a computer program in a language that the computer can respond to and that other programmers can understand. The set of instructions, data, and rules that can be used to construct a program is called a programming language.

The History of C C evolved from two previous languages, BCPL, and B. BCPL was developed in 1967 by Martin Richards as a language for writing operating systems software and compilers. Ken Thompson modeled many features in his language B after their counterparts in BCPL and used B to create early version of the UNIX operating system at Bell Laboratories in 1970 on a DEC PDP-7 computer. The C language was evolved from B by Dennis Ritchie at Bell Laboratories in 1972.

History of C (cont.) The rapid expansion of C over various types of computers led to many variations. These were similar, but often incompatible. In 1989, the standard was approved. –The document is referred to as ANSI/ISO 9899:1990.

Other High-Level languages Hundreds of high-level languages have been developed, but only a few have achieved broad acceptance. FORTRAN (FORmulaTRANslator) was developed by IBM between 1954 and 1957 to be used for scientific and engineering applications that require complex mathematical computations.

Other High-Level languages (cont.) COBAL (COmmon Business Oriented Language) was developed in 1959 by a group of computer manufactures and government and industrial computer users. –Today, more than half of all business software is still programmed in COBAL. PASCAL was designed at about the same time as C. It was introduced for academic use.

Other version of C Other versions of C have been developed through continuing research efforts at Bell Laboratories. –Gehani (Ge89) had developed Concurrent C - a C superset that includes capabilities for specifying that multiple activities can be performed in parallel. Another C superset, namely, C++, was developed by Bjarne Stroustup (St86) at Bell Laboratories. –C++ provides capabilities to do object-oriented programming. Objects are essentially reusable software components that model items in the real world.

The History of Matlab Jack Little and Cleve Moler, the founders of The MathWorks, recognized the need among engineers and scientists for more powerful and productive computation environments beyond those provided by languages such as Fortran and C. In response to that need in 1984, they combined their expertise in mathematics, engineering, and computer science to develop MATLAB®, a high- performance technical computing environment. MATLAB combines comprehensive math and graphics functions with a powerful high-level language.

Object-Oriented Languages One of the motivations for object-oriented languages has been the development of graphical screens capable of displaying multiple windows. In such an environment each window on the screen can conveniently be considered as an object, with associated characteristics, such as color, position, and size. Under an object orientation a program must first define the objects it will be manipulating; this includes describing both the characteristics of the object and the procedures that can be used to manipulate and alter these characteristics.

Algorithms and Procedures As algorithms are central to Matlab’s procedure-oriented side, it will serve us well to understand what an algorithm is. From a procedural point of view, before writing a program, a programmer must clearly understand what data is to be used, the desired result, and the procedure to be used to produce this result.

Algorithms and Procedures (cont.) The procedure to be used is referred to as an algorithm. More precisely, an algorithm is defined as a step-by-step sequence of instructions that describes how a computation is to be performed.