Bret Juliano. Introduction What Documentation is Required? – To use a program – To believe a program – To modify a program The Flow-Chart Curse Self-Documenting.

Slides:



Advertisements
Similar presentations
Computer Programming Rattapoom Waranusast Department of Electrical and Computer Engineering Faculty of Engineering, Naresuan University.
Advertisements

LECTURE 1 CMSC 201. Overview Goal: Problem solving and algorithm development. Learn to program in Python. Algorithm - a set of unambiguous and ordered.
Documentation 1 Comprehending the present – Investing in the future.
COSC 120 Computer Programming
Bellevue University CIS 205: Introduction to Programming Using C++ Lecture 2: Your First Program.
Chapter 3 Planning Your Solution
PRE-PROGRAMMING PHASE
Programming Logic and System Analysis
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
CS102 Introduction to Computer Programming
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
Simple Program Design Third Edition A Step-by-Step Approach
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
Spreadsheet-Based Decision Support Systems Chapter 22:
General Programming Introduction to Computing Science and Programming I.
Introduction to Algorithm Design and Documentation CSIS 1595: Fundamentals of Programming and Problem Solving 1.
Chapter 2: Beginning the Problem-Solving Process
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
CSC-115 Introduction to Computer Programming
Systems Development Lifecycle Testing and Documentation.
Creating your first C++ program
Programming Concepts Chapter 3.
SE: CHAPTER 7 Writing The Program
Introduction to Programming with RAPTOR
Computer Science Project Criteria. Computer Science Project The project is intended to simulate the analysis, design, progamming and documentation stages.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
1 Programming with MATLAB ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem
Slide 1 Project 1 Task 2 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 2 Briefing The Design of a Computer.
The Software Development Process
The Other Face Or Why Document? By Chris Bradney Or Why Document? By Chris Bradney.
1 Program Planning and Design Important stages before actual program is written.
Identifiers Identifiers in Java are composed of a series of letters and digits where the first character must be a letter. –Identifiers should help to.
Lecture 6: Writing the Project Documentation Part IV.
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
Submitted To: Rutvi sarang Submitted By: Kushal Bhagat.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
The Other Face Chapter 15. What documentation is required? ► Different levels of documentation are required for the casual user of a program, for the.
04/02/ Procedures Top-down approach / Stepwise Refinement & Sub Procedures.
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Writing Academic Essay versus Writing Computer Programs.
GCSE ICT 3 rd Edition The system life cycle 18 The system life cycle is a series of stages that are worked through during the development of a new information.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
An Introduction to Programming with C++ Sixth Edition Chapter 5 The Selection Structure.
Introduction to Algorithmic Processes CMPSC 201C Fall 2000.
An Introduction to Programming with C++1 Beginning the Problem- Solving Process Tutorial 2.
Introduction to Problem Solving Programming is a problem solving activity. When you write a program, you are actually writing an instruction for the computer.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
 Problem Analysis  Coding  Debugging  Testing.
Dani Vainstein1 VBScript Session 8. Dani Vainstein2 What we learn last session? VBScript procedures. Sub procedures. Function Procedures. Getting data.
Learning Objectives Today we will Learn: The different methods of implementation The differences between user and technical documentation.
Learning outcomes 5 Developing Code – Using Flowcharts
Component 1.6.
Physical Data Model – step-by-step instructions and template
System Design.
SDC – SDLC integration.
Algorithms Problem: Write pseudocode for a program that keeps asking the user to input integers until the user enters zero, and then determines and outputs.
The Selection Structure
Introduction to C Topics Compilation Using the gcc Compiler
An Introduction to Visual Basic .NET and Program Design
Unit# 9: Computer Program Development
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
PROGRAMMING METHODOLOGY
Programming Fundamentals (750113) Ch1. Problem Solving
An Introduction to Structured Program Design in COBOL
Creating your first C program
The Programming Process
Programming Fundamentals (750113) Ch1. Problem Solving
Software Development Process
Programming Fundamentals (750113) Ch1. Problem Solving
Presentation transcript:

Bret Juliano

Introduction What Documentation is Required? – To use a program – To believe a program – To modify a program The Flow-Chart Curse Self-Documenting Programs – An approach – Some techniques – Why not? Questions?

 A computer program is a message from a man to a machine. The syntax and definitions exist solely to make the instructions clear to the machine.

 To use a program  To believe a program  To modify a program

1. Purpose 2. Environment 3. Domain and Range 4. Functions realized and algorithms used 5. Input-Output formats 6. Operating instructions 7. Options 8. Running time 9. Accuracy and checking

 Every copy of a program shipped should include small test cases used for reassuring the user has a faithful program.  Microsoft Genuine Advantage

 Necessary components: 1. A flow chart or structured graph. 2. Complete descriptions of algorithms used. 3. An explanation of the layout of files. 4. An overview of pass structure and what is accomplished each pass. 5. A discussion of modifications from the original design.

 Many programs don’t need a flowchart, let alone one that is over 1 page.  The more you add, the more confusing it gets.  Experienced programmers don’t use flow charts.

 Program documentation is generally poor and the maintenance is worse.  An approach  Some techniques  Why not?

 Use the parts of the program that have to be there anyway.  Labels, declarations, etc  Use space and format to improve readability  When necessary add paragraphs of comments with single line comments.

 Use a separate name for each run through.  Declare all variables.  Mark the initialization by a label.  Use indenting to show structure.  If it’s not obvious, explain it.

 The drawbacks:  Increased size of the source code.  Flow charts are hard to implement into source code.