College of Computer and Information Science Chapter 14 Programming and Languages.

Slides:



Advertisements
Similar presentations
Computers Are Your Future
Advertisements

Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Programming and Languages Chapter 13.
Software Engineering 2007/2008 Chapter 2 Modeling the Process and Life Cycle.
CADAL 资源数字化系统 -- 浙江大学计算机学院. 项目目标和任务 多媒体资源数字化的解决方案 ▫ 支持:图片、视频、音频 工作流管理 ▫ 资源数字化流水线 元数据标引 ▫ 元数据录入 ▫ 元数据模板生成 多媒体编辑 ▫ 图片编辑 ▫ 视频编辑 ▫ 音频编辑.
石化的 IT 大挑战 洛阳石化工程公司. 石化公司简介 中国石化集团洛阳石油化工工程公司,是国内能源化 工领域集技术专利商与工程承包商于一体的高科技企 业。拥有中国综合设计甲级资质,为国家首批业务涵 盖 21 个行业的工程咨询企业之一,拥有工程总承包、 工程设计、工程监理、工程咨询和环境影响评价等甲.
编译程序 构造原理和实现技术 授课教师:吕江花. 第一章 编译程序概述 主要内容: 几个基本概念 编译器的工作过程概述 编译器各个阶段的功能描述 编译程序的实现途径.
McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 14 Programming and Languages.
Lecturer: Mu Lingling (穆玲玲)
Harris Spring 2005 讲座一 “ERP 与企业流程再造 ” 东南大学 自控系 赵霁教授 电话: 一 ERP 是什么? 二企业为什么要引入 ERP 系统? 三企业管理软件的发展与 ERP 的创新之处 四 ERP 与流程再造的关系。 五 企业流程再造规划分析。
C 语言程序设计 2008 版. C 语言程序设计 教学要求  掌握程序设计语言的基本知识  常用算法  初步的程序设计能力 学习方法  自主学习  重视上机实践.
Computers: Tools for an Information Age
协同工作环境研究中心 协同共享 助力科研. 主要内容  认识协同及协同软件  协同科研软件 duckling 介绍.
Program Flow Charting How to tackle the beginning stage a program design.
操作系统原理课程设计指南 姜海燕 设计考核幻灯制作  1.1 封皮:系统名称,研制人员  1.2 目的及意义  1.3 功能设计:功能框图、用例图  1.4 结构设计:系统结构  1.5 核心技术及技术路线:画图  1.6 进度安排  1.7 人员安排  1.8.
UML 对象设计与编程 主 讲 : 董兰芳 副教授 Dept. of Computer Science,USTC
多媒体制作工具 Authorware 在流程线上添加图标 引入素材 编辑图标属性. 标题拦 菜单栏 图标栏 设计 窗口 演示 窗口 工具栏.
Program Development and Programming Languages
国家高性能计算中心(合肥) 十五 并行程序设计环境与工具. 国家高性能计算中心(合肥) 并行程序设计环境与工具  15.1 软件工具与环境  15.2 并行编译器  15.3 并行程序调试  15.4 并行程序性能分析  15.5 图形化并行程序集成开发环境.
编译原理总结. 基本概念  编译器 、解释器  编译过程 、各过程的功能  编译器在程序执行过程中的作用  编译器的实现途径.
Programming and Languages Chapter Competencies (Page 1 of 2) Describe the six steps of programming Discuss design tools including top-down design,
1 CIS 100 Winter 2005 Week 10 Lecture Dr. David Gadish.
McGraw-Hill Technology Education © 2006 by the McGraw-Hill Companies, Inc. All rights reserved CHAPTER PROGRAMMING AND LANGUAGES.
1414 CHAPTER PROGRAMMING AND LANGUAGES. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved Competencies Describe the six steps of programming.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
PRE-PROGRAMMING PHASE
Your Interactive Guide to the Digital World Discovering Computers 2012.
Programming Languages: Telling the Computers What to Do Chapter 16.
CC111 Lec#5: Program Development 1 Program Development and Programming Languages Lecture 4 Reference :Understanding Computers Chapter 13.
Understanding Computers Ch. 131 Chapter 13 Program Development and Programming Languages.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming (CS 102) C++ Programminhg.
Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Twelfth Edition.
College of Computer and Information Science Chapter 14 Programming and Languages.
软件调优基础 2004 年 2 月 23 日. 为什么需要调优? 相同的代码 >> 不同的性能 SELFRELEASE OPT : 4 IMSLCXMLATLASMKL50MKL s5.445s5.457s10.996s3.328s0.762s0.848s0.738s for(i=0;i
Chapter 15 Program Development and Programming Languages.
Designing and Debugging Batch and Interactive COBOL Programs Chapter 5.
Computing Essentials 2014 Programming and Languages © 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
WHAT CAN A CS-MAJOR STUDENT DO?
Chapter 3 Programming Languages Unit 1 The Development of Programming Languages.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
Programming and Languages
表单自定义 “ 表单自定义 ” 功能是用于制作表单的 工具,用数飞 OA 提供的表单自定义 功能能够快速制作出内容丰富、格 式规范、美观的表单。
SIMCOM EAT.
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.
Lecture (8) Programming Design Dr. Emad Elsharkawy Eng- Omar Salah Dr:Emad Elsharkawy 1 Saturday, 13 February 2016.
Problem-solving with Computers. 2Outline  Computer System  5 Steps for producing a computer program  Structured program and programming  3 types of.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
1. 利用图形化开发环境 LabVIEW 对 Xilinx Spartan3E 进行编程 汤敏 NI 高校市场部.
Copyright © 2012 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 14: Programming and Languages.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming C++
Linux c/c++ 测试工具 梁剑钊 UED Team Design. 大纲  单元测试框架  mock  构建 / 管理工具  冒烟测试服务器  静态代码检查工具  代码复杂度和代码行数统计  调用栈工具  性能分析工具  内存检测工具  IO 测试工具  网络监控工具.
单元四 电动后视镜控制电路. 汽车辅助装置汽车辅助装置 一、教学目的要求: 掌握电动后视镜的组成、功用、工作过程以 及控制电路 二、主要教学内容: ( 1 )电动后视镜的组成 ( 2 )电动后视镜控制电路 ( 3 )电动后视镜工作过程 三、教学重点、难点: 电动后视镜工作过程.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
Chapter 10 Software Engineering. Understand the software life cycle. Describe the development process models. Understand the concept of modularity in.
Programming and Languages
CSCI-235 Micro-Computer Applications
Chapter 2- Visual Basic Schneider
Chapter 14: Programming and Languages
Programming Languages
Problem Solving Techniques
Chapter 14: Programming and Languages
Chapter 2- Visual Basic Schneider
Chapter 2- Visual Basic Schneider
PROGRAMMING AND LANGUAGES
Programming and Languages
Presentation transcript:

College of Computer and Information Science Chapter 14 Programming and Languages

College of Computer and Information Science 14-2 Key Words & Terms application generator: 代码生成器 assembly language: 汇编语言 beta testing: beta 测试 code: 代码 coding: 编码 compiler: 编译器 computer-aided software engineering (CASE) tools: 计算机辅助 软件工程工具 debugging: 调试 desk checking: 桌面检测 DO UNTIL structure: 一种循环结构 DO UNTIL DO WHILE structure: 一种循环结构 DO WHILE documentation: 文档化 fifth-generation language (5GL): 第五代语言 formatting language: 格式化语言 fourth-generation language (4GL): 第四代语言 generation: 代,级 higher level: 高级

College of Computer and Information Science 14-3 Key Words & Terms IF-THEN-ELSE structure: 分支结构 IFPS (interactive financial planning system): 交互式财务策划系统 interpreter: 解释器 levels: 层次,级 logic error: 逻辑错 logic structure: 逻辑结构 loop structure: 循环结构 lower level: 低级 machine language: 机器语言 maintenance programmer: 维护程序员 markup language: 标记语言 module: 模块 natural language: 自然语言 object: 对象 object code: 对象代码 object-oriented programming (OOP): 面向对象程序设计 object-oriented software development: 面向对象软件开发 objectives: 目标,对象

College of Computer and Information Science 14-4 Key Words & Terms operators: 操作员 portable language: 可移植语言 problem-oriented language: 面向问题语言 procedural language: 过程语言 program: 程序 program analysis: 程序分析 program coder: 代码生成器 program definition: 程序定义 program design: 程序设计 program documentation: 程序文档 program flowchart: 程序流程图 program maintenance: 程序维护 program modules: 程序模块 program specification: 程序说明 programmer: 程序员 programming: 编程,程序设计 programming language: 程序设计语言 pseudo-code: 伪码

College of Computer and Information Science 14-5 Key Words & Terms query language: 查询语言 selection structure: 选择结构 sequence structure: 顺序结构 software development: 软件开发 software engineer: 软件工程 source code: 源代码 structured program: 结构化程序 structured programming techniques: 结构化程序设计技术 syntax error: 语法错 third generation language (3GL) : 第三代语言 top-down program design: 自上而下程序设计 user: 用户 very high level language: 超高级语言 visual programming language: 可视化程序设计语言

College of Computer and Information Science 14-6 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

College of Computer and Information Science 14-7 Competencies (Page 2 of 2) Describe CASE tools and object-oriented software development Explain the five generations of programming languages Page 398

College of Computer and Information Science 14-8 Introduction In this chapter programming is described in two parts: (1) the steps in the programming process and (2) 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

College of Computer and Information Science 14-9 Programs and Programming What is a Program? A problem-solving procedure –A list of instructions Prewritten Custom-written Application software System software Page 400

College of Computer and Information Science What is Programming? Programming is software development Six step procedure –Program specification –Program design –Program code –Program test –Program documentation –Program maintenance Page 400

College of Computer and Information Science Step 1: Program Specification Page 401 Also called programs definition or program analysis 5 Step Process –Program ObjectivesProgram Objectives –Desired OutputDesired Output –Input Data –Processing Requirements –Document Program Specifications

College of Computer and Information Science 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 Return Page 401

College of Computer and Information Science Program Specification Steps Continued Page 402 Desired output Input Data Processing Requirements Program Specifications Document Example of statement of hours worked End user’s sketch of desired output

College of Computer and Information Science Step 2: Program Design Plan a solution Use structured programming techniques –Top-down program designTop-down program design –PseudocodePseudocode –FlowchartsFlowcharts –Logic structuresLogic structures Page 403

College of Computer and Information Science Top-Down Program Design Page 403 Return

College of Computer and Information Science Pseudocode Provides an outline of the logic and summary for a program Page 404 Return

College of Computer and Information Science Flowchart Page 404 Return Flowchart symbols Flowchart example

College of Computer and Information Science Logic Structures Sequence structure Selection structure Loop structure Page 404

College of Computer and Information Science 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

College of Computer and Information Science Coding Formatting or presentation language Programming language Page 408

College of Computer and Information Science Step 4: Program Test Debugging –Testing –Eliminating errors Syntax errors Logic errors Testing process Page 422

College of Computer and Information Science Step 5: Program Documentation Written descriptions and procedures about a program Important for people who will use the program –Users –Operators –Programmers Page 411

College of Computer and Information Science Step 6: Program Maintenance 75% of total lifetime cost Error-free operations Effective program Two categories –Operations –Changing needs Page 412

College of Computer and Information Science Case Tools Computer-aided software engineering (CASE) –Automate development process Designing Coding Testing activities Page 414

College of Computer and Information Science 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

College of Computer and Information Science 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

College of Computer and Information Science 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 Generations of Programming Languages (Page 2 of 2)

College of Computer and Information Science Language Translators compiler compiling linking resource code========>.obj=======>.exe interpreter

College of Computer and Information Science 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

College of Computer and Information Science 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

College of Computer and Information Science 14-31

College of Computer and Information Science Crossword Puzzle Answers: Across Num.ClueAnswer 1 Writing a program. Coding 6 A list of instructions for the computer to follow. Program 9 Represent the steps needed to solve a programming problem. Program flowchart 10 Programmer that ensures current programs remain error free. Maintenance 12 The problem a user is trying to solve. Objective 13 Structure that describes a process that may be repeated while a condition is true. Loop 14 Testing and then eliminating errors. Debugging 15 Tools that provide some automation in program design, coding, and testing. CASE Down Num.ClueAnswer 1 Converts procedural language into machine language code. Compiler 2 Error that is a violation of the rules of a programming language. Syntax 3 The final step in testing a program. Beta testing 4 Software engineer. Programmer 5 Sequence, selection, and loop. Logic structure 7 Processing steps used in top-down program design. Module 8 Error that occurs when an incorrect calculation is used. Logic 9 Outline of the logic of the program you will write. Pseudocode 11 Process by which a program is organized into objects. OOP

College of Computer and Information Science Answers for Multiple Choice and Matching NumMultiple Choice AnswersMatching Answers 1AI 2BH 3CG 4BJ 5CD 6BB 7BC 8CE 9DF 10BA

College of Computer and Information Science End of Chapter 14