Discovering Computers Chapter 13 Programming Languages and Program Development

Similar documents
Discovering Computers 2008

Low-Level Languages. Computer Programs and Programming Languages

Discovering Computers Living in a Digital World

Introduction to Computer Programming/Handout 01 Page 1 of 13

Chapter 11 Program Development and Programming Languages

Technology in Action. Chapter Topics (cont.) Chapter Topics. Reasons for Software Programming. Information Systems 10/29/2010

Technology in Action. Chapter Topics. Scope creep occurs when: 3/20/2013. Information Systems include all EXCEPT the following:

1) What is the first step of the system development life cycle (SDLC)? A) Design B) Analysis C) Problem and Opportunity Identification D) Development

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Tenth Edition. Copyright 2014 Pearson Education, Inc. Publishing as Prentice Hall

Programming Languages and Program Development Life Cycle Fall Introduction to Information and Communication Technologies CSD 102

Principles in Programming: Orientation & Lecture 1. SWE2004: Principles in Programming Spring 2014 Euiseong Seo

Programming Languages and Program Development

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Eleventh Edition. Copyright 2015 Pearson Education, Inc.

Chapter Twelve. Systems Design and Development

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG)

General Concepts. Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology

CTI Higher Certificate in Information Systems (Internet Development)

ITC213: STRUCTURED PROGRAMMING. Bhaskar Shrestha National College of Computer Studies Tribhuvan University

CTI Short Learning Programme in Internet Development Specialist

Languages in WEB. E-Business Technologies. Summer Semester Submitted to. Prof. Dr. Eduard Heindl. Prepared by

Chapter Thirteen Programming Languages and Program Development

Why are there so many programming languages? Why do we have programming languages? What is a language for? What makes a language successful?

Programming the World Wide Web by Robert W. Sebesta

Principles in Programming: Orientation & Lecture 1. SWE2004: Principles in Programming Spring 2015 Euiseong Seo

PROGRAMMING Programming is a creation of a set of commands or instructions which directs a computer in carrying out a task.

Objective: To learn meaning and concepts of programming. Outcome: By the end of this students should be able to describe the meaning of programming

Introduction. A. Bellaachia Page: 1

Information Systems Software

Chapter 1. Preliminaries

Developing Ajax Web Apps with GWT. Session I

CS WEB TECHNOLOGY

Computer Languages, Algorithms and Program Development. How do computers know what we want them to do?

Lesson 5: Multimedia on the Web

Lecture 09. Ada to Software Engineering. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

CGT 456 Lecture 1. Introduction to Computers & Programming

Copyright 2005 Department of Computer & Information Science

Tennessee. Trade & Industrial Course Web Page Design II - Site Designer Standards. A Guide to Web Development Using Adobe Dreamweaver CS3 2009

Chapter 2. Pseudocodes: Speedcoding. 2.2 Minimal Hardware Programming: Pseudocodes. Evolution of the Major Programming Languages

Compilation I. Hwansoo Han

Lesson 12: JavaScript and AJAX

WebDev. Web Design COMBINES A NUMBER OF DISCIPLINES. Web Development Process DESIGN DEVELOPMENT CONTENT MULTIMEDIA

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

JavaScript Context. INFO/CSE 100, Spring 2005 Fluency in Information Technology.

Chapter 2. Evolution of the Major Programming Languages

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Game keystrokes or Calculates how fast and moves a cartoon Joystick movements how far to move a cartoon figure on screen figure on screen

1Site Development Foundations Objectives and Locations

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

Software. Programming Languages. Types of Software. Types of Languages. Types of Programming. Software does something

8/23/18. Programming Language Genealogy The Evolution of Programming Languages. Zuse s Plankalkül. Plankalkül Syntax. Machine Code

CS2303 C14 Systems Programming Concepts. Bob Kinicki

Python - Week 1. Mohammad Shokoohi-Yekta

Introducing Computer Programming

Introduction to Java. Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved.

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

Module 1: Introduction to Computers, Programs, and Java

Principles of Programming Languages. Lecture Outline

Concepts of Programming Languages

Computer Science 209. A.S. Degree Requirements. Department Offices. Faculty & Offices. Emeritus Faculty. Degrees & Certificates Awarded

Outline. Introduction to Programming (in C++) Introduction. First program in C++ Programming examples

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web

Introduction to Engineering Using Robotics Experiments. Dr. Yinong Chen

Chapter 1. Preview. Reason for Studying OPL. Language Evaluation Criteria. Programming Domains

Why are there so many programming languages?

Introduction to Computers and Visual Basic.Net Pearson Education, Inc. All rights reserved.

In this third unit about jobs in the Information Technology field we will speak about software development

Early computers (1940s) cost millions of dollars and were programmed in machine language. less error-prone method needed

Language Translation, History. CS152. Chris Pollett. Sep. 3, 2008.

Languages october 22, 2017 Éric Lévénez < FORTRAN III end-1958 FORTRAN II FORTRAN I october 1956

Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of

Evolution of the Major Programming Languages

World Wide Web PROGRAMMING THE PEARSON EIGHTH EDITION. University of Colorado at Colorado Springs

User's Guide. Version 2.2.1

Acceptance Test. Smart Scheduling. Empire Unlimited. Requested by:

1) Which of the following is an example of a programming language? 1) A) Microsoft Word B) English C) HTML D) Java

Programs are: CMPSCI 105/119/120: Programming, Flowchar<ng, and Running Program Flowcharts

Introduction P L COS 301. Fall School of Computing and Information Science University of Maine. Introduction COS 301.

13. Databases on the Web

3. WWW and HTTP. Fig.3.1 Architecture of WWW

Using Source Lines of Code As A Size Input For Estimating Software Effort & Schedule

Contents 1 INTRODUCTION TO COMPUTER NETWORKS...

ACCOUNTING & FINANCIAL

CPET 581 E-Commerce & Business Technologies. Topics

Chapter 1 Introduction to Computers, Programs, and Java

Planning and Designing Your Site p. 109 Design Concepts p. 116 Summary p. 118 Defining Your Site p. 119 The Files Panel p. 119 Accessing Your Remote

INFS 214: Introduction to Computing

Web Design. Basic Concepts

Concepts in Programming Languages

DIABLO VALLEY COLLEGE CATALOG

Chapter 2. Evolution of the Major Programming Languages ISBN

4. กก ( Web-based Technology ) (System Development Life Cycle : SDLC) ก ก ก

Chapter 1 Preliminaries

A network is a group of two or more computers that are connected to share resources and information.

Introduction to.net, C#, and Visual Studio. Part I. Administrivia. Administrivia. Course Structure. Final Project. Part II. What is.net?

Graphics Design and Applied Arts บทท 6 การออกแบบเว บเบ องต น

Design & Implementation Overview

COP4020 Programming Languages. Compilers and Interpreters Robert van Engelen & Chris Lacher

Development of an e-library Web Application

Högnivåspråk och översättning

Transcription:

Discovering Computers 2009 Chapter 13 Programming Languages and Program Development

Chapter 13 Objectives Differentiate between machine and assembly languages Identify and discuss the purpose of procedural programming languages Identify and discuss the characteristics of object-oriented programming languages and program development tools Identify the uses of other programming languages and other program development tools Describe various ways to develop Web pages including HTML, scripting languages, DHTML, XML, WML, and Web page authoring software Identify the uses of popular multimedia authoring programs List the six steps in the program development cycle Differentiate between structured design and object-oriented design Explain the basic control structures and design tools used in designing solutions to programming problems Next

Computer Programs and Programming Languages What is a computer program? Series of instructions that directs computer to perform tasks Programming language used to communicate instructions p. 664 Fig. 13-1 Next

Computer Programs and Programming Languages What are low-level languages and high-level languages? Low-level language Machine-dependent runs only on one type of computer Machine and assembly languages are low-level High-level language Often machine-independent can run on many different types of computers and operating systems p. 664-665 Next

Low-Level Languages What is machine language? Only language computer directly recognizes Uses a series of binary digits (1s and 0s) with a combination of numbers and letters that represent binary digits p. 665 Fig. 13-2 Next

Low-Level Languages What is assembly language? Instructions made up of symbolic instruction codes, meaningful abbreviations and codes Source program contains code to be converted to machine language p. 666 Fig. 13-3 Next

Procedural Languages What is a procedural language? Programmer writes instructions that tell computer what to accomplish and how to do it Uses series of English-like words to write instructions Often called third-generation language (3GL) p. 666 Next

Procedural Languages What is a compiler? Program that converts entire source program into machine language before executing it p. 667 Fig. 13-4 Next

Procedural Languages What is an interpreter? Program that translates and executes one program code statement at a time Does not produce object program p. 667 Fig. 13-5 Next

Procedural Languages What is COBOL? Designed for business applications English-like statements make code easy to read, write, and maintain Common Business-Oriented Language Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click COBOL below Chapter 13 p. 668 Fig. 13-6 Next

Procedural Languages What is C? Powerful language originally designed to write system software Requires professional programming skills p. 668 Fig. 13-7 Next

Object-Oriented Programming Languages What is an object-oriented programming (OOP) language? Used to implement object-oriented design Object is item that contains data and procedures that act on data Major benefit is ability to reuse and modify existing objects Event-driven checks for and responds to set of events Event is action to which program responds Java, C++, C#, and Visual Basic are complete object-oriented languages p. 669 Next

