NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Page 8
Input and output are accomplished with the INPUT and PRINT statements , both of which are designed for use on an ... The programmer may ( but need not ) declare the size of arrays with the DIM statement and specify that subscripts begin ...
Input and output are accomplished with the INPUT and PRINT statements , both of which are designed for use on an ... The programmer may ( but need not ) declare the size of arrays with the DIM statement and specify that subscripts begin ...
Page 27
Both constants and variables are tested as print - items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in ...
Both constants and variables are tested as print - items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in ...
Page 34
The FOR statement has no associated exceptions , but it does have a rich variety of errors , many of them context sensitive , and therefore somewhat harder for an implementation to detect . As always , if any error programs are accepted ...
The FOR statement has no associated exceptions , but it does have a rich variety of errors , many of them context sensitive , and therefore somewhat harder for an implementation to detect . As always , if any error programs are accepted ...
Page 39
The program is set up with table - driven logic , so that each exception is triggered by a set of values a given DATA statement . If you need to separate out some of the cases because they cause the program to terminate , simply delete ...
The program is set up with table - driven logic , so that each exception is triggered by a set of values a given DATA statement . If you need to separate out some of the cases because they cause the program to terminate , simply delete ...
Page 44
In order to measure the quality of implementation , you can run the programs with a RANDOMIZE statement in the beginning and then observe how often the test passes or fails .
In order to measure the quality of implementation , you can run the programs with a RANDOMIZE statement in the beginning and then observe how often the test passes or fails .
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END END TEST ENTER ERROR EVALUATION EXACT EXECUTION EXPECTED FOLLOWING FUNCTION GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST INPUT INPUT-REPLY ITEM LINE LOOP MEASURE MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NEGATIVE NON-STANDARD FEATURE NOTE NUMERIC EXPRESSIONS OCCUR OK OK OK operations ORDER OUTPUT OVERFLOW PASS THIS TEST POSITIVE PRINT 40 PRINT PRINT BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS PROGRAMS USER'S MANUAL READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO