We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byVanesa Wyand
Modified over 2 years ago
Computers Are Your FutureChapter 11 Programming Languages and Program Development © 2008 Prentice Hall, Inc.
Programming LanguagesAssembly Language Machine Language Fortran Pascal COBOL BASIC Ada Visual Basic C and C++ Java Smalltalk Programming languages are artificial languages created to tell the computer what to do. They consist of vocabulary and a set of rules with which to write programs. The program development life cycle (PDLC) is an organized method of software development. © 2008 Prentice Hall, Inc.
Development of Programming LanguagesProgramming languages are classified by levels or generations. Lower-level languages are the oldest. The five generations of programming languages are: Machine languages Assembly languages Procedural languages Problem-oriented languages Natural languages © 2008 Prentice Hall, Inc.
First-Generation LanguagesMachine language: Consists of Binary Numbers (0s and 1s) Is the earliest programming language Is the only language the computer understands without translation Is machine dependent - Each family of processors has its own machine language. © 2008 Prentice Hall, Inc.
Second-Generation LanguagesAssembly language: Resembles machine language Is a low-level language Uses brief abbreviations for program instructions Abbreviations are called mnemonics A program is written in source code (text file) and translated into machine language by an assembler. © 2008 Prentice Hall, Inc.
Third-Generation LanguagesProcedural languages: Are high-level languages that tell the computer what to do and how to do it Create programs at a high level of abstraction Are easier to read, write, and maintain than machine and assembly languages Use a compiler or interpreter to translate code Fortran and COBOL are third-generation languages. © 2008 Prentice Hall, Inc.
Compilers and InterpretersA compiler is a program that changes source code to object code. An interpreter translates source code one line at a time and executes the instructions. © 2008 Prentice Hall, Inc.
Third-Generation Languages (continued)Spaghetti Code and the Great Software Crisis GOTO statements resulted in programs that were difficult to follow. This problem led to the software crisis of the 1960s. Programs were not ready on time. Programs exceeded their budgets. Programs contained too many errors. Customers were not satisfied. © 2008 Prentice Hall, Inc.
Third-Generation Languages (continued)Structured programming languages: Were developed to improve software development Include Algol and Pascal Forbid the use of GOTO statements Use control structures IF-THEN-ELSE © 2008 Prentice Hall, Inc.
Third-Generation Languages (continued)Modular programming languages: Were developed because of problems in structured programming languages Are used to create programs that are divided into separate modules Each module carries out a special function. Require specified input to produce specified output © 2008 Prentice Hall, Inc.
Fourth-Generation LanguagesTypes of fourth-generation languages include: Report generators Languages for printing database reports Query languages Languages for getting information out of databases Fourth-generation languages are nonprocedural. They do not force programmers to follow procedures to produce results. © 2008 Prentice Hall, Inc.
Fifth-Generation LanguagesNatural language would be the ultimate nonprocedural language. Despite years of effort, computers are still not good at understanding and acting upon natural language. Advances in speech recognition may provide a break-through for the development of natural language interfaces. © 2008 Prentice Hall, Inc.
Object-Oriented Programming (OOP)Relies on component reusability The ability to produce program modules that perform a specific task Eliminates the distinction between programs and data Uses objects that contain data and procedures Ex: Visual Basic and C++ © 2008 Prentice Hall, Inc.
Objects Objects are units of information that contain data as well as methods that process and manipulate data. Classes of objects: Hierarchy or category of objects Objects at the top of the category are broader in scope than the subclass objects. Inheritance refers to an object’s capacity to “pass on” its characteristics to its subclasses. © 2008 Prentice Hall, Inc.
Visual Basic (VB) Is widely used in program development packagesSample Visual Basic Is widely used in program development packages Uses event-driven programming Enables the programmer to develop an application by using on-screen graphical user interfaces © 2008 Prentice Hall, Inc.
C++ Incorporates object-oriented featuresSample C++ program Incorporates object-oriented features Is widely used for professional program development © 2008 Prentice Hall, Inc.
Developed by Sun Microsystems Java Developed by Sun Microsystems An object-oriented, high-level programming language with a twist First true cross-platform programming language Gained acceptance faster than any other programming language A simplified version of C++ © 2008 Prentice Hall, Inc.
Web-Based Languages Markup languages:Hypertext markup language (HTML) sets the attributes of text and objects within a Web page. Extensible markup language (XML) is used for sharing data and objects in a Web environment. © 2008 Prentice Hall, Inc.
The Program Development Life Cycle (PDLC)The PDLC was introduced in the 1970s to address problems in creating programs. It provides an organized plan for breaking down the task of program development into manageable parts. © 2008 Prentice Hall, Inc.
Six Phases of PDLC Defining the problem Designing the programCoding the program Testing and debugging the program Formalizing the solution Implementing and maintaining the program © 2008 Prentice Hall, Inc.
Phase 1: Defining the ProblemThe first step in program development Systems analysts provide program specifications (specs) to programmers. Specs define: Input data Processing Output Appearance of user interface © 2008 Prentice Hall, Inc.
Phase 2: Designing the ProgramProgrammers create the program’s design. Top-down design focuses on the program’s main goal (main routine), then breaks the program into manageable components (subroutines/modules). Control structures are used to see how each subroutine will do its job. Developing an algorithm is a step-by-step description of how to arrive at a solution. © 2008 Prentice Hall, Inc.
Phase 2: Designing the ProgramProgram design tools: Structure charts – show the top-down design Flow charts – show the logic of program Pseudo code – alternative to flow charts © 2008 Prentice Hall, Inc.
Structured Design Control structures are logical constructs that specify how the instructions in a program are to be executed. Sequence– Instructions are executed in the order in which they appear. Selection– The program branches to different instructions depending on whether a condition is met; IF…THEN…ELSE. Repetition– The program repeats the same instructions over and over; DO-WHILE and DO-UNTIL. © 2008 Prentice Hall, Inc.
Structure Chart and Flowchart© 2008 Prentice Hall, Inc.
Phase 3: Coding the ProgramCoding requires the translation of the algorithm into specific program instructions. An appropriate programming language is chosen, and the code is typed according to its syntax rules. © 2008 Prentice Hall, Inc.
Phase 4: Testing and Debugging the ProgramTesting and debugging finds and eliminates all errors. Syntax and logic errors are corrected. Debugging is the process of eliminating errors. © 2008 Prentice Hall, Inc.
Phase 5: Formalizing the SolutionDocumentation is created for future use. The variable names and definitions, a description of the files needed, and the layout of the output are produced. A user manual is developed to explain how the program works. © 2008 Prentice Hall, Inc.
Phase 6: Implementing and Maintaining the ProgramThe program is: Tested by users Thoroughly documented Maintained and evaluated regularly © 2008 Prentice Hall, Inc.
Computers Are Your Future © 2006 Prentice Hall, Inc.
Introduction to Programming Languages © 2005 Prentice Hall, Inc. CXC IT Unit 2: Intro. to Programming.
1 Copyright © 2003 Prentice Hall, IncSlides created by Bob Koziel.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
Computers Are Your Future Eleventh Edition
EXPLAIN THE CONCEPT OF PROGRAMMING. Programming Languages and Program Development Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall2.
CC111 Lec#5: Program Development 1 Program Development and Programming Languages Lecture 4 Reference :Understanding Computers Chapter 13.
Programming Languages and Program Development Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 1.
Computers: Tools for an Information Age
Chapter 15 Program Development and Programming Languages.
Chapter 12 Computer Programming. Chapter Contents Chapter 12: Computer Programming 2 Section A: Programming Basics Section B: Procedural Programming.
Computer Concepts 2014 Chapter 12 Computer Programming.
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
Programming Languages: Telling the Computers What to Do Chapter 16.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Programming and Languages Chapter 13.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
1 Chapter 13 Understanding Computers, 11 th Edition 13 Program Development and Programming Languages TODAY AND TOMORROW 11 th Edition CHAPTER.
Computers Are Your Future Twelfth Edition Chapter 11: Program Development and Programming Languages Copyright © 2012 Pearson Education, Inc. Publishing.
Welcome to OBJECT ORIENTED PROGRAMMING Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming C++
Chapter 13 Programming Languages and Program Development
Your Interactive Guide to the Digital World Discovering Computers 2012.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming (CS 102) C++ Programminhg.
Welcome to OBJECT ORIENTED PROGRAMMIN Date: 10/09/2014 Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
Chapter 13 Programming Languages and Program Development 1.
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Building Applications.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
Program development & programming languages Chapter 13.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
© Paradigm Publishing Inc Chapter 12 Programming Concepts and Languages.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Programming Creating programs that run on your PC
Understanding Computers Ch. 131 Chapter 13 Program Development and 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 CPS120: Introduction to Computer Science Lecture 5.
Chapter 12: Computer Programming 1 Computer Programming Chapter 12.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
Programming Concepts and Languages Chapter 12 – Computers: Understanding Technology, 3 rd edition 1November
Computers Are Your Future Twelfth Edition
Computers Are Your Future Twelfth Edition Chapter 11: Programming Languages and Program Development Copyright © 2012 Pearson Education, Inc. Publishing.
© 2017 SlidePlayer.com Inc. All rights reserved.