ZXTape! 0Created with Ramsoft MakeTZXFLOW 6 668 20:0::"":0,0;"":"" LOGO @ Gm6lmm6mmm6lmm6mmm mammammm mammammm6lmm6mmm6lmm6mm` ma lal` ma lalmm`6mmmmmm`6mmmm` ma lal` ma lalm amlaml` ma lalmmammlm amlamlm `mlalmmamml` alalm `mlal` ma lal` alalm amlaml` ma lalm6l`mmlm amlaml ` lalm6l`mml` alaml ` lalm mamlal` alamlm `mlamlm mamlalm6l`lmlm `mlaml` ma lalm6l`lml~@B<@@BB@BBDbB|@BB@BBBR@@@BB@B~BJN@@BZ@BBDFB@~<$~B<tFL V2]SV2 <k$(10 ,10 ) Ai$(10 ,10 ) Fd$(1,11 ) KO$(5,12 ) Pb$(12 ,7) UW$(1,6) Z45,9 ;6;1;"STOP THE TAPE" d 9900& n5:1:5: x#0,13 ;4;"MENU" >4,3;1;"1.";0;" Logical sequence" <8,3;1;"2.";0;" Correct symbol" ?12 ,3;1;"3.";0;" Name that symbol" D16,3;1;"4.";0;" Follow that flowchart" 421,4;6;" Press key 1 to 4. " M$= M$=13 160 M$=""160  &M$<491M$>524160 (M$)*1000 G$(6)="M * 1.61"  num=10 t=15  fl=0 q=(*10 )+1  x=7  y=162  7000X  fl=0 g$(10 ,17) 4950V+(q*502) _0,100d:255,0:0,65A:-255,0:0,-65A  5,0;1;h$  *14,9 ;7;"PLEASE WAIT"  H16,0;3;7;" I am generating a random order."  5600  5700D  5800  4;" ";1;"Note down";0;" the following instructions, rearrange them logically and then construct a flowchart. "  n=0 m=110  b$(m,6)>le1055 `n+6,5;3;7;n+1;".";5;1;" ";g$(b$(m,6))  n=n+1 m  17,0;7;" Please note where pathways are ambiguous a step has been added.However it still needs keying in" !?21,0;6;" Press any key to continue. " """1058" #=""1059# $ & 4160@ .)q=44,1;g$(2) 0Fq=54,1;g$(2);8,1;g$(4) 2)q=64,1;g$(2) ?21,0;4;"Keys M - another step Z - print" w=1le  ans=((*le)+1) 50,0;" " 2m=117 <)0,(m-1);6;g$(ans,m) Fm K""1355K L=""1356L P&=90ZŦ=122z1500 x 1200  i$(w)=ans k$(q,w)"3"j=1 w=11530 -k$(q,w-1)="3"k$(q,w)"3"j=14 (w*2,j;1;7;g$(ans) w m=1le-2 ^i$(m)i$(m+1)m*2,0;1;1;" " !i$(m)i$(m+1)fl=1 m i$(le)lefl=1 Sfl=00,0;0;7;" Well done - you are correct. " Sfl=10,0;2;7;" I am sorry but you are wrong. " `fl=121,0;7;"Clues";3;7;" to wrong stages are shown." :""1850: ;=""1851; D lt v 110n  t=15  q=((*10 )+1)  x=7  y=178  7000X  fl=0 g$(10 ,17) 4950V+(q*502) _0,100d:255,0:0,65A:-255,0:0,-65A 5,0;1;h$  200  m=1le !0,0;4;G$(m) W21,0;6;"KEY";0;5;" ";1;"1.";0;" " :21,13 ;0;1;"2.";0;" "  :21,20;0;1;"3.";0;" " :21,27;0;1;"4.";0;" " S$= 'S$<491S$>5242070  =""2070 *""2090* 4y=y-16 6Bm=10 21,0;" " 9m=12110> :.k$(q,m-1)="3"k$(q,m)"3"x=107k >(S$*502)+8050r ?m=12114B @8q=10 k$(q,m-1)="3"k$(q,m)="3"8800`" B"q>5q<10 8800`" D!q=8q=9 8850" F&le=mm*2+1,9 ;"" H'm*2,(x/8+1);g$(m) L x=7 Mi$(1, m)=S$ m  4202j m=1le #i$(1,m)k$(q,m)fl=1 `i$(1,m)k$(q,m)m*2,0;1;1;" " m \fl=10,0;2;7;1;" Wrong answers are highlighted. " \fl=00,0;0;7;1;" Well done - you are correct. " ?21,0;6;" Press any key to continue. " L=""2380L M""2381M ` t T 110n symbols num=12 g$(12 ,32 ) x=100d:y=70F *G$(1)=" Processing data - Process" /G$(2)=" Processing data - Input/Output" +G$(3)=" Processing data - Decision" ,G$(4)=" Processing data - Start/End" ,G$(5)=" Processing data - Connector" /G$(6)=" Stored data - Written document" )G$(7)=" Stored data - Punch card" ,G$(8)=" Stored data - Magnetic tape" ,G$(9 )=" Stored data - Magnetic disc" *G$(10 )=" Stored data - Paper tape" .G$(11 )=" Stored data - Visual display" 0G$(12 )=" Stored data - Computers memory" RI=0 )5,9 ;7;"PLEASE WAIT" G8,0;2;7;"I am generating a random order. " 5600 5700D 5800 t=15  _20,0;4;" Key M - next step Z - select answer " q=((*12 )+1) !miss=0 &(8050r+(q*502)) 0n=1num 5U5,0;2;7;"MISSES";7,2;0;6;miss :m=131 D70,(m-1);6;g$((b$(n,6)),m) Nm S""3155S T=""3156T Uh$= X'h$=90ZŦ=122z3200 am=031 b0,m;" " cm ln {miss=miss+1 | 31200 _q=(b$(n,6))20,0;0;7;" You are correct - well done. ",,, $q=(b$(n,6))RI=RI+1 !q=(b$(n,6))3300 H20,0;2;7;"Wrong - the correct answer is:- " 421,0;6;0;1;g$(q) ?19,15;7;0;"SCORE ";RI;" OUT OF ";t >0,0;7;" Press any key to continue. " ""3311 =""3312 t  110n  *0,9 ;4;"INSTRUCTIONS" p5,0;" You will be given a flowchart with INPUTS and OUTPUTS one of which will be missing." P10 ,0;" The object is to work out the missing INPUT/OUTPUT." ?21,0;6;" Press any key to continue. " ""4050 =""4060 t=15  ou=1  q=(*10 )+1 loo=(*4)+1 q=5loo=2  x=7  y=162  7000X  fl=0  g$(10 ,17) "4950V+(q*502) $_0,100d:255,0:0,65A:-255,0:0,-65A &5,0;1;h$ '@15,0;6;"TYPE OF QUESTION:";5;" ";t$ 6 200 @ Bm=1le Dm=14170J F.k$(q,m-1)="3"k$(q,m)"3"x=107k H8q=10 k$(q,m-1)="3"k$(q,m)="3"8800`" J$(((k$(q,m))*502)+8050r) L"q>5q<10 8800`" M!q=8q=9 8850" O x=7 Ty=y-16 ^&le=mm*2+1,9 ;"" hm j+q=711 ,9 ;1;"" kq=68840" mq=10 8900" rq=48700! sq=58750." 6q<8q>9 le*2+1,9 ;"" M$="1"M$="2"  62008 4q=40,0;4;"LOOPS ";loo q=47500L & n=1 0m=1le :M=14450b D/k$(q,(m-1))="3"k$(q,m)"3"n=14 bM*2,n;g$(m) l n=1 m Nq=50,20;4;"OUTPUT ";O$(1,810 ) bq=80,21;4;"OUTPUT ";(((O$(1,8))*161))/100d Sq=9 0,21;4;"OUTPUT ";(O$(1,8))+273 +2,20;7;"Your answer " \M=16 f""4710f p=""4720p zW$(1,M)= %W$(1,M)=13 4770 55,m+24;3;7;w$(1,m) M 621,0;" " d$(1)=c$ Oc$=""21,0;2;7;"My output=Nothing.Right? Key Y/N" dc$""21,0;2;7;"My output=";d$(1,5);".";" Right? Key Y/N" ""4850 =""4851 ^="y"Ŧ="Y"21,0;1;0;3;"Well done - Any key to continue." ""4870 =""4871 $t ~ 110n G$(1)="Start" "G$(2)="Input radius R" #G$(3)="Calculate R*R*" G$(4)="Print area" G$(5)="End"  le=5 <h$=" To calculate the area of a circle"  inp=1  ou=1 t$="Simple process"  G$(1)="Start" G$(2)="Input feet(F)" G$(3)="Feet->inches(G)" G$(4)="Input inches(I)" G$(5)="M=(G+I)/39.3701" G$(6)="Print metres(M)" G$(7)="End"  le=7 8h$=" Convert feet and inches to metres"  ou=1 t$="Simple process"  inp=2  G$(1)="Start" G$(2)="Input Temp.(T)"  G$(3)="Calc. (T*9/5)+32" G$(4)="Print 'F" G$(5)="End" %h$=" Convert Celsius to Fahrenheit"  le=5  inp=1  ou=1 t$="Simple process"   G$(1)="Start" G$(2)="Counter =1 (C)"  G$(3)="Sum = 0 (S)" !G$(4)="Print C" "G$(5)="S = C+S" #G$(6)="Increment C" $G$(7)="Print S" %G$(8)="End" & inp=0 ' ou=1 ( le=8 2>h$=" Count and sum at the same time starting from 1" 7t$="Simple loop" < PG$(1)="Start" QG$(2)="Total (T) = 0" RG$(3)="Count (C) = 1" SG$(4)="Input N" TG$(5)="Print C" UG$(6)="T = N+T" VG$(7)="Average A=T/C" WG$(8)="Print A" XG$(9 )="Increment C" YG$(10 )="End" ZCh$=" Count the number of inputs and calculate their average" _ inp=2 b ou=1 d le=10 it$="Simple loop" n G$(1)="Start" G$(2)="Input mark(M)" G$(3)="Input Max.(X)" G$(4)="P=M/X * 100" G$(5)="Is P <45?" G$(6)="Print FAIL" G$(7)="Print PASS" G$(8)="End"  le=8  ou=1  inp=2 >h$=" Pass or Fail your examination Pass mark - 45%" t$="Decision"  G$(1)="Start" G$(2)="Input number(N)" G$(3)="Print N" G$(4)="Is N>0?" G$(5)="Print N*N" G$(6)="End"  le=6  ou=2  inp=1 [h$=" Input and print any number but square only positive numbers" t$="Decision"  G$(1)="Start" "G$(2)="Input miles(M)" G$(3)="Is M<0" G$(4)="End"  G$(5)="K = M * 1.61" G$(6)="Print K"  le=6  ou=2  inp=2 $h$=" Convert miles to kilometres" t$="Rogue Value"  G$(1)="Start" G$(2)="Input Temp.(T)" G$(3)="Is T< -273?" G$(4)="End" G$(5)="K = T + 273" G$(6)="Print K" " le=6 $ ou=2 ' inp=2 ,@h$=" Convert degrees Absolute (Kelvin) to Celsius" 6t$="Rogue Value" @ JG$(1)="Start" KG$(2)="First card (F)" LG$(3)="Next card (N)" MG$(4)="F = F+N" NG$(5)="Is F<16?" OG$(6)="Is F>21?" PG$(7)="Print BUST" QG$(8)="Print STICK" RG$(9 )="End" T le=9 V ou=1 Y inp=3 ^<h$=" Twist or bust at pontoon (Black Jack)" h t$="Limits" r m=1num #b$(m,5)=((*1000)) b$(m,6)=m m  D fg=0 N 5800 Xfg=0 b 5700D m=1num-1 5b$(m,5)ǰb$(m+1,5)5910  l$=b$(m) b$(m)=b$(m+1) b$(m+1)=l$  fg=1 m f QM=13 VO=((*9 )+1) W"q=10 O=16230V [q=3O=O*10 \q=6O=O*10 ]"q=7q=8O=O-5 ^%q=9 O=(O*502)-380| `O$(M,8)=O jm k7q=8ư(O$(1,8))<06225Q nOq=10 (O$(2,8)+O$(1,8))166225Q oOq=10 (O$(2,8)+O$(1,8))<10 6225Q peq=10 (O$(2,8)+O$(1,8)+O$(3,8))<166225Q qq9 6260t rK O$(1,8)>90ZŰO$(1,8)<06225Q tCq=6ưO$(1,8)>O$(2,8)6225Q ~QUES=(((*inp)+1))  O$(1,7)="INPUT "  O$(2,7)="INPUT "  O$(3,7)="INPUT "  O$(4,7)="OUTPUT "  O$(5,7)="OUTPUT " M=1inp  ?0,(M-1)*9 ;4;"INPUT ";O$(M,8)  @q=70,10 ;4;"OUTPUT ";O$(M,8) M ?21,0;6;"Key in missing OUTPUT then ENTER" <(q*10 )+7190 Z e+(m*2)-2,19;"YES" f*m*2-1,26;1;"" !m*2+1,21;"" m*2,9 ;"NO" "m*2+1,9 ;"" " Xk$(1)="42124" Yk$(2)="4212124" Zk$(3)="42124" [k$(4)="41121124" \ k$(5)="4112211214" ]k$(6)="422132244" ^k$(7)="422324" _k$(8)="423412" `k$(9 )="423412" a k$(10 )="422133224" b  )c$=((O$(1,8))^2*) % *Rc$=((((O$(1,8))*12 )+(O$(2,8)))/39.3701z~) / 44c$=(((O$(1,8))*1.8ffff)+32 ) 9 >c$="1":st=1 ?m=1loo @ st=(c$)+st Ac$=(c$+1) Bm Cc$=(st-1) F H?c$=((O$(1,8)+(O$(2,8)))/2) M R c$="PASS" TD(O$(1,8)/O$(2,8))<.45ffffc$="FAIL" W \c$="" ^FO$(1,8)>0c$=((O$(1,8))^2) a fc$="" hIO$(2,8)>0c$=((O$(2,8)*1.61Nz)) k pc$="" rL O$(2,8)>-274c$=((O$(2,8)+273)) u z c$="STICK" |WO$(3,8)+O$(1,8)+O$(2,8)>21c$="BUST"  L s=1 Vn=1loo-1 [&0,10 ;4;"OUTPUT " `6 0,13 +(n*4);4;n;",";s;","; j s=s+1 os=s+n tn y*0,13 +(n*4);4;n ~ @ start sub Jx,y;"" T r end sub |x,y;""   process sub )m$="3"x=60<:m$="3"y=110n x,y:146,0:0,-12 :-76L,0:0,-4:0,4:-70F,0:0,12  )m$="3"x=70F:m$="3"y=110n ۇx,y:147,0:-5,-12 :-72H,0:0,-4:0,4:-75K,0:5,12  )m$="3"x=60<:m$="3"y=110n M$3x,y:142,0:4,-6:-4,-6:-72H,0:0,-4:0,4:-70F,0:-4,6:4,6 M$=3x,y:502,502:502,-502:30,0:-30,0:-502,-502:0,-30:0,30:-502,502  :)m$="3"x=60<:m$="3"y=110n ?x,y:140,0:0,-12 ,-2:-70F,0:0,-4:0,4:-70F,0:0,12 ,-2 D l*m$="3"x=120x:m$="3"y=110n qx,y,15 v )m$="3"x=100d:m$="3"y=40( xx,y:30,10 ,-30:20,20,30:0,60<:-502,0:0,-89Y  )m$="3"x=90Z:m$="3"y=110n `x,y:80P,0:0,-24:-86V,0:0,18:6,6  !*m$="3"x=120x:m$="3"y=100d !.x,y,15:x,y-15:25,0 !  !4)m$="3"x=110n:m$="3"y=60< !9x,y:20,0,2:0,502:-20,0,2:0,-502:0,502:20,0,2 !> !f(m$="3"x=80P:m$="3"y=60< !kx,y:10 ,0:30,10 ,-30:20,20,30:20,0:0,40(:x,y:0,40(:30,10 ,-30:20,20,30:30,0 !p !*m$="3"x=150:m$="3"y=110n !x,y:-60<,0:-25,-25,1:25,-25,1:60<,0:0,502,1 ! !)m$="3"x=160:m$="3"y=60< !`x,y:-80P,0:0,45-,1:80P,0:0,-45-,-1 ! !q=4 branches " 1 "K78N,524:140,0:0,568:-67C,0 " 0 " ". 1 "BK78N,20:156,0:0,88X:-83S,0 "G 0 "L "`m=18820t" "jBk$(q,m-1)="3"k$(q,m)"3"m*2+1,22;"" "tk$(q,m)="3"m*2,19;1;"-YES";m*2+1,22;"";m*2+2,9 ;"NO";m*2+3,9 ;1;"" "xq=68830~" "yBk$(q,m)="3"q<8m*2+3,9 ;1;"" "~ ";181,70F:0,-18:-103g,0 " " 1 "im=677M,65A:0,-20:-77M,0:0,103g:76L,0 " 0 " " 1 "W10 ,19;"YES":208,92\:0,32 :-579,0 ":177,491:0,-13 :-99c,0 # 0 # #("A",31,39',68D,71G,64@,64@,39',31,"B",255,239,2,226,34",34",226,255,"C",255,156,34",62>,34",34",34",255,"D",255,251,136,248,160,144,136,255,"E",248,228,130,130,130,130,132,248,"F",31,32 ,64@,64@,64@,64@,32 ,31,"G",255,15,8,14,8,8,15,255,"H",255,190,34",34",34",34",162,255,"I",255,224,144,136,136,144,224,255,"J",248,4,2,2,2,2,4,248 #2]"K",255,128,128,128,128,128,128,255,"L",255,1,1,1,1,1,1,255,"M",63?,64@,128,128,128,128,64@,63?,"N",252,2,1,1,1,1,2,252,"O",1,6,24,96`,96`,24,6,1,"P",128,96`,24,6,6,24,96`,128,"Q",1,2,4,8,16,32 ,64@,255,"R",255,2,4,8,16,32 ,64@,128 #<"S",4,4,4,4,4,0,0,0,"T",0,0,0,255,0,0,0,0,"U",0,255,0,0,0,0,0,0 &X=121 &A$ &A=07 & B:A$+A,B &A &X & &&b'u qybnB 0 njS L162 2 isM4oǯ Start Input radius R Calculate R*R* Print area End H2 To calculate the area of a circleTSimple processi i  A Y   AA CES  M 5:5:1: =5,8;1;6;0;"STOP THE TAPE" 200   10,6;4;"LEVEL OF DIFFICULTY" 73,8;1;"1.";0;" Stage 1." #76,8;1;"2.";0;" Stage 2." (79 ,8;1;"3.";0;" Stage 3." -812 ,8;1;"4.";0;" Stage 4." /815,8;1;"5.";0;" Stage 5." 0818,8;1;"6.";0;" Stage 6." 2*21,0;6;"Key 1 to 6." <""60< ==""61= AL$= F%L$<491ůL$>54660< PS=15 dA$="" eB$="" fT$="" g T=0 h B=0 i sc=0 nPOSN=0 xO$(15,5) O=0 Q$(15,5) Q=0 wr=0 JI=0 NZ=0 L$="1"L=2 L$="2"L=6 L$="3"L=10 L$="4"L=14 L$="5"L=19 L$="6"L=22  -4;"label operation operand PRINT" J=((*8)+4)  M=1J LX=((*L)*100d) N%NZ=1X>18001100L VM=1X=0 [M=JX=100d `5000+X jM tNZ=0m,7;"HALT" y&NZ=1m,0;"END HALT" M+1,7;"%" _17,0;6;"Type in the output, press ENTER after each number (Z to finish)." Q=Q+1 Q=152550 Q$(Q) sc=1+sc 1Q$(Q,1)="z"Q$(Q,1)="Z"2550 2510 n=1O Q$(O)O$(O)wr=1 n=1721 /n,0;" " n ֙wr=0sc-1=O17,0;" ";0;7;"Well done - you are correct";5;1;" " wr=1sc-1O18,0;2;7;" I am sorry but you are wrong. Press Y for the correct answer. " ""3050 =""3060 ="y"Ŧ="Y"8000@ S 13  M,7;"IN" %JI=0A=(*10 )-5 L$<3A=A+5 JI=0A$=A POSN=POSN+1 15,0;"DATA" #15,POSN*3+2;A$  M,7;"OUT" JI=15190F  O=O+1  O$(O)=A$ F PJI=0T$=A$ ZM,7;"STORE TAMS" d T=1  JI=0B$=A$ M,7;"STORE BEN"  B=1  T=0M=M-1 6 T=0 @M,7;"LOAD TAMS" JJI=0A$=T$ r |B=0M=M-1  B=0 M,7;"LOAD BEN" JI=0A$=B$  T=0M=M-1  T=0 JI=0A$=(A$+T$) M,7;"ADD TAMS" : DB=0M=M-1 N B=0 XJI=0A$=(A$+B$) bM,7;"ADD BEN"  T=0M=M-1  T=0 JI=0A$=(A$-T$) M,7;"SUBTRACT TAMS"   B=0M=M-1  B=0  JI=0A$=(A$-B$) *M,7;"SUBTRACT BEN" f pT=0M=M-1 z T=0 JI=0A$=(A$*T$) M,7;"MULTIPLY TAMS"  B=0M=M-1  B=0 JI=0A$=(A$*B$) M,7;"MULTIPLY BEN" . 8T=0M=M-1 B T=0 GT$="0"9000(# LJI=0A$=((A$/T$)) Q'JI=0ưA$<0P=(((A$))) R&JI=0ưA$<0P=P*-1 SJI=0ưA$<0A$=P VM,7;"DIVIDE TAMS"  B=0M=M-1  B=0 B$="0"9000(# JI=0A$=((A$/B$)) 'JI=0ưA$<0P=(((A$))) &JI=0ưA$<0P=P*-1 JI=0ưA$<0A$=P M,7;"DIVIDE BEN"  I=((*10 )-5) I=06400  (I>0M,7;"LOAD +";I 'I<0M,7;"LOAD ";I JI=0A$=I Z dI=((*10 )-5) iI=06500d n(I>0M,7;"ADD +";I x'I<0M,7;"ADD ";I JI=0A$=(A$+I)  I=((*10 )-5) I=06600 (I>0M,7;"SUBTRACT +";I 'I<0M,7;"SUBTRACT ";I JI=0A$=(A$-I) " ,I=((*10 )-5) 1I=06700, 6(I>0M,7;"MULTIPLY +";I @'I<0M,7;"MULTIPLY ";I JJI=0A$=(A$*I)  I=((*10 )-5) I=06800 (I>0M,7;"DIVIDE +";I 'I<0M,7;"DIVIDE ";I "JI=0A$=((A$/I)) 'JI=0ưA$<0P=(((A$))) &JI=0ưA$<0P=P*-1 JI=0ưA$<0A$=P  M,7;"JIZERO END" A$="0"JI=1  NZ=1 N XM,7;"JINEG END" bA$<0JI=1 l NZ=1  M,7;"JUMP END"  JI=1  NZ=1  @N=1721 B/N,0;" " DN E<O718,0;"First 7 outputs only given." FO>7O=7 H n=1O I617,0;2;7;"Correct output" J.19,(N-1)*4;7;O$(N) Tn Y?21,0;6;" Press any key to continue. " ^""8030^ _=""8031_ h #( #265,7;7;4;"Execution Error" #<-9 ,3;"*** DIVISION BY ZERO ***" #F?21,0;6;"Press any key to return to menu." #P 0 #Z 10 Ptbosoqlj xdaHL6iTP0 Pz B-3A0/ REVEX i9g`i 1000 )C$=" ":D$=" ":236099\,255 E$=" ":23658j\,8  F$=" "  G$=" "  9000(# N$=A$  9000(# .;4;"MOCK G.C.E. 'O' COMPUTER STUDIES"  x"Attempt all questions but do not guess. If you know the answer then type P (No backtracking is allowed)." ( 2d"Neatness will help in obtaining accurate results. You may not use a calculator during the exam" < FG" You should complete the test within one hour. " P _D"There are 50 questions (Approx. 1.2 minutes per question). " ` b$"Press any key to start the exam." d""100d n=""110n  K=1 X=1 A(502)  7;"QUESTION:";X: K=5135540 (X*10 +300) T=65A 9000(# "ANSWER?"; B$:B$=""185 ;" ";B$ ,,"Correct answer = ";C$ 100d B$="P"250z B$=""1859 B$=C$A(K)=1 B$=D$A(K)=1 B$=E$A(K)=1  S=S-1 " T=T+1 ' K=K+1 (S=0X=X+1 )S=0142 , 175/ 6#"Express 139(BASE 10) in binary." 7S=1:9050Z# 8C$="10001011" 9 @7"How many bytes are there in 1K of computer memory?" AS=1:9050Z# B C$="1024" C JN"An OR gate can be represented by: A) Two switches in series. B) One switch that is either on or off. C) Two switches in parallel. D) A switch in parallel and one in series." KS=1:9050Z# LC$="C" M T "What is 32(DECIMAL) in hex.?" US=1:9050Z# V C$="20" W ^W"What is the output from a two input NAND gate when both inputsare 1 (Key 1 or 0)?" _S=1:9050Z# `C$="0" a hO"How many bits are there in one byte (for the Z80 or 6502 processors?" iS=1:9050Z# jC$="8" k r"A thruth table is: A) A table showing inputs and internal states,for all possiblecombinations. B) A table showing internal states and outputs, for all possible combinations. C) A table showing outputs for all possible combinations of inputs. D) A table which gives true values if the inputs are true." sS=1:9050Z# tC$="C" u |z"RAM stands for: A) Readable Accessible Memory. B) Random Access Machine. C) Randomly Alterable Memory. D) Random Access Memory." }S=1:9050Z# ~C$="D"  P"What do we call the unit of timewhich is one second divided by one million?" S=1:9050Z# C$="MICROSECOND"  w"What is the commonly accepted coding standard for the computeralphabet? (Key in abbreviation without full stops)"  S=1  C$="ASCII"  n"Full floating point numbers are stored in two parts. The exponent is one part, what is the other." S=1:9050Z# C$="MANTISSA"  3"Is machine code a high or low level language?" S=1:9050Z#  C$="LOW"  -"Is BASIC a high or low level language?" S=1:9050Z#  C$="HIGH"  J"Machine code is a universal computer language - true or false?" S=1:9050Z#  C$="FALSE"  @"Which type of program converts mnemonics into machine code?" S=1:9050Z# C$="ASSEMBLER"  @"Which type of program converts machine code into mnemonics?" S=1:9050Z# C$="DISASSEMBLER"  {"Which register in a C.P.U can behave as a normal register but in addition, perform arithmetic and logical operations?" S=1:9050Z# C$="ACCUMULATOR"  _"FF represents the maximum HEX number that can be held in an 8 bit byte - true or false?" S=1:9050Z#  C$="TRUE"  B"To reserve RAM for an array which BASIC statement is used?" S=1:9050Z#  C$="DIM"  j"In general computers have three buses - the DATA BUS and ADDRESSBUS are two of these, name the third." S=1:9050Z# C$="CONTROL"  J"What is the mnemonic for the machine code equivalent of GOSUB?" S=1:9050Z#  C$="CALL"  S"In Boolean algebra, what does the + represent in the expression A+B?"  S=1:9050Z#  C$="OR"   ("What does the E in EPROM stand for?" S=1:9050Z# C$="ERASABLE"  T"What is the name of the standardunit for data transmission in bits per second?" S=1:9050Z#  C$="BAUD"  &"In the following extract from a computer program, what is the final value for A? 10 FOR J=1 TO 10 20 LET A=0 30 LET A=A+1 40 NEXT J 50 LET A=((A+3)/2)*4" 'S=1:9050Z# (C$="8" ) 0S"How many bits wide is the address bus of an eight bit microprocessor?" 1S=1:9050Z# 2 C$="16" 3 :L"In BASIC what command is generally used in conjunction with IF?" ;S=1:9050Z# < C$="THEN" = DS"In Boolean algebra, what does the . represent in the expression A.B?" ES=1:9050Z# F C$="AND" G N"In the following extract from a computer program, what is D$? 10 LET A$='PIE' 20 LET B$='APPLE' 30 LET C$=' ' 40 LET D$=B$+C$+A$" OS=1:9050Z# PC$="APPLE PIE" Q X<"Which peripheral device does LPRINT normally address?" YS=1:9050Z# ZC$="PRINTER" [ b("In Boolean algebra evaluate A+A." cS=1:9050Z# dC$="A" e l_"What is the output from an inverter, when it's input is setat 0 (Single digit answer)?" mS=1:9050Z# nC$="1" o vN"Normally, what is the maximum addressable memory for an 8 bit processor?" wS=1:9050Z# x C$="65536" y -"In the following extract from a computer program, what is N? 5 LET N=0 10 FOR J=1 TO 10 20 GOSUB 40 30 NEXT J 35 STOP 40 LET N=N+J 50 RETURN" S=1:9050Z#  C$="55"  N"Which gate produces an output only when both inputs are different?" S=1:9050Z#  C$="XOR"  ."What does the R in ROM stand for?" S=1:9050Z#  C$="READ"  ."What does the Boolean expressionA.1 equal?" S=1:9050Z# C$="A"  "In the following extract from a computer program, what is N? 10 LET N=0 20 FOR J=40 TO 1 STEP-1 30 IF J=20 THEN LET N=INT(J/3) 40 NEXT J" S=1:9050Z# C$="6"  h"Which BASIC command checks the contents of a saved program against the original program in RAM?" S=1:9050Z#  C$="VERIFY"  i"Complete the following Boolean expression: A+1=?" S=1:9050Z# C$="1"  "In computing there are generallytwo types of files: A) Random Access Files. B) ......... Files. Fill in the missing word." S=1:9050Z# C$="SEQUENTIAL"  }"Data can be transmitted in serial and ........ form. Fill in the missing word." S=1:9050Z# C$="PARALLEL"  I"In Boolean algebra complete the following: A.A=?" S=1:9050Z# C$="A"  "Which of the following storage media can provide the highest baud rate for data transfer? (Key A to D) A) Disc B) Paper tape C) Punched card D) Magnetic tape" S=1:9050Z# C$="A"  D"Which Basic command resets the pointer reading data statements?" S=1:9050Z# C$="RESTORE"  "In flowcharts a diamond-shaped box represents: A) A process B) An input C) Printer output D) A decision (Key in A to D)" S=1:9050Z# C$="D"  <"In BASIC what command would you use to call a subroutine" S=1:9050Z#  C$="GOSUB"   3"Batch processing means: A) Real-time processing B) Saving data until there is sufficient for a processing run C) Dividing data into groups with common features D) Linking computers together (Key in A to D)"  S=1:9050Z# C$="B"  9"In BASIC what is a variable witha dollar sign called?" S=1:9050Z#  C$="STRING"   9"In BASIC which command works in conjunction with FOR?" !S=1:9050Z# " C$="NEXT" # &5:5:0:1:  B=1 zG$=" O **************** COMPUTER ST. **************** " (8,10 ;1;" REVISION"  B=B+1 B=40(10808 $)8,10 ;1;" REVISION " . 1030 8D18,0;" SCISOFT 1984":200:0,0;"" BS=111 LM=17 V";M;1;0;"SCISOFT"; `M jS t 100H ~S=118 S  ^6,0;1;"PLEASE KEY IN YOUR NAME THEN PRESS ENTER. " A$ A$=""1190 A$>181190: 4:2,0;6;"HELLO THERE ";A$;"." C4,0;"SO YOU THINK THIS WILL PASS YOUREXAMS FOR YOU?" 17,0;"WELL SORRY, BUT IT WILL NOT." B,,"WHAT IT WILL DO IS SHOW YOU WHATYOU CAN DO TO HELP YOURSELF." '13 ,10 ;1;"HOWEVER" d16,0;"THE MOST IMPORTANT LESSON IS THAT THERE IS NO SUBSTITUTE FOR HARD WORK." 921,0;4;"PRESS ANY KEY TO CONTINUE."  ""1290  =""1300  #&5:5:0:1: (,6;"PLEASE KEY ONE OF THE FOLLOWING" 2A4,0;1;"1.";0;" >6 MONTHS TO EXAM" 61380d Z=11600@ Z=22060  Z=32420t Z=42600( Z=53140D Z=62   ?4;"ADDERS";5;" are used to add BINARY CODES." M"The CARRY BIT of one adder provides one of the inputs for the next." @6,4;1;"1 1 1 ";0;" +" 27,4;7;" 1 1 0" L20,502:40(,0:-40(,502:0,-502 L92\,502:40(,0:-40(,502:0,-502 M164,502:40(,0:-40(,502:0,-502 n1:36$,119w:0,-35#:-3,3:0:3,-3:3,3 o1:108l,119w:0,-35#:-3,3:0:3,-3:3,3 o1:180,119w:0,-35#:-3,3:0:3,-3:3,3 n1:44,,111o:0,-37%:-3,3:0:3,-3:3,3 o1:116t,111o:0,-37%:-3,3:0:3,-3:3,3 o1:188,111o:0,-37%:-3,3:0:3,-3:3,3 ]224,58::-24,0:3,3:-3,-3:3,-3 ]162,62>:-34",0:3,3:-3,-3:3,-3 \90Z,62>:-34",0:3,3:-3,-3:3,-3 m20,58::-8,0:0,-24:-3,3:3,-3:3,3 [44,,491:0,-15:-3,3:3,-3:3,3 \116t,491:0,-15:-3,3:3,-3:3,3 \188,491:0,-15:-3,3:3,-3:3,3 14,28;"0" 13 ,18;"0" 13 ,9 ;"0" 618,1;1;"1 1 0 1" ,20,1;6;"ANSWER = 1101" """1570" ,=""1580, 6 @ J 4;G$ T(17,5;1;0;A$ ^A=16@ hS=110 r-15,10 ;1;2;"FAIL" |S S=110 -15,10 ;1;4;"PASS" S A C21,0;7;1;"ITS MAKE YOUR MIND UP TIME." ""1720 =""1730  R0,0;"I WOULD SUGGEST THAT IT IS TOO EARLY TO BEGIN YOUR REVISION." _,,,,"ARE YOU SURE THAT YOU ARE DEVOTING SUFFICIENT TIME TRYING TO UNDERSTAND THE WORK?" 7,,,,"IS YOUR TEACHER HAPPY WITH YOUR MARKS IN TESTS?" A,,,,"YOU COULD BEGIN WORK ON MAKING ABOOKLET OF CONCISE NOTES." 721,0;1;"KEY X TO SEE AN EXAMPLE." =""1800 ="x"Ŧ="X"1450 & 090,0;7;"MAKE YOUR REVISION BOOKLET." :64,4;1;"1.";0;" CONCISE." DT7,4;1;"2.";0;" INTERESTING. (USE COLOUR TO UNDERLINE)" NQ11 ,0;"REMEMBER A CLEAR DIAGRAM IS OFTEN WORTH PAGES OF NOTES." XD16,0;"TRY TO SPEND SOME TIME DOING EXTRA READING." b l*1;"YOU WILL NOT FIND TIME LATER." v03:40(,100d:180,0 /3:40(,99c:180,0 /3:40(,98b:180,0  1 ""1950 =""1960  86,4;0;7;"BUT! ABOVE ALL."  80 :10 ,0;6;"UNDERSTAND THE WORK NOW!!!!" 516,0;"IT WILL BE SO MUCH HARDER LATER" "IN THE COURSE TO CATCH UP." ""2030 =""2040  1310   m6;"THIS IS THE BEST POSSIBLE TIME TO BEGIN A SERIOUS PROGRAMME OF REVISION. "   *[,,,,1;"1.";0;" FIND A PLACE WHERE YOU CAN WORK REGULARLY UNDISTURBED." 4 >V1;"2.";0;" GET FROM YOUR TEACHER A BREAKDOWN OF THE SYLLABUS." H RY1;"3.";0;" WRITE DOWN A TIMETABLE OF TOPICS TO REVISE WEEK BY WEEK" \ f1;"4.";0;" WHEN YOU HAVE LEARNED EACH TOPIC THOROUGHLY AND ARE ABLE TO ANSWER QUESTIONS SET THEN YOU SHOULD MAKE BRIEF NOTES IN YOUR REVISION NOTEBOOK." p z""2170z =""2180  1450  S"USE THE REVISION NOTES INCLUDED AS EXAMPLES, NOT SUBSTITUTES FORYOUR OWN NOTES."  n"BY CONDENSING FROM TEXT BOOKS AND FROM YOUR CLASS NOTES YOU WILL EXTRACT AND REMEMBER THE KEY FACTS."  "MAKE YOUR NOTES INTERESTING-USE PLENTY OF COLOUR TO UNDERLINE THINGS(E.G.FORMULAE)THAT YOU PARTICULARLY WANT TO LEARN." D"REMEMBER A CLEARLY LABELLED DIAGRAM IS WORTH PAGES OF NOTES."  8"ANSWER AS MANY PAST PAPERS AS YOU CAN GET HOLD OF."  ""2300 =""2310  3400H  $ 4;G$ .(17,5;1;0;A$ 8-15,10 ;1;4;"PASS" BA21,0;1;7;"THIS SHOULD THEN BE YOURS" L""2380L V=""2390V ` j 1310 t ~*6;"SO YOU HAVE WOKEN UP AT LAST."  &6;"EH? ";1;0;A$ {6,0;1;"YOU";0;" REALLY HAVE GOT YOUR WORK CUT OUT IF YOU ARE TO STAND MUCHCHANCE OF A PASS."  O"THEY DO NOT HAND OUT PASSES JUST BECAUSE YOU HAVE ATTENDED THE COURSE."  *"YOUR FUTURE LIES WITH ";1;"YOU."  M1;"STOP KIDDING";0;" YOURSELF- YOU ARE ALMOST AN ADULT NOW."  \"STOP WATCHING THE TV. USE THE ";1;"TIME WISELY";0;" EG.ON REVISION NOTES" ""2550 =""2560   2080   ( 2 4;G$ <-15,10 ;1;2;"FAIL" F(17,6;1;0;A$ PH21,0;1;7;"THIS IS WHAT YOU ARE HEADING FOR" Z""2650Z d=""2660d n x06;"PANICKING EH? ";1;0;A$  ]"IF THIS IS THE FIRST TIME YOU HAVE THOUGHT ABOUT REVISING THENWE SUGGEST YOU TRY PRAYER"  "HOWEVER IF YOU HAVE: "  91;"1.";0;" MADE OUT A REVISION TIMETABLE"  91;"2.";0;" ANSWERED LOTS OF PAST PAPERS."  41;"3.";0;" PREPARED + LEARNED SOME " 3;"REVISION NOTES."  51;"4.";0;" REDUCED YOUR SOCIAL LIFE." ""2820 =""2830 A=1100d ",17,8;0;7;"THEN" ,,17,8;2;0;"THEN" 6A @-17,14;1;"AND ONLY THEN" J',,"MY DEAR ";A$;" DO ";1;"YOU" T/,,"STAND MUCH CHANCE OF ";1;"PASSING." ^""2910^ h=""2920h r |M6;"YOUR REVISION TIMETABLE WILL HAVE TO BE DRASTICALLY BRIEF. "  M4;"E.G. WEEK 1 THE STRUCTURE OF THE COMPUTER "  17;5;"WEEK 2 THE STORAGE OF DATA "  :3;0;5;"WEEK 3 COMPUTER LOGIC "  #"PICK A SINGLE TOPIC EACH NIGHT."  -"LEARN THE KEY FACTS DIAGRAMS ANDFORMULAE."  3"THEN DO ";1;"SOME";0;" QUESTIONS."  n"REMEMBER THAT EXAMINATIONS ARE COMPETITIONS AND ONLY THOSE WHO KNOW THE WORK WILL WIN THE PRIZEOF A PASS." ""3090 =""3100 & 0 3520 : 1310 D N=0,6;6;"GOOD LUCK ";1;0;A$ X?4,0;"REMEMBER TO ";1;"READ THE QUESTION." b l@,,"CHECK THAT YOU HAVE ANSWERED THERIGHT NUMBER OF QUESTIONS." v ;,,"PACE YOURSELF AND LEAVE TIME AT THE END FOR CHECKING."   n,,"BUT ABOVE ALL DO SUFFICIENT REVISION SO THAT YOU GO INTO THEEXAM ROOM FEELING ";1;"CONFIDENT." ""3240 =""3250  B"MOST EXAM BOARDS ADVISE YOU ON HOW LONG TO SPEND PER SECTION."  ,"TRY TO STICK TO THIS + OR - 10 MINUTES."  n"USE ";1;"THE MARKS PER";0;" QUESTION WHICHARE OFTEN PRINTED AT THE SIDES AS AN EXTRA GUIDE."  }"IF YOU WISH TO CHANGE AN ANSWER THEN DO SO CLEARLY IF THE MARKERCANNOT DECIPHER WHAT YOU HAVE WRITTEN THEN ZERO MARKS."  "LEAVE SOME TIME AT THE END FOR CHECKING 1) THAT YOU HAVE ANSWERED THE CORRECT SECTIONS 2) THE RIGHT NUMBER OF QUESTIONSC)CHECK FOR OBVIOUS ERRORS." ""3360 *=""3370* 4 > 1310 H R11;0,6;"REVISION TIMETABLE." \ f7,,,,"BREAK THE SYLLABUS DOWN INTO SENSIBLE PARTS." p z.,,7;"E.G. WEEK 1 DATA PROCESSING "  0,,4 ;" WEEK 2 COMPUTER LOGIC "  7,,0;2;" WEEK 3 DATA INPUT/OUTPUT " ""3500 =""3510  *0,6;1;"PAST PAPERS."   >,,"CHECK THAT IT IS RECENT. (MANY SYLLABUSES HAVE CHANGED)"  C,,"DO NOT FOOL YOURSELF BY ONLY ANSWERING THE EASY QUESTIONS."  1;"WORK ON YOUR OWN."  $1,,"YOUR FRIENDS WILL NOT BE THERE ON THE DAY." .""3630. 8=""36408 B L-0,6;1;"REVISION NOTES." V `?,,,,"AS THE DAY GETS CLOSER THESE WILL BECOME INVALUABLE." j t.,,"USE THE ONES WE PROVIDE ONLY AS A GUIDE." ~ O,,4;"MAKE YOURS THOROUGH,COLOURFUL AND ABOVE ALL INTERESTING. "  /,,1;"BUT DO NOT FOOL YOURSELF. "  O,,6;"ONLY IF YOU LEARN THEM PROPERLY ARE THEY ANY USE TO YOU. " ""3770 =""3780  *0,6;1;"SOCIAL LIFE."  Q,,,,6;"THIS IS WHERE IT SHOWS IF YOU REALLY WANT TO PASS. "  E,,"AS THE EXAMS APPROACH THEN 2 EVENINGS MAXIMUM PER WEEK OUT."   #,,"AND IN THE LAST FEW WEEKS...."  (8,,2;0;"EXPECT NO SOCIAL LIFE AT ALL. " 2""38902 <=""3900< F P   T=0  V=0 I=1502  V=V+1 DA(I)=1T=T+1 I 'T$="MOCK O LEVEL COMPUTER STUDIES " J=132 70,32 -J;2;6;1;T$(J)  .1}L,J J (5,10 ;1;7;N$  ,Z=((100d*(T/V*100d))/100d) pcZ>75KZ100d10 ,5;1;2;7;"GRADE A PASS ";Z;" PERCENT" bZ>60<Z<76L10 ,5;2;7;1;"GRADE B PASS ";Z;" PERCENT" 8bZ>45-Z<61=10 ,5;2;7;1;"GRADE C PASS ";Z;" PERCENT" uZ<46.10 ,5;2;7;1;"YOU FAILED ";Z;" PERCENT." Z<46.2,-20 >20,0;6;"PRESS R FOR REVISION PROGRAMME." ="R"Ŧ="r"6750^  9070n# , 6600 ^ J=1502 %A(J)=06900+10 *J A(J)=0 J ""6832 =""6833  1310  X4;" THE FOLLOWING ARE SUGGESTED TOPICS FOR REVISION ";5,, "BINARY CONVERSIONS"  "RAM CAPACITY AND BYTES"   "OR GATES-SWITCHING ANALOGY"  "HEXADECIMAL CONVERSIONS" ! &"NAND GATES-TRUTH TABLE" + 0""MICROPROCESSORS-BITS IN A BYTE" 5 :"TRUTH TABLES-MEANING OF" ? D"RAM-MEANING OF" I N"MICROSECOND-UNITS OF TIME" S X"ASCII CODE-STANDARDS" ] b""STORAGE-FLOATING POINT NUMBERS" g l "LANGUAGE LEVELS-MACHINE CODE" q v"LANGUAGE LEVELS-BASIC" { "MACHINE CODE-NATURE OF"  "FUNCTIONS OF AN ASSEMBLER"  "FUNCTIONS OF A DISASSEMBLER"  "FUNCTIONS OF ACCUMULATORS"  "HEX AND 8 BIT BYTES"  "USE OF DIM STATEMENT"  "CONTROL BUS-FUNCTIONS OF"  $"MACHINE CODE-CALLING SUBROUTINES"  !"BOOLEAN ALGEBRA-SYMBOL FOR OR"  "MEANING OF EPROM"   "BAUD RATES-DATA TRANSMISSION"  5"PROGRAMMING-MATHEMATICAL OPERATOR PRIORITY"  "HARDWARE-ADDRESS BUS"   "PROGRAMMING-USE OF IF...THEN"   ""BOOLEAN ALGEBRA-SYMBOL FOR AND"  #"PROGRAMMING-ADDITION OF STRINGS"   "PERIPHERALS-PRINTER" % */"BOOLEAN ALGEBRA-SIMPLE EXPRESSIONS" / 4"HARDWARE-INVERTING GATES" 9 >*"HARDWARE-MAXIMUM ADDRESSABLE MEMORY" C H/"PROGRAMMING-J LOOPS AND CALLING SUBROUTINES" M R"TRUTH TABLES-XOR GATES" W \"HARDWARE-MEANING OF ROM" a f6"BOOLEAN ALGEBRA EVALUATING SIMPLE EXPRESSIONS" k p1"PROGRAMMING-NEGATIVE STEP J LOOPS AND INT" u z"USE OF VERIFY"  6"BOOLEAN ALGEBRA EVALUATION OF SIMPLE EXPRESSIONS"  ""DATA PROCESSING-TYPES OF FILES"  ("DATA PROCESSING-TRANSMISSION OF DATA"  6"BOOLEAN ALGEBRA-EVALUATION OF SIMPLE EXPRESSIONS"  ;"DATA PROCESSING-STORAGE MEDIA AND DATA TRANSFER RATES"  "PROGRAMMING-USE OF RESTORE"  "FLOWCHARTING--DECISIONS"  "PROGRAMMING-USE OF GOSUB"  ,"DATA PROCESSING--BATCHING VERSUSREALTIME"   "PROGRAMMING-STRING VARIABLES"  )"PROGRAMMING-USE OF FOR...NEXT LOOPS"  #- 1 #2J=120 #<.02{# =,*60< #FJ #P #ZO:4;"Key in answer, ENTER to continue Please only use UPPER case. " #d #n254,*254 #s.01z# =,*60< #x b ~LzGs O **************** COMPUTER ST. **************** As