NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 1-5 of 46
Page 27
Both constants and variables are tested as print - items . The 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 ...
Both constants and variables are tested as print - items . The 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 ...
Page 28
First , the expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values ...
First , the expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values ...
Page 37
This will let you get on to the other items , and will signal a failure to the processor as described below . ... a message indicating that the correct value was not received , and the program will ask if you want to retry that item .
This will let you get on to the other items , and will signal a failure to the processor as described below . ... a message indicating that the correct value was not received , and the program will ask if you want to retry that item .
Page 38
If you forget , the item will fail and you will have a chance to retry , so make sure that reported failure really a processor failure and not just your own mistyping before bypassing the retry . As with the numeric input , if the ...
If you forget , the item will fail and you will have a chance to retry , so make sure that reported failure really a processor failure and not just your own mistyping before bypassing the retry . As with the numeric input , if the ...
Page 46
The PRINT program first tests the use of expressions as print - items . Check that the actual and correct values are reasonably close . The second section of the program tests that the TAB call is handled correctly .
The PRINT program first tests the use of expressions as print - items . Check that the actual and correct values are reasonably close . The second section of the program tests that the TAB call is handled correctly .
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 APPROPRIATE ERROR MESSAGE ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE 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 END PROGRAM PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК