Chapter 14. Programming and Languages. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.



Similar documents
Programming Languages The McGraw-Hill Companies, Inc. All rights reserved.

Chapter 13: Program Development and Programming Languages

Chapter 13: Program Development and Programming Languages

McGraw-Hill The McGraw-Hill Companies, Inc.,

How To Understand Programming Languages And Programming Languages

Instructor Özgür ZEYDAN BEU Dept. of Enve. Eng. CIV 112 Computer Programming Lecture Notes (1)

Chapter 12 Programming Concepts and Languages

Chapter 13 Computer Programs and Programming Languages. Discovering Computers Your Interactive Guide to the Digital World

Algorithm & Flowchart & Pseudo code. Staff Incharge: S.Sasirekha

Computer Technology Computer Programming II (Joint Course with Business Technology Approved 10/29/10 for that area)

Java Programming (10155)

Fundamentals of Programming and Software Development Lesson Objectives

High-Level Programming Languages. Nell Dale & John Lewis (adaptation by Michael Goldwasser)

3 SOFTWARE AND PROGRAMMING LANGUAGES

Chapter 6: Programming Languages

EMC Publishing. Ontario Curriculum Computer and Information Science Grade 11

CSCI 3136 Principles of Programming Languages

Levels of Programming Languages. Gerald Penn CSC 324

Course MS10975A Introduction to Programming. Length: 5 Days

Stage 5 Information and Software Technology

Computer Programming

Chapter 1 An Introduction to Computers and Problem Solving

Modeling, Computers, and Error Analysis Mathematical Modeling and Engineering Problem-Solving

ATSBA: Advanced Technologies Supporting Business Areas. Programming with Java. 1 Overview and Introduction

CSE 307: Principles of Programming Languages

Lecture 1: Introduction

EKT150 Introduction to Computer Programming. Wk1-Introduction to Computer and Computer Program

High level code and machine code

Exhibit F. VA CAI - Staff Aug Job Titles and Descriptions Effective 2015

Lab Experience 17. Programming Language Translation

Programming Languages

2667A - Introduction to Programming

MICHIGAN TEST FOR TEACHER CERTIFICATION (MTTC) TEST OBJECTIVES FIELD 050: COMPUTER SCIENCE

Chapter 2: Algorithm Discovery and Design. Invitation to Computer Science, C++ Version, Third Edition

Software development and programming. Software

Programming and Software Development CTAG Alignments

CHAPTER 1 ENGINEERING PROBLEM SOLVING. Copyright 2013 Pearson Education, Inc.

Chapter 1. Dr. Chris Irwin Davis Phone: (972) Office: ECSS CS-4337 Organization of Programming Languages

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Software. Programming Language. Software. Instructor Özgür ZEYDAN. Bülent Ecevit University Department of Environmental Engineering

A Project Based Approach for Teaching System Analysis, Design, and Implementation Courses

Course Objectives Course Requirements Methods of Grading S/N Type of Grading Score (%) Course Delivery Strategies Practical Schedule LECTURE CONTENT

NATIONAL CERTIFICATES (VOCATIONAL)

Computer Programming

Welcome to Introduction to Computers and Programming Course using Python

Language Evaluation Criteria. Evaluation Criteria: Readability. Evaluation Criteria: Writability. ICOM 4036 Programming Languages

Software Development. Topic 1 The Software Development Process

Describe the process of parallelization as it relates to problem solving.

Chapter 3.2 C++, Java, and Scripting Languages. The major programming languages used in game development.

INFORMATION TECHNOLOGY PROGRAMMER/ANALYST

Fundamentals of Java Programming

Total Quality Management (TQM) Quality, Success and Failure. Total Quality Management (TQM) vs. Process Reengineering (BPR)

A Python Tour: Just a Brief Introduction CS 303e: Elements of Computers and Programming

Some programming experience in a high-level structured programming language is recommended.

Computer Programming I

50 Computer Science MI-SG-FLD050-02

Computer Programming I

PROG0101 Fundamentals of Programming PROG0101 FUNDAMENTALS OF PROGRAMMING. Chapter 3 Algorithms

Manual Techniques, Rules of Thumb

What is a programming language?

Software: Systems and Application Software

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT,

White Paper: 5GL RAD Development

n Introduction n Art of programming language design n Programming language spectrum n Why study programming languages? n Overview of compilation

OKLAHOMA SUBJECT AREA TESTS (OSAT )

JOB DESCRIPTION APPLICATION LEAD

Lesson 11 Introduction to Programming Languages

1/20/2016 INTRODUCTION

Human Resource Management (See Business) Information Technology. Desktop Support Technician. 138 :: Instructional Programs.

Computer Information Systems (CIS)

Kids College Computer Game Programming Exploring Small Basic and Procedural Programming

COMPUTER SCIENCE (5651) Test at a Glance

OBJECTS-FIRST VS. STRUCTURES-FIRST APPROACHES TO OO PROGRAMMING EDUCATION: AN EMPIRICAL STUDY

Introduction to Information Technology Course Number 10009

Manage Software Development in LabVIEW with Professional Tools

Programming Languages

Instructor Özgür ZEYDAN (PhD) CIV 112 Computer Programming

Texas Essential Knowledge and Skills Correlation to Video Game Design Foundations 2011 N Video Game Design

1 Introduction. 2 Overview of the Tool. Program Visualization Tool for Educational Code Analysis

Programming with the Arduino: open-source hardware in an introductory programming laboratory. Paul Cruickshank

CyberSecurity: Trends, Careers, & the Next Generation

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

CS 51 Intro to CS. Art Lee. September 2, 2014

Computer Programming. Course Details An Introduction to Computational Tools. Prof. Mauro Gaspari:

Algorithms, Flowcharts & Program Design. ComPro

VCE Systems Engineering: Administrative advice for School-based Assessment in 2015

Appendix M INFORMATION TECHNOLOGY (IT) YOUTH APPRENTICESHIP

Semester Review. CSC 301, Fall 2015

Software: Systems and. Application Software. Software and Hardware. Types of Software. Software can represent 75% or more of the total cost of an IS.

Programming Languages & Tools

The Elective Part of the NSS ICT Curriculum D. Software Development

INTRODUCTION. National Competency Standard for Application Developers Commission on Information and Communications Technology

Programming Languages CIS 443

#820 Computer Programming 1A

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

CS Standards Crosswalk: CSTA K-12 Computer Science Standards and Oracle Java Programming (2014)

Transcription:

Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

Competencies (Page 1 of 2) Describe the six steps of programming Discuss design tools including top-down design, pseudocode, flowcharts, and logic structures Describe program testing and the tools for finding and removing errors Page 4398 14-2

Competencies (Page 2 of 2) Describe CASE tools and object-oriented software development Explain the five generations of programming languages Page 398 14-3

Introduction In this chapter programming is described in two parts... The steps in the programming process Some of the programming languages available Programming is part of Phase 4, Systems Development, in the Systems Life Cycle. Competent end users need to understand the relationship between systems development and programming. Page 399 14-4

Programs and Programming What is a Program? A program is a list of instructions Code, Application Programmer, Hacker A problem-solving procedure A list of instructions Prewritten Custom-written Application software System software Page 400 14-5

What is Programming? Programming is software development Six step procedure Program specification Program design Program code Program test Program documentation Program maintenance Page 400 14-6

Step 1: Program Specification Also called programs definition or program analysis 5 Step Process Program Objectives Desired Output Input Data Processing Requirements Document Program Specifications Page 401 14-7

Program Objectives Objectives are the problems that you are trying to solve Programming requires a clear statement of the problem that you are looking to address Page 401 14-8

Program Specification Steps Continued Desired output Input Data Processing Requirements Program Specifications Document End user s sketch of desired output Page 402 Example of statement of hours worked 14-9

Step 2: Program Design Plan a solution Use structured programming techniques Top-down program design Pseudocode Flowcharts Logic structures Page 403 14-10

Top-Down Program Design Page 403 14-11

Pseudocode Summarizes the logic for a program. Informal list of instructions. Like a program, but written in English words. Page 404 14-12

Flowchart Flowchart symbols Page 404 Flowchart example 14-13

Logic Structures Sequence structure Selection structure Loop structure Page 404 14-14

Step 3: Program Code Writing the program or coding The good program Reliable Catch input errors Understandable to other programmers Structured programs best method Use the most appropriate computer language Coding Page 407 14-15

Coding Formatting or presentation language Programming language Page 408 14-16

C C++ Java Python, Perl Visual Basic Basic Common Programming Languages Fortran Older, for numerical Cobol Older, for transaction processing systems (TPS) Assembler ( = machine language) Page 408 14-17

Step 4: Program Test Debugging Testing Eliminating errors Syntax errors Logic errors Testing process Page 422 14-18

Types of Testing Desk checking sit and look at it Manual testing try specific data values Translation try to compile i This catches syntax errors Run the program Testing on sample data Beta testing Give preliminary version to a few brave users Page 422 14-19

Step 5: Program Documentation Written descriptions and procedures about a program Important for people who will use the program Users Operators Programmers Page 411 14-20

Step 6: Program Maintenance 75% of total lifetime cost Error-free operations Effective program Two categories Operations Changing needs Page 412 14-21

Case Tools Computer-aided software engineering (CASE) Automate development process Designing Coding Testing activities Page 414 14-22

Object-Oriented Software Development Focuses less on procedures, more on relationship between objects OOP: Object-oriented programming Object contains both the data and the processing operations Page 415 14-23

Generations of Programming Languages (Page 1 of 2) Occurring in generations or levels Levels-Machine languages to natural languages There are five generations : Lower level closer to machine language Higher level closer to human-like language Page 415 14-24

Generations of Programming Languages (Page 2 of 2) 1 st -- Machine languages 2 nd -- Assembly languages 3 rd -- High level procedural languages (3GL) 4 th -- Problem-Oriented languages (4GL) 5 th -- Natural Languages & Visual programming languages (5GL) Page 415 14-25

Chapter 15 Your Future and Information Technology McGraw-Hill/Irwin Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

CH15: Technology and People Cynicism Naiveté Frustration Proactivity Page 436 15-27

Careers In IT Computer programmers create, test, and troubleshoot programs Responsibility may also include updating and repairing existing programs Employers seek individuals with a bachelors degree in computer science or information systems but there are positions available for those with a two-year degree Desired traits include patience, logical thinking, and attention to detail Computer Programmers can expect to earn $48K - $81K annually Page 418 14-28

A Look to the Future MI-Tech Synapse Solutions has created a system called MI-tech Understands word order and meaning Computer translates "wish list" into machine language Page 419 14-29

Discussion Questions (Page 1 of 2) Identify and discuss each of the six steps of programming. Describe CASE tools and OOP. How does CASE assist programmers? What is meant by generation in reference to programming languages? What is the difference between low-level and high-level languages? Page 428 14-30

Discussion Questions (Page 2 of 2) What is the difference between a compiler and an interpreter? What are logic structures? Describe the differences between the three logic types. Page 428 14-31