13 1 Computer Programming Ch.15-A,B,C FALL 2000 Rob Wolfe.

Slides:



Advertisements
Similar presentations
CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Advertisements

Al-Karma Language School Computer Department Prep. 3.
CS Section 600 CS Section 002 Dr. Angela Guercio Spring 2010.
Program Flow Charting How to tackle the beginning stage a program design.
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 2: Input, Processing, and Output
Lecture Notes 1/21/04 Program Design & Intro to Algorithms.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Lecture Notes 8/30/05 Program Design & Intro to Algorithms.
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.
BPC.1 Basic Programming Concepts
PRE-PROGRAMMING PHASE
Copyright 2003 Scott/Jones Publishing Brief Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
CSC-115 Introduction to Computer Programming
Programming Lifecycle
Designing and Debugging Batch and Interactive COBOL Programs Chapter 5.
The Software Development Life Cycle. Software Development SDLC The Software Development Life-Cycle Sometimes called the program development lifecycle.
Computer Concepts 2014 Chapter 12 Computer Programming.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Chapter 12 Computer Programming. Chapter Contents Chapter 12: Computer Programming 2  Section A: Programming Basics  Section B: Procedural Programming.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
Definition of Terms Software/Programs Programs that directs the operation of a computer system Set of instructions Codes Programming Process of planning,
Chapter 12 Computer Programming. 12 Chapter 12: Computer Programming 2 Chapter Contents  Section A: Programming Basics  Section B: Procedural Programming.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
1 Program Planning and Design Important stages before actual program is written.
Program Development C# Programming January 30, 2007 Professor J. Sciame.
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Problem-solving with Computers. 2Outline  Computer System  5 Steps for producing a computer program  Structured program and programming  3 types of.
ALGORITHMS AND FLOWCHARTS. Why Algorithm is needed? 2 Computer Program ? Set of instructions to perform some specific task Is Program itself a Software.
Flowcharts C++ Lab. Algorithm An informal definition of an algorithm is: a step-by-step method for solving a problem or doing a task. Input data A step-by-step.
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
 Problem Analysis  Coding  Debugging  Testing.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
What Do Computers Do? A computer system is
1-1 Logic and Syntax A computer program is a solution to a problem.
Chapter 2- Visual Basic Schneider
ALGORITHMS AND FLOWCHARTS
System Design.
Computer Programming.
Problem Solving Techniques
Chapter 12: Computer Programming
Programming Right from the Start with Visual Basic .NET 1/e
Global Challenge Night Sensor Lesson 2.
Documentation for Developers
Chapter 2- Visual Basic Schneider
Global Challenge Night Sensor Lesson 2.
Chapter 1 Introduction(1.1)
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Chapter 2- Visual Basic Schneider
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
A programming language
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
ICT Gaming Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
WJEC GCSE Computer Science
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Programming Logic and Design Eighth Edition
Introduction to Computers
Presentation transcript:

13 1 Computer Programming Ch.15-A,B,C FALL 2000 Rob Wolfe

13 DIT Wolfe 2 Software Engineer v. Systems Analyst Focuses on the software component of the information system Focuses on the software component of the information system Software design, programming, and testing Software design, programming, and testing Plans an entire information system Plans an entire information system Hardware, software, procedures, personnel, and data Hardware, software, procedures, personnel, and data

13 DIT Wolfe 3 Size of Programs According to DoD standards, a... According to DoD standards, a... Small program has < 100,000 lines Medium-sized program has >100,000 but < 1,000,000 lines Large program has > 1,000,000 lines

13 DIT Wolfe 4 Programming Process Problem Statement Coding per Syntax Algorithm Design

13 DIT Wolfe 5 Problem Statement Select a better deal Select a better deal Assumptions Known information Output Requirement

13 DIT Wolfe 6 Expressing an Algorithm Structured English Structured English Pseudocode Pseudocode Flow charts Flow charts Object definitions Object definitions

13 DIT Wolfe 7Debugging Syntax Errors Syntax Errors Instruction or command does not follow the syntax rules Run-time Errors Run-time Errors Shows up when you run the program. Logic Errors Logic Errors Errors in the logic or design of the program Inadequate definition of the problem Incorrect or incomplete flowchart or pseudocode More difficult and time consuming to identify

13 DIT Wolfe 8Documentation Remarks inserted in program code Remarks inserted in program code Written documentation external to the program Written documentation external to the program

13 DIT Wolfe 9 Programming in VB Three Constructs of Programming Three Constructs of Programming Sequence Selection Iteration VB Programming VB Programming VBA VBA

13 DIT Wolfe 10 Structured Programming Three Constructs Three Constructs Sequence Selection Iteration

13 DIT Wolfe 11 VB Programming Structured Programming Structured Programming Sequence, Selection, Iteration Sequence, Selection, Iteration VB 1.54 (In the Lab, Question #1) VB 1.54 (In the Lab, Question #1) VB 2.63 (In the Lab, Question #2) VB 2.63 (In the Lab, Question #2) Pizza Problem (Chapter 15) Pizza Problem (Chapter 15)