Topics for Week #4 Chapter 5

9/30/99


Click here to start


Table of Contents

Topics for Week #4 Chapter 5

Topics for Week #4 -- Chapter 8

BLOCK

What is a BLOCK?

Scope Rules -- Local vs Global

Example -- Local Variable

Example--Local & Global Variables

Summary Block B

Functions

User Defined Function

Good Programming Rules for Functions

Examples - Function Headers

Example -- Function

Data Flow

F(x)

Pex6F99.Pas

Pex6F99.Pas

Program Debugging

Pre/Postconditions

Example -- cosh(x)

Data Flow -- Cosh(x)

Example --Newton’s Method (Pex8F99.pas)

PPT Slide

Author: Dr. L. R. Symes

Email: symes@cs.uregina.ca