Previous page Next page Navigation bar

Calculator Programming Tutorial

Programming Building Blocks I

Examples

Introduction

This section gives some worked examples of programs to do various things. Each example analyzes the problem determine the best programming approach, implements the program in code, and constructs a test for the code. An ALGOL-like pseudocode is used as a program design language.

The first two examples in this section are small, easily explained, self contained, and Casio calculator specific. These examples stop with the production of a program to test the solution to the problem. The third example is somewhat larger, requires some research (which is done), and requires a more stepwise approach to the solution. In this manner, it more closely models real problem likely to be encountered. The third example is also implemented for both the Casio calculator and Visual Basic for Applications.

[ Previous page | Top of page | Next page ]

Previous page Top of page Next page Navigation bar

Copyright © 2002 Brian Hetrick
Page last updated 10 February 2002.

Brian’s Casio Calculator Corner

Home

Programs

Tutorial

Preface

Introduction

Fundamentals

Building Blocks I

Introduction

Comments

Data Types

Numbers

Variables

Expressions

Control Flow I

Control Flow II

Subprograms

Basic I/O

Algorithms

A First Program

Examples

Introduction

Logical Ops

Bitwise Ops

Pumpkins

Exercises

Answers

Modularization

Data Structures I

Recursion

Program Attributes

Building Blocks II

Algorithm Analysis

Structuring

Data Structures II

Abstract Types

Objects

Problem Analysis

Reference Card

References

Puzzles

Site Information

Your Privacy

Site Map

E-mail

Site Technical Data