Object-Oriented Programming Languages What is Java? Developed by Sun Microsystems Uses just-in-time (JIT) compiler to convert bytecode into machinedependent code Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Java Platforms below Chapter 13 p. 669 Fig. 13-8 Next

Object-Oriented Programming Languages What is C++? Includes all elements of C, plus additional features for working with object-oriented concepts Used to develop database and Web applications Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click C++ below Chapter 13 p. 670 Fig. 13-9 Next

Object-Oriented Programming Languages What is C#? Object-oriented programming language based on C++ Accepted as a standard for Web applications and XML-based Web services Uses a JIT compiler Resulting code is called Microsoft Intermediate Language (MSIL) p. 670 Next

Object-Oriented Programming Languages What is a visual programming language? Visual programming environment (VPE) allows developers to drag and drop objects to build programs Provides visual or graphical interface for creating source code Often used in RAD (rapid application development) environment Programmer writes and implements program in segments p. 669 and 673 Next

Object-Oriented Programming Languages What is Visual Studio?.NET is set of technologies that allows program to run on Internet Comprised of Visual Basic, Visual C++, and Visual C# Step 1. The developer designs the user interface. Step 2. The developer assigns properties to each object on the form. Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Visual Studio Tools for Office below Chapter 13 Step 4. The developer tests the program. Step 3. The developer writes code to define the action of each command button. p. 670-672 Fig. 13-10 Next

Object-Oriented Programming Languages What is Delphi? Powerful program development tool Ideal for large-scale enterprise and Web applications p. 672 Fig. 13-11 Next

Object-Oriented Programming Languages What is PowerBuilder? Another powerful visual programming tool Best suited for Webbased and large-scale enterprise objectoriented applications p. 673 Fig. 13-12 Next

Other Programming Languages What are nonprocedural languages and program development tools? Nonprocedural Language The programmer writes Englishlike instructions or interacts with a visual environment to retrieve data from files or a database Program Development Tools User-friendly programs designed to assist both programmers and users in creating programs p. 674 and 676 Next

Other Programming Languages What is RPG (Report Program Generator)? Nonprocedural language used for generating reports, accessing data, and updating data p. 674 Fig. 13-13 Next

Other Programming Languages What is a fourth-generation language (4GL)? Nonprocedural language that allows access to data in database Popular 4GL is SQL, query language that allows users to manage data in relational DBMS p. 674 Fig. 13-14 Next

Other Programming Languages What are other available programming languages? Ada ALGOL APL BASIC Forth FORTRAN HyperTalk LISP Logo Modula-2 Pascal PILOT PL/1 Prolog Smalltalk p. 675 Fig. 13-15 Next

Other Program Development Tools What is an application generator? Program that creates source code or machine code from specification Consists of report writer, form, and menu generator Form provides areas for entering data p. 676 Fig. 13-16 Next

Other Program Development Tools What is a macro? Series of statements that instructs an application how to complete a task Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Macros below Chapter 13 p. 676-677 Fig. 13-17 Next

Web Page Development What is HTML (Hypertext Markup Language)? Used to create Web pages p. 678 Fig. 13-18 Next

Web Page Development How are special effects and interactive elements added to a Web page? Script interpreted program that runs on client Applet usually runs on client, but is compiled Servlet applet that runs on server ActiveX control small program that runs on client Counter tracks number of visitors to Web site Image map graphic image that points to URL Processing form collects data from visitors to Web site p. 679 Next

Web Page Development What is the common gateway interface (CGI)? Communications standard that defines how Web server communicates with outside sources CGI script program that manages sending and receiving across CGI p.679-680 Fig. 13-19 Next

Web Page Development What is a scripting language? Typically easy to learn and use Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click PHP below Chapter 13 JavaScript Perl (Practical Extraction and Report Language) PHP (PHP: Hypertext Preprocessor) Rexx (Restructured extended executor) TCL (Tool Command Language) VBScript (Visual Basic, Scripting Edition) p. 680-681 Fig. 13-20 Next

Web Page Development What is dynamic HTML (DHTML)? Allows developers to include more graphical interest and interactivity in Web page Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click DHTML below Chapter 13 p. 682 Fig. 13-21 Next

Web Page Development What are XHTML, XML, and WML? XHTML (Extensible HTML) enables Web sites to be displayed more easily on microbrowsers XML (Extensible Markup Language) allows developers to create customized tags WML (Wireless Markup Language) allows developers to design pages specifically for microbrowsers Includes features of HTML and XML Server sends entire record to client, enabling client to do much of processing without going back to server Many Internet-enabled smart phones and PDAs use WML as their markup language RSS 2.0 and ATOM p. 682-683 Next

