|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen GIER Computer |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen GIER Computer Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 2782 (0xade) Description: Bits:30000614 Reaktionstest Algol III Types: 8-hole paper tape Notes: Gier Text
REFLEX-TESTbegin _oolean array D[1:13,0:25]; _____ B______ _____integer array n[1:13], b[0:25]; _______ _____array t[1:13]; _____integer r, c, code, en, et; ________oolean B; B______integer procedure TIME; _______ _________begin integer TE; _____ _______TE:=0; B:=kbon;C: if kb on _ B then begin TE:=TE+1; goto C end; __ = ____ _____ ____ ___TIME:=TE;end TIME; ___procedure CLOCK (T); _________value T; real T; _____ ____begin C: if T>0 then begin T:=T-1; goto C end _____ __ ____ _____ ____ ___end CLOCK; ___writetext(|< <R E F L E X - T E S T During the test GIER will write the alphabet in the usual order. When a letter is written twice, please change KB at once. This test will be executed 13 times. 1 second will be added to the reflex- time, if you have pushed the button too early. When ready, please change KB.|); >A: et:=TIME;en:=et-et_26⨯26; c:=0; :for code:= 49 step 1 until 57, 33 step 1 until 41, 18 step 1 until 25 do ___ ____ _____ ____ _____ ____ _____ __begin b[c]:=code; c:=c+1 end; _____ ___for r:=1 step 1 until 13 do ___ ____ _____ __begin integer fi, fie; _____ _______writecr; fie:=37; fi:=et;for c:=0 step 1 until 25 do D[r,c]:=false; ___ ____ _____ __ _____for c:=0 step 1 until 25 do ___ ____ _____ __begin integer f; _____ _______writechar(0); writechar(b[c]); B:=kbon; f:=fi; fi:=fie+fi; fie:=f;CLOCK((fi-fi_101⨯101)⨯11); :if -,B_kbon then D[r,c]:=true; __ = ____ ____if c=en then goto I; __ ____ ____end for c; ___I: writechar(0); writechar(b[c]); et:=TIME; t[r]:=et; n[r]:=c+1;en:=et-(et_26)⨯26; :end for r; ___writetext(|< <RESULT: Reflex-time: View of the test: [sec] (_ means +1 sec)|); >et:=0;for r:= 1 step 1 until 13 do ___ ____ _____ __begin _____writecr; write(|nddd.ddd|, t[r]/550); writetext(|< |); et:=et+t < > < >[r];for c:=0 step 1 until n[r]-1 do ___ ____ _____ __begin _____if D[r,c] then begin et:=et+550; writechar(14) end; __ ____ _____ ___if D[r,c] ∨ c=n[r]-1 then begin writechar (b[c]); writechar(0) end __ ____ _____ ___end for c; ___end for r; ___writetext(|< <Average reflex-time:|, >write(|ndd.ddd|, et/7150), |< second. < > <If you want to repeat, change KB.|); goto A > ____end REFLEX-TEST;[ s t o p ] ___