Interprative languages |
Compiling languages |
||
HTML and JavaScript (JS) |
Python (Py) |
Pascal (old and fussy, but excellent for this course) |
Visual Basic (VB) |
v1.01 Iteration values are NOT shown in this initial version. Floating point errors sometimes cause many trailing decimals with a small error. All versions can be thrown into an infinite loop with "decPlaces" >16. | |||
.html file v1.01
|
.py file v1.01
code v1.01 |
pas.exe file v1.01 zip of exe file v1.01 Declarations on separate lines (Edited with Pascal XE) code v1.01 |
vb.exe file v1.01
Declarations on separate lines code v1.01 |
v1.02 The iterations of the value, "middle" are shown for testing. Floating point errors still exist, leading to the infinite loops. | |||
.html file v1.02
Line break in concatenation |
.py file v1.02
Used compound assignment (+=) code v1.02 |
pas.exe file v1.02 zip of exe file v1.02 Declarations on one line Great demo of an infinite loop and 2's compliment with decPlaces=8 Declarations on one line. code v1.02 |
vb.exe file v1.02
Infinite loop with decPlaces=7 Declarations on one line. Used compound assignment (+=) code v1.02 |
v1.03 Students are left to improve these pages, possibly experimenting with "double" precision floating points in Pascal and VB. Also including validation for all languages to ensure "decPlaces" is not above 15. | |||
.html file v1.03
|
.py file v1.03
code v1.03 |
pas.exe file v1.03 code v1.03 |
vb.exe file v1.03
code v1.03 |
v1.04 Students are left to improve these pages ..... | |||
.html file v1.04
|
.py file v1.04
code v1.04 |
pas.exe file v1.04 code v1.04 |
vb.exe file v1.04
code v1.04 |