Web Page Development What is Ajax? Stands for Asynchronous JavaScript and XML Method of creating interactive Web applications designed to provide immediate response Combines JavaScript, HTML or XHTML, XML, and cascading style sheets Google Maps and Flickr use Ajax p. 683 Next

Web Page Development What is Ruby on Rails (RoR)? Also called Rails Open source framework that provides technologies for developing object-oriented, database-driven Web sites Ruby is derived from a variety of languages, including Ada, LISP, Perl, and Smalltalk p. 683 Next

Web Page Development What is Web page authoring software? Creates sophisticated Web pages without using HTML Generates HTML Dreamweaver Expression Web Flash Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Silverlight below Chapter 13 Silverlight p. 683 Next

Multimedia Program Development What is multimedia authoring software? Combines text, graphics, animation, audio, and video into interactive presentation Used for computerbased training (CBT) and Web-based training (WBT) Software includes Toolbook, and Director p. 684 Fig. 13-22 Next

The Program Development Cycle What is the program development cycle? Steps programmers use to build computer programs Programming team Group of programmers working on program p. 685-686 Fig. 13-23 Next

Step 1 Analyze Requirements What is involved in analyzing the requirements? 1. Review requirements 2. Meet with systems analyst and users 3. Identify input, output, processing, and data components IPO chart Identifies program s input, processing, and output components p. 686-687 Fig. 13-24 Next

Step 2 Design Solution What is involved in designing the solution? Two approaches Object-oriented design Devise solution algorithm, step-by-step procedure to solve problem Structured design, sometimes called top-down design Programmer begins with general design and moves toward detailed design p. 687 Next

Step 2 Design Solution What is a hierarchy chart? Shows program modules graphically Also called structure chart p. 687 Fig. 13-25 Next

Step 2 Design Solution What is object-oriented (OO) design? Programmer packages data and program into single unit, an object Objects are grouped into classes Class diagram represents hierarchical relationships of classes graphically Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Object-Oriented Design below Chapter 13 p. 688 Fig. 13-26 Next

Step 2 Design Solution What is a sequence control structure? Control structure that shows actions following each other in order Control structure depicts logical order of program instructions p. 688 Fig. 13-27 Next

Step 2 Design Solution What is a selection control structure? Tells program which action to take, based on a certain condition Two types Case control structure If-then-else control structure yields one of two possibilities: true or false p. 689 Fig. 13-28 Next

Step 2 Design Solution What is a case control structure? Yields one of three or more possibilities p. 689 Fig. 13-29 Next

Step 2 Design Solution What is a repetition control structure? Enables program to perform one or more actions repeatedly Do-while control structure repeats as long as condition is true Do-until control structure repeats until condition is true p. 689-690 Figs. 13-30 13-31 Next

Step 2 Design Solution What is a program flowchart? Graphically shows logic in solution algorithm p. 690 Fig. 13-32 Next

Step 2 Design Solution What is an example of a flowchart? p. 691 Fig. 13-33 Next

Step 2 Design Solution What is flowcharting software? Used by programmers to develop flowcharts Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Flowcharting Software below Chapter 13 p. 690-691 Fig. 13-34 Next

Step 2 Design Solution What is pseudocode? Uses condensed form of English to convey program logic p. 690 and 692 Fig. 13-35 Next

Step 3 Validate Design What is involved in validating the design? Check program design for accuracy Desk check programmers use test data to step through logic Test data sample data that mimics real data that program will process Programmer checks logic for correctness and attempts to uncover logic errors Logic error design flaw that causes inaccurate results Inspection systems analyst reviews deliverables during the system development cycle p. 693 Next

Step 4 Implement Design What is implementation? Writing the code that translates the design into a program Syntax rules that specify how to write instructions Comments program documentation Extreme programming (XP) coding and testing as soon as requirements are defined p. 693-694 Fig. 13-38 Next

Step 5 Test Solution What is involved in testing the solution? Ensure program runs correctly and is error free Debugging locating and correcting syntax and logic errors, or bugs Test copy of program, called beta, sometimes used to find bugs Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Beta Testers below Chapter 13 p. 695-696 Next

Step 6 Document Solution What is involved in documenting the solution? Programmer performs two activities Reviews program code removes dead code, program instructions that program never executes Reviews documentation p. 696 Next

Companies on the Cutting Edge Video: Electronic Arts Going Mobile CLICK TO START Next

Summary of Programming Languages and Program Development Various programming languages used to create computer programs The program development cycle and the tools used to make this process efficient Web development and multimedia development tools Chapter 13 Complete