Asee peer logo

Using Pre Built Program Templates To Teach Numerical Methods

Download Paper |

Conference

2004 Annual Conference

Location

Salt Lake City, Utah

Publication Date

June 20, 2004

Start Date

June 20, 2004

End Date

June 23, 2004

ISSN

2153-5965

Conference Session

Computers in Education Poster Session

Page Count

11

Page Numbers

9.1385.1 - 9.1385.11

DOI

10.18260/1-2--13984

Permanent URL

https://peer.asee.org/13984

Download Count

611

Request a correction

Paper Authors

author page

David Silverstein

Download Paper |

Abstract
NOTE: The first page of text has been automatically extracted and included below in lieu of an abstract

Session 1520

Using Pre-Built Program Templates to Teach Numerical Methods

David L. Silverstein University of Kentucky

Abstract

Most engineering programs require students to learn some form of structured programming early in their curriculum, but in many cases, students do not use their newly acquired programming skills again. While outside of computer-related majors there may not be a need to maintain programming skills, programming is still an effective way to make certain that students understand how a numerical method is arriving at a solution. A method called “template-based programming” was developed to enable use of high- level computer languages in courses where programming is not explicitly part of the course objectives. In this method, a student is given a fully functioning program, or template, that only lacks the functional code for a numerical method to solve a particular type of problem. Since the work of developing the interface and other portions of the program has been completed for the student, all they need to concentrate on are the aspects of the programming project that contribute toward the course objectives. Examples of how this approach has been used in numerous chemical engineering courses will be presented, including templates developed in Compaq Visual FORTRAN, Microsoft Visual Studio.NET, and Microsoft Excel.

Introduction

In the University of Kentucky chemical engineering curriculum, students are required to take a course in computer programming prior to taking their first “core” chemical engineering course. Subsequent to that course, it is possible that a student will never to be required to write a complete program from “scratch” again. This makes some sense in chemical engineering and other disciplines where greater than 90% of practitioners never program in a high-level language.1

Computer programming concepts in some form are still required according to Accreditation Board for Engineering and Technology (ABET) criteria.2 While most curricula still require high-level languages such as C, C++, and Visual Basic,3 an increasing number of programs are choosing to teach scripting languages within mathematics applications such as Maple, MATLAB, and Mathematica.4

Even though most practicing engineers will not program, it is often argued that programming is an effective means of teaching problem formulation and problem

Silverstein, D. (2004, June), Using Pre Built Program Templates To Teach Numerical Methods Paper presented at 2004 Annual Conference, Salt Lake City, Utah. 10.18260/1-2--13984

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2004 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015