Discovering Computers 2008

Similar documents
Discovering Computers Chapter 13 Programming Languages and Program Development

Low-Level Languages. Computer Programs and Programming Languages

Programming Languages and Program Development

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

Discovering Computers Living in a Digital World

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

Chapter 11 Program Development and Programming Languages

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

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

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

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

CS2303 C14 Systems Programming Concepts. Bob Kinicki

Introduction. A. Bellaachia Page: 1

Information Systems Software

Chapter Thirteen Programming Languages and Program Development

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

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

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

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

Chapter Twelve. Systems Design and Development

Organization of Programming Languages (CSE452) Why are there so many programming languages? What makes a language successful?

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

Software: Systems and Applications Software

Why do you need to know about programming? Programming is used to create the application / software you use everyday

Concepts in Programming Languages

Topic I. Introduction and motivation References: Chapter 1 of Concepts in programming languages by J. C. Mitchell. CUP, 2003.

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

INFS 214: Introduction to Computing

Chapter 1 Introduction to Computers, Programs, and Java

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

Introduction to Programming

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

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

Chapter 1. Preliminaries

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

Analysis of the Benchmark while Extracting Data from Database or XML File for Different Platforms

Microsoft Visual Basic 2005: Reloaded

Compilation I. Hwansoo Han

Why are there so many programming languages?

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

Logic Programming II & Revision

Programming Languages

Fundamentals of Programming INTRODUCTION

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

Programming Language Concepts 1982, 1987, Outline. Period

Concepts of Programming Languages

Module 1: Introduction to Computers, Programs, and Java

1/14/2014. Introduction to CSE 1325 Object Oriented Programming (Using Java) Introduction (Cont.) Introduction

Introduction Objectives: 1) differentiate between high-level, low-level, and machine language; 2) explain why it is necessary to translate a program

Lecture 1: Introduction to Java

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

Introduction to.net Framework

COSC 2P90 Programming Languages & Object-Orientation

LECTURE 1. Overview and History

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

A Set Of Machine Language Instructions For A Program Is Called Source Code >>>CLICK HERE<<<

Lecture 2. A Historical View

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

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2)

User's Guide. Version 2.2.1

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

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

Chapter 2. Evolution of the Major Programming Languages

Algorithm: 1. Introduction

Compiling and Interpreting Programming. Overview of Compilers and Interpreters

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

Computer Principles and Components 1

Announcements Tues., Aug and 2. to call them ( ) ! For next time, read Learning Computing with Robots, chs.

Core Java Syllabus. Pre-requisite / Target Audience: C language skills (Good to Have)

Internet and Visual Basic Pearson Education, Inc. All rights reserved.

CS 3304 Comparative Languages. Lecture 1: Introduction

Part (04) Introduction to Programming

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

Compilation 2012 The What and Why of Compilers

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

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

Programmiersprachen (Programming Languages)

Compilers. Prerequisites

Introduction to Computers, the Internet and the Web Pearson Education, Inc. All rights reserved.

Chapter 1: An Overview of Computers and Logic

0 Introduction: Computer systems and program development

Software Prototyping Animating and demonstrating system requirements. Uses of System Prototypes. Prototyping Benefits

Introduction to.net Framework Week 1. Tahir Nawaz

Introduction to Computer Science I

PLAGIARISM. Administrivia. Course home page: Introduction to Programming Languages and Compilers

Introduction to Programming Languages and Compilers. CS164 11:00-12:00 MWF 306 Soda

Programming Languages 1. Introduction. Oscar Nierstrasz

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

Unit 6 - Software Design and Development LESSON 1 INTRODUCTION

COMP 201: Principles of Programming

Lecture 1: CS2400 Introduction to Computer Science

Com S 541. Programming Languages I

8/27/17. CS-3304 Introduction. What will you learn? Semester Outline. Websites INTRODUCTION TO PROGRAMMING LANGUAGES

Chapter 1. Introduction to Computers and Java Objects. Background information. » important regardless of programming language. Introduction to Java

SECOND YEAR III Paper I Applied Mathematics Paper II Microprocessors & Assembly Language Programming

Solution overview VISUAL COBOL BUSINESS CHALLENGE SOLUTION OVERVIEW BUSINESS BENEFIT

Programming Languages, Summary CSC419; Odelia Schwartz

Evolution of the Major Programming Languages

Winter 2019 CISC101 1/17/2019

CGT 456 Lecture 1. Introduction to Computers & Programming

Transcription:

Discovering Computers 2008 Chapter 13 (a) Programming Languages and Program Development 1

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 2

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 3

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. 665 4

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 5

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 6

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 7

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

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 9

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 10

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

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 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 12

Object-Oriented Programming Languages What is Java? Developed by Sun Microsystems Similar to C++ but uses just-in-time (JIT) compiler to convert source code into machine code Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Java below Chapter 13 p. 669 Fig. 13-8 13

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 14

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) Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click C# below Chapter 13 p. 670 15

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 p. 669 and 673 Sometimes called fifth-generation language Often used in RAD (rapid application development) environment Programmer writes and implements program in segments 16

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++, Visual C#, and Visual J# 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 p. 670-672 Fig. 13-10 Step 4. The developer tests the program. Step 3. The developer writes code to define the action of each command button. 17

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

Object-Oriented Programming Languages What is PowerBuilder? Another powerful visual programming tool Best suited for Web-based and large-scale enterprise object-oriented applications p. 673 Fig. 13-12 19

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. 669 and 674 20

Other Programming Languages What is RPG (Report Program Generator)? Nonprocedural language used for generating reports, performing computations, and updating files p. 674 Fig. 13-13 21

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 22

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 23

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 24