« PreviousContinue »
Q C Eud 100 US76
NBS Special Publication 500-70/1
DEC 02 1980
NATIONAL BUREAU OF STANDARDS
The National Bureau of Standards' was established by an act of Congress on March 3, 1901. The Bureau's overall goal is to strengthen and advance the Nation's science and technology and facilitate their effective application for public benefit. To this end, the Bureau conducts research and provides: (1) a basis for the Nation's physical measurement system, (2) scientific and technological services for industry and government, (3) a technical basis for equity in trade, and (4) technical services to promote public safety. The Bureau's technical work is performed by the National Measurement Laboratory, the National Engineering Laboratory, and the Institute for Computer Sciences and Technology.
THE NATIONAL MEASUREMENT LABORATORY provides the national system of physical and chemical and materials measurement; coordinates the system with measurement systems of other nations and furnishes essential services leading to accurate and uniform physical and chemical measurement throughout the Nation's scientific community, industry, and commerce; conducts materials research leading to improved methods of measurement, standards, and data on the properties of materials needed by industry, commerce, educational institutions, and Government; provides advisory and research services to other Government agencies; develops, produces, and distributes Standard Reference Materials; and provides calibration services. The Laboratory consists of the following centers:
Absolute Physical Quantities? Radiation Research - Thermodynamics and
THE NATIONAL ENGINEERING LABORATORY provides technology and technical services to the public and private sectors to address national needs and to solve national problems; conducts research in engineering and applied science in support of these efforts; builds and maintains competence in the necessary disciplines required to carry out this research and technical service; develops engineering data and measurement capabilities; provides engineering measurement traceability services; develops test methods and proposes engineering standards and code changes; develops an proposes new engineering practices; and develops and improves mechanisms to transfer results of its research to the ultimate user. The Laboratory consists of the following centers:
Applied Mathematics – Electronics and Electrical Engineering’ – Mechanical
THE INSTITUTE FOR COMPUTER SCIENCES AND TECHNOLOGY conducts research and provides scientific and technical services to aid Federal agencies in the selection, acquisition, application, and use of computer technology to improve effectiveness and economy in Government operations in accordance with Public Law 89-306 (40 U.S.C. 759), relevant Executive Orders, and other directives; carries out this mission by managing the Federal Information Processing Standards Program, developing Federal ADP standards guidelines, and managing Federal participation in ADP voluntary standardization activities; provides scientific and technological advisory services and assistance to Federal agencies; and provides the technical foundation for computer-related policies of the Federal Government. The Institute consists of the following centers:
Programming Science and Technology -- Computer Systems Engineering.
'Headquarters and Laboratories at Gaithersburg, MD, unless otherwise noted;
NBS Special Publication 500-70/1
NBS Minimal BASIC Test
Reports on Computer Science and Technology
The National Bureau of Standards has a special responsibility within the Federal
National Bureau of Standards Special Publication 500-70/1
Library of Congress Catalog Card Number: 80-600163
U.S. GOVERNMENT PRINTING OFFICE
For sale by the Superintendent of Documents, U.S. Government Printing Office, Washington, D.C. 20402
Minimal BASIC Test Programs
John V. Cugini
Abstract: This publication describes the set of programs developed by NBS for the purpose
testing conformance of implementations of the computer language BASIC to the American National Standard for Minimal BASIC, ANSI X3.60-1978. The Department of Commerce has adopted this ANSI standard as Federal Information Processing Standard 68. By subinitting the programs to a candidate implementation, the user can test the various features which an inplementation must support in order to conform to the standard. While some programs can determine whether or not a given feature is correctly implemented, others produce output which the user must then interpret to some degree. This manual describes how the programs should be used So as to interpret correctly the results of the tests. Such interpretation depends strongly on a solid understanding of the conformance rules laid down in the standard, and there is a brief discussion
how they relate to the test programs and to the various ways in which the language may be implemented.
Key words: programming testing
BASIC; language processor testing; Minimal BASIC ; language standards; software standards; software
Acknowledgments: Version 2 owes its existence to the efforts and example of many people.
David Gilsinn and Mr. Charles Sheppard, the authors of version
deserve credit for construction of that first system,
which version 2
is a refinement. In addition, they were generous in their advice on man y of the pitfalls to avoid on the second iteration. Mr. Landon Dyer assisted with the testing and document preparation. It also important to thank the
many people who sent in comments and suggestions on Version 1. We hope that all the users of the resulting Version 2 will help us improve it further.
* issued as an
no longer available.