NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Results 1-5 of 100
Page 4
... Functions ... 42 5.12.1 Precise functions : ABS , INT , SGN . 42 5.12.2 Approximated functions : SQR , ATN , COS , EXP , LOG , SIN , TAN .. 5.12.3 RND and RANDOMIZE .. • 5.12.3.1 Standard Capabilities . 5.12.3.2 Informative Tests . 5.12 ...
... Functions ... 42 5.12.1 Precise functions : ABS , INT , SGN . 42 5.12.2 Approximated functions : SQR , ATN , COS , EXP , LOG , SIN , TAN .. 5.12.3 RND and RANDOMIZE .. • 5.12.3.1 Standard Capabilities . 5.12.3.2 Informative Tests . 5.12 ...
Page 8
... functions . One- and two - dimensional arrays are allowed , but only for numeric data , not string . For control ... function . If RND is called without execution of RANDOMIZE , it always returns the same sequence of pseudo - random ...
... functions . One- and two - dimensional arrays are allowed , but only for numeric data , not string . For control ... function . If RND is called without execution of RANDOMIZE , it always returns the same sequence of pseudo - random ...
Page 11
... function is as test data . It is readily apparent , for instance , that the majority of BASIC test programs are algorithmically trivial ; some consist only of a series of PRINT statements . Viewed as test data , however , i.e. , a ...
... function is as test data . It is readily apparent , for instance , that the majority of BASIC test programs are algorithmically trivial ; some consist only of a series of PRINT statements . Viewed as test data , however , i.e. , a ...
Page 20
... function use of a function before its definition recursive function definition 7. duplicate function definition 8 . 9 . number of arguments in function invocation < > number of parameters in function definition reference to numeric ...
... function use of a function before its definition recursive function definition 7. duplicate function definition 8 . 9 . number of arguments in function invocation < > number of parameters in function definition reference to numeric ...
Page 22
... functions and the randomness of the RND function are the subjects of informative tests . Some of the standard tests also have individual sections which are informative , and again the pass / fail message is the key to which sections ...
... functions and the randomness of the RND function are the subjects of informative tests . Some of the standard tests also have individual sections which are informative , and again the pass / fail message is the key to which sections ...
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