Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

Programming for terminal applications

Published: 01 September 1975 Publication History

Abstract

When a computer language is taught in the classroom, the focus is usually on the language itself and its application to the students' fields of interest. Syntax and logic are the chief barriers to be overcome, and, as a result, an important topic is not covered. This area is becoming more a problem with the trend toward writing computer programs to be run from a terminal. Students are not being taught how to write a program to be run by someone else.This article develops a set of rules to improve programs for terminal applications. These rules center around:1. Data Validation: The Programmer must explicitly test the data entered to be sure it is of a valid type and within valid range;2. Input and Output Validation: It is important to identify the problem being solved, the input to the program and the results of the program; and3. Data Flow: The flow of data into the computer should be ordered in the same way as it would be if a person were solving a problem in his head.If these rules are followed, programs will perform better, the user will be happier, and the data processing will be more accurate.

Recommendations

Comments

Information & Contributors

Information

Published In

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1975
Published in SIGCSE Volume 7, Issue 3

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 74
    Total Downloads
  • Downloads (Last 12 months)13
  • Downloads (Last 6 weeks)3
Reflects downloads up to 15 Oct 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media