var g_txt=[
{t:"Standard Grade Computing Studies ",p:1,x:156,y:119,w:697,h:55},
{t:"  ",p:1,x:496,y:240,w:13,h:32},
{t:"Pupil Notes Book 2 ",p:1,x:322,y:273,w:359,h:55},
{t:"Visual Basic ",p:1,x:382,y:975,w:245,h:55},
{t:"Do ",p:1,x:124,y:1228,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:2,x:320,y:60,w:357,h:27},
{t:"Page 2 ",p:2,x:465,y:1315,w:66,h:27},
{t:"Counters ",p:2,x:120,y:152,w:123,h:37},
{t:"ck note on counting things up in Visual Basic. ",p:2,x:246,y:189,w:486,h:32},
{t:" have been ",p:2,x:743,y:222,w:122,h:32},
{t:"cmdAdd button ",p:2,x:701,y:319,w:174,h:32},
{t:"ption Explicit   ",p:2,x:138,y:417,w:168,h:32},
{t:"‘ General Area ",p:2,x:367,y:415,w:140,h:34},
{t:"able ‘counter’ is set up in the general area, because if it was ",p:2,x:210,y:709,w:657,h:32},
{t:"ter = counter + 1” ",p:2,x:343,y:807,w:196,h:32},
{t:"ld value for counter + 1” ",p:2,x:548,y:840,w:266,h:32},
{t:"ther counters will look like this: ",p:2,x:138,y:905,w:373,h:32},
{t:"ber = Number + VAT ",p:2,x:168,y:1002,w:230,h:32},
{t:"n all counters there is a pattern. xxx = xxx + yyy ",p:2,x:132,y:1067,w:557,h:32},
{t:"yyy item is ",p:2,x:703,y:1100,w:125,h:32},
{t:"Here’s a qui",p:2,x:119,y:189,w:126,h:32},
{t:"You might want to keep track of how many questions that",p:2,x:119,y:222,w:623,h:32},
{t:"answered correctly in a quiz, or keep a total of numbers which have ",p:2,x:120,y:254,w:739,h:32},
{t:"been entered. For both of these you need a counter. ",p:2,x:120,y:287,w:576,h:32},
{t:"The following code adds 1 to a counter each time the ",p:2,x:120,y:319,w:581,h:32},
{t:"is clicked: ",p:2,x:120,y:352,w:114,h:32},
{t:"O",p:2,x:120,y:417,w:18,h:32},
{t:"Dim counter As In",p:2,x:120,y:449,w:199,h:32},
{t:"er 'Any name wi",p:2,x:355,y:448,w:153,h:34},
{t:"teg",p:2,x:319,y:449,w:36,h:32},
{t:"ll do, it doesn’t need to be counter ",p:2,x:509,y:452,w:326,h:29},
{t:"rivate Sub cmdAdd_Click() ",p:2,x:132,y:514,w:310,h:32},
{t:"dds 1 to the value of the variable ‘counter’ ",p:2,x:445,y:549,w:399,h:29},
{t:"nter ",p:2,x:372,y:579,w:54,h:32},
{t:"otes: ",p:2,x:138,y:677,w:67,h:32},
{t:"P",p:2,x:120,y:514,w:12,h:32},
{t:"counter = counter + 1  ",p:2,x:120,y:547,w:246,h:32},
{t:"‘ A",p:2,x:420,y:545,w:25,h:34},
{t:"lblDisplay.Caption = cou",p:2,x:120,y:579,w:252,h:32},
{t:"‘ Displays value of counter on a label ",p:2,x:480,y:578,w:343,h:34},
{t:"End Sub ",p:2,x:120,y:612,w:102,h:32},
{t:"N",p:2,x:120,y:677,w:18,h:32},
{t:"The vari",p:2,x:120,y:709,w:90,h:32},
{t:"in the cmdAdd procedure, it would be reset to zero every time the ",p:2,x:120,y:742,w:732,h:32},
{t:"button was clicked. ",p:2,x:120,y:775,w:214,h:32},
{t:"Read the line - “coun",p:2,x:120,y:807,w:223,h:32},
{t:"As – “The new value for counter = the o",p:2,x:120,y:840,w:428,h:32},
{t:"O",p:2,x:120,y:905,w:18,h:32},
{t:"Total = Total + money ",p:2,x:120,y:937,w:240,h:32},
{t:"Or ",p:2,x:120,y:970,w:36,h:32},
{t:"Num",p:2,x:120,y:1002,w:48,h:32},
{t:"I",p:2,x:120,y:1067,w:12,h:32},
{t:"The two items in place of xxx must be the same. The",p:2,x:120,y:1100,w:576,h:32},
{t:"what you are adding on each time. It can be a number, like 1, or a ",p:2,x:119,y:1132,w:711,h:32},
{t:"variable, like ‘number’. ",p:2,x:119,y:1165,w:246,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:3,x:320,y:60,w:357,h:27},
{t:"Page 3 ",p:3,x:465,y:1315,w:66,h:27},
{t:"Running Total ",p:3,x:120,y:175,w:161,h:32},
{t:"For the program you are going to produce, you can use the code ",p:3,x:120,y:206,w:714,h:34},
{t:"shown below as a guide. The program that you are about to produce ",p:3,x:119,y:239,w:753,h:34},
{t:"will calculate the total value of several numbers entered by the ",p:3,x:119,y:273,w:695,h:32},
{t:"user. However, the number of numbers the user enters may vary ",p:3,x:119,y:304,w:757,h:34},
{t:"from one program run to the next. ",p:3,x:120,y:336,w:408,h:34},
{t:"1. ",p:3,x:120,y:403,w:23,h:32},
{t:"Open the form frmTotal from your Visual Basic folder. ",p:3,x:180,y:403,w:604,h:32},
{t:"The properties for all the objects and the code for the Exit and ",p:3,x:120,y:793,w:708,h:32},
{t:"Clear commands have been added.  All we have to do is alter the ",p:3,x:120,y:826,w:701,h:32},
{t:"program, author and date details and add the code to the Start ",p:3,x:120,y:858,w:699,h:32},
{t:"button. ",p:3,x:120,y:891,w:85,h:32},
{t:"2. ",p:3,x:120,y:956,w:26,h:32},
{t:"Change the three REM lines to include a suitable program name.  ",p:3,x:179,y:956,w:705,h:32},
{t:"Add your details as the author and ",p:3,x:180,y:988,w:384,h:32},
{t:"put today’s date in the date line. ",p:3,x:180,y:1021,w:359,h:32},
{t:"3. ",p:3,x:120,y:1183,w:26,h:32},
{t:"Add the following code to the Start button between Sub and ",p:3,x:179,y:1183,w:671,h:32},
{t:"End Sub. ",p:3,x:180,y:1216,w:102,h:32},
{t:"Do ",p:3,x:124,y:126,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:4,x:320,y:60,w:357,h:27},
{t:"Page 4 ",p:4,x:465,y:1315,w:66,h:27},
{t:"Private Sub cmdStart_Click() ",p:4,x:120,y:152,w:328,h:32},
{t:"Dim Times, Counter As Integer, Number, total As Single ‘ Set ",p:4,x:120,y:183,w:683,h:34},
{t:"variables ",p:4,x:180,y:216,w:109,h:34},
{t:"Times = InputBox(\"Enter the number of times you wish to enter a ",p:4,x:120,y:250,w:721,h:32},
{t:"number\", \"number of loops\") ‘ how many numbers you wish to ",p:4,x:179,y:281,w:681,h:34},
{t:"add together ",p:4,x:179,y:313,w:157,h:34},
{t:"For Counter = 1 To Times ‘begin loop ",p:4,x:120,y:378,w:399,h:34},
{t:"Number = InputBox(\"please enter a number\", \"numbers\") ‘ get user ",p:4,x:120,y:411,w:738,h:34},
{t:"numbers ",p:4,x:180,y:443,w:101,h:34},
{t:"total = total + Number ‘ add user number to running total ",p:4,x:120,y:476,w:646,h:34},
{t:"Next ",p:4,x:120,y:510,w:63,h:32},
{t:"picDisplay.Print \"your total is \"; total ‘ display total ",p:4,x:120,y:541,w:568,h:34},
{t:"End Sub ",p:4,x:120,y:575,w:96,h:32},
{t:"4. ",p:4,x:120,y:672,w:27,h:32},
{t:"Save and Run your program making sure all the buttons work. ",p:4,x:179,y:672,w:667,h:32},
{t:"Rocket Launch ",p:4,x:120,y:802,w:171,h:32},
{t:"Develop a program that will act as a countdown timer for ",p:4,x:120,y:867,w:624,h:32},
{t:"Space Shuttle launches at Cape Canaveral.  The program will make ",p:4,x:120,y:900,w:723,h:32},
{t:"use of a FOR …. NEXT loop and a counter.  The counter will ",p:4,x:120,y:932,w:648,h:32},
{t:"decrement by one instead of incrementing by one.  The program will ",p:4,x:120,y:965,w:742,h:32},
{t:"then display the message “We have blast off” in a messagebox. ",p:4,x:120,y:997,w:691,h:32},
{t:"Do ",p:4,x:124,y:741,w:44,h:37},
{t:"For CountDown = 10 to 1 step – 1 ",p:4,x:140,y:1073,w:358,h:32},
{t:"MsgBox “Blast off in    ” & CountDown & “    seconds” ",p:4,x:140,y:1105,w:578,h:32},
{t:"Next CountDown ",p:4,x:140,y:1138,w:188,h:32},
{t:"MsgBox “We have blast off” ",p:4,x:140,y:1170,w:315,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:5,x:320,y:60,w:357,h:27},
{t:"Page 5 ",p:5,x:465,y:1315,w:66,h:27},
{t:"Disappearing Clown ",p:5,x:120,y:185,w:222,h:32},
{t:"So far most of the programs you have created have been quite ",p:5,x:120,y:217,w:689,h:32},
{t:"simple and have not been very eye-catching.  We are going to create ",p:5,x:120,y:250,w:748,h:32},
{t:"a program which includes a graphic. ",p:5,x:120,y:282,w:389,h:32},
{t:"  ",p:5,x:120,y:315,w:13,h:32},
{t:"1. ",p:5,x:120,y:347,w:23,h:32},
{t:"Create a simple form as shown below. ",p:5,x:179,y:347,w:411,h:32},
{t:"2. ",p:5,x:120,y:700,w:26,h:32},
{t:"Set the properties of each object as shown below. ",p:5,x:179,y:700,w:555,h:32},
{t:"Object Property ",p:5,x:120,y:766,w:360,h:32},
{t:"Value ",p:5,x:633,y:766,w:67,h:32},
{t:"Form Name frmClown ",p:5,x:120,y:833,w:816,h:32},
{t:"Caption ",p:5,x:376,y:866,w:337,h:32},
{t:"Disappearing ",p:5,x:633,y:866,w:395,h:32},
{t:"Clown ",p:5,x:778,y:866,w:317,h:32},
{t:"Label Name lblInfo ",p:5,x:120,y:899,w:787,h:32},
{t:"Caption ",p:5,x:376,y:933,w:337,h:32},
{t:"Blank ",p:5,x:633,y:933,w:314,h:32},
{t:"Alignment ",p:5,x:376,y:966,w:115,h:32},
{t:"2 - Center ",p:5,x:633,y:966,w:118,h:32},
{t:"Command 1 ",p:5,x:120,y:999,w:124,h:32},
{t:"Name ",p:5,x:376,y:999,w:68,h:32},
{t:"cmdShow ",p:5,x:633,y:999,w:108,h:32},
{t:"Caption ",p:5,x:376,y:1033,w:87,h:32},
{t:"Now you see me ",p:5,x:633,y:1033,w:179,h:32},
{t:"Command 2 ",p:5,x:120,y:1066,w:128,h:32},
{t:"Name ",p:5,x:376,y:1066,w:68,h:32},
{t:"cmdHide ",p:5,x:633,y:1066,w:101,h:32},
{t:"Caption ",p:5,x:376,y:1100,w:87,h:32},
{t:"Now you don’t ",p:5,x:633,y:1100,w:157,h:32},
{t:"Picture box ",p:5,x:120,y:1133,w:131,h:32},
{t:"Name ",p:5,x:376,y:1133,w:68,h:32},
{t:"picDisplay ",p:5,x:633,y:1133,w:115,h:32},
{t:"Visible ",p:5,x:376,y:1166,w:329,h:32},
{t:"False ",p:5,x:633,y:1166,w:313,h:32},
{t:"Do ",p:5,x:124,y:126,w:44,h:37},
{t:"Label box ",p:5,x:754,y:441,w:119,h:32},
{t:"Picture box ",p:5,x:769,y:561,w:138,h:32},
{t:"Command ",p:5,x:79,y:516,w:111,h:32},
{t:"Button ",p:5,x:79,y:549,w:83,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:6,x:320,y:60,w:357,h:27},
{t:"Page 6 ",p:6,x:465,y:1315,w:66,h:27},
{t:"We are going to insert a graphic in the Picture box. ",p:6,x:120,y:120,w:564,h:32},
{t:"3. Select ",p:6,x:120,y:185,w:170,h:32},
{t:"the ",p:6,x:258,y:185,w:77,h:32},
{t:"PicDisplay object. (handles) ",p:6,x:302,y:185,w:307,h:32},
{t:"4. ",p:6,x:119,y:250,w:26,h:32},
{t:"In the properties box scroll down to Picture. ",p:6,x:179,y:250,w:492,h:32},
{t:"5. ",p:6,x:119,y:315,w:26,h:32},
{t:"Select the button to the right of none.   ",p:6,x:179,y:315,w:444,h:32},
{t:"6. ",p:6,x:119,y:380,w:27,h:32},
{t:"Go to your Visual Basic folder and select the clown file.  This ",p:6,x:180,y:380,w:668,h:32},
{t:"should add a clown picture to the picture box. ",p:6,x:179,y:412,w:504,h:32},
{t:"7. ",p:6,x:119,y:610,w:26,h:32},
{t:"Add the following code to the ",p:6,x:179,y:610,w:330,h:32},
{t:"cmdShow button. ",p:6,x:179,y:642,w:193,h:32},
{t:"8. ",p:6,x:119,y:870,w:26,h:32},
{t:"Add the following code to the ",p:6,x:179,y:870,w:330,h:32},
{t:"cmdHide button. ",p:6,x:179,y:902,w:187,h:32},
{t:"9. ",p:6,x:119,y:1097,w:27,h:32},
{t:"Save the form and project as frmclown and prjctclown. ",p:6,x:179,y:1096,w:606,h:34},
{t:"10. ",p:6,x:119,y:1162,w:37,h:32},
{t:"Run your program to see if it works. ",p:6,x:179,y:1162,w:397,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:7,x:320,y:60,w:357,h:27},
{t:"Page 7 ",p:7,x:465,y:1315,w:66,h:27},
{t:"Face Options ",p:7,x:120,y:185,w:156,h:32},
{t:"The program you are about to design will be used by teachers to ",p:7,x:120,y:250,w:706,h:32},
{t:"design stickers for pupil effort in completing homework tasks.  It ",p:7,x:120,y:282,w:721,h:32},
{t:"will incorporate three graphics and suitable quotes.  The program will ",p:7,x:120,y:315,w:758,h:32},
{t:"allow the teacher to choose any one of three option buttons for ",p:7,x:120,y:347,w:701,h:32},
{t:"printing ",p:7,x:120,y:380,w:91,h:32},
{t:"1. ",p:7,x:120,y:445,w:23,h:32},
{t:"Open the form ",p:7,x:179,y:445,w:167,h:32},
{t:"frmFaces from your ",p:7,x:179,y:477,w:226,h:32},
{t:"Visual Basic folder.  ",p:7,x:179,y:510,w:222,h:32},
{t:"You should see the ",p:7,x:179,y:542,w:210,h:32},
{t:"following form. ",p:7,x:179,y:575,w:169,h:32},
{t:"2. ",p:7,x:120,y:705,w:27,h:32},
{t:"Change the properties of all the objects as listed in the ",p:7,x:179,y:705,w:614,h:32},
{t:"Property grid shown below. ",p:7,x:179,y:737,w:298,h:32},
{t:"Do ",p:7,x:124,y:126,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:8,x:320,y:60,w:357,h:27},
{t:"Page 8 ",p:8,x:465,y:1315,w:66,h:27},
{t:"Object Property Setting ",p:8,x:211,y:120,w:522,h:32},
{t:"Form Caption Sticker ",p:8,x:211,y:154,w:544,h:32},
{t:"Program ",p:8,x:653,y:154,w:198,h:32},
{t:"Name ",p:8,x:376,y:187,w:226,h:32},
{t:"frmStickers ",p:8,x:564,y:187,w:299,h:32},
{t:"Option1 ",p:8,x:211,y:220,w:90,h:32},
{t:"Caption ",p:8,x:376,y:220,w:87,h:32},
{t:"You’re a Star Pupil! ",p:8,x:564,y:220,w:212,h:32},
{t:"Name ",p:8,x:376,y:254,w:226,h:32},
{t:"OptStar ",p:8,x:564,y:254,w:257,h:32},
{t:"Option2 ",p:8,x:211,y:287,w:94,h:32},
{t:"Caption ",p:8,x:376,y:287,w:87,h:32},
{t:"Keep up the good work! ",p:8,x:563,y:287,w:256,h:32},
{t:"Name ",p:8,x:376,y:320,w:226,h:32},
{t:"optBetter ",p:8,x:564,y:320,w:274,h:32},
{t:"Option3 ",p:8,x:211,y:354,w:94,h:32},
{t:"Caption ",p:8,x:376,y:354,w:87,h:32},
{t:"Try harder next time! ",p:8,x:563,y:354,w:244,h:32},
{t:"Name ",p:8,x:376,y:387,w:226,h:32},
{t:"optTry ",p:8,x:564,y:387,w:240,h:32},
{t:"Image 1 ",p:8,x:211,y:420,w:92,h:32},
{t:"Name ",p:8,x:376,y:420,w:68,h:32},
{t:"imgGrin ",p:8,x:564,y:420,w:89,h:32},
{t:"Picture ",p:8,x:376,y:454,w:242,h:32},
{t:"Face1 ",p:8,x:564,y:454,w:226,h:32},
{t:"Visible ",p:8,x:376,y:487,w:237,h:32},
{t:"False ",p:8,x:564,y:487,w:221,h:32},
{t:"Image 2 ",p:8,x:211,y:521,w:96,h:32},
{t:"Name ",p:8,x:376,y:521,w:68,h:32},
{t:"imgOkay ",p:8,x:564,y:521,w:99,h:32},
{t:"Picture ",p:8,x:376,y:554,w:242,h:32},
{t:"Face2 ",p:8,x:563,y:554,w:230,h:32},
{t:"Visible ",p:8,x:376,y:587,w:237,h:32},
{t:"False ",p:8,x:564,y:587,w:221,h:32},
{t:"Image 3 ",p:8,x:211,y:621,w:96,h:32},
{t:"Name ",p:8,x:376,y:621,w:68,h:32},
{t:"imgSad ",p:8,x:564,y:621,w:85,h:32},
{t:"Picture ",p:8,x:376,y:654,w:242,h:32},
{t:"Face3 ",p:8,x:563,y:654,w:230,h:32},
{t:"Visible ",p:8,x:376,y:687,w:237,h:32},
{t:"False ",p:8,x:564,y:687,w:221,h:32},
{t:"Text 1 ",p:8,x:211,y:721,w:77,h:32},
{t:"Border Style ",p:8,x:376,y:721,w:148,h:32},
{t:"None ",p:8,x:564,y:721,w:62,h:32},
{t:"Name ",p:8,x:376,y:754,w:226,h:32},
{t:"txtStar ",p:8,x:564,y:754,w:251,h:32},
{t:"Text None ",p:8,x:376,y:787,w:408,h:32},
{t:"Text 2 ",p:8,x:211,y:821,w:81,h:32},
{t:"Border Style ",p:8,x:376,y:821,w:148,h:32},
{t:"None ",p:8,x:564,y:821,w:62,h:32},
{t:"Name ",p:8,x:376,y:854,w:226,h:32},
{t:"txtBetter ",p:8,x:564,y:854,w:274,h:32},
{t:"Text None ",p:8,x:376,y:887,w:408,h:32},
{t:"Text 3 ",p:8,x:211,y:921,w:81,h:32},
{t:"Border Style ",p:8,x:376,y:921,w:148,h:32},
{t:"None ",p:8,x:564,y:921,w:62,h:32},
{t:"Name ",p:8,x:376,y:954,w:226,h:32},
{t:"txtTry ",p:8,x:564,y:954,w:240,h:32},
{t:"Text None ",p:8,x:376,y:987,w:408,h:32},
{t:"Command 1 ",p:8,x:211,y:1021,w:124,h:32},
{t:"Caption ",p:8,x:376,y:1021,w:87,h:32},
{t:"E&xit ",p:8,x:564,y:1021,w:68,h:32},
{t:"Name ",p:8,x:376,y:1054,w:226,h:32},
{t:"cmdExit ",p:8,x:564,y:1054,w:254,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:9,x:320,y:60,w:357,h:27},
{t:"Page 9 ",p:9,x:465,y:1315,w:66,h:27},
{t:"3. ",p:9,x:120,y:120,w:27,h:32},
{t:"Click on the option button optStar and add the code as shown ",p:9,x:179,y:120,w:676,h:32},
{t:"below. ",p:9,x:179,y:152,w:73,h:32},
{t:"4. ",p:9,x:120,y:510,w:26,h:32},
{t:"Click the other option buttons and add the code.  Use the ",p:9,x:179,y:510,w:633,h:32},
{t:"above code and work out the changes required.  Think of two ",p:9,x:179,y:542,w:667,h:32},
{t:"suitable messages for each button. ",p:9,x:179,y:575,w:386,h:32},
{t:"5. ",p:9,x:120,y:640,w:27,h:32},
{t:"Save your project and form with suitable names. ",p:9,x:180,y:640,w:533,h:32},
{t:"6. ",p:9,x:120,y:705,w:27,h:32},
{t:"Demonstrate your working program to your teacher. ",p:9,x:179,y:705,w:572,h:32},
{t:"P7 Subject Option ",p:9,x:120,y:900,w:217,h:32},
{t:"Each year Primary 7 pupils visit the school and participate in some ",p:9,x:120,y:965,w:724,h:32},
{t:"subjects.  You have been asked by the head teacher to develop a ",p:9,x:120,y:997,w:709,h:32},
{t:"program that will instruct the primary guides as to which subject ",p:9,x:120,y:1030,w:716,h:32},
{t:"each primary school should attend.  The selection of each primary ",p:9,x:120,y:1063,w:723,h:32},
{t:"will result in directions being displayed and a suitable graphic for ",p:9,x:120,y:1095,w:715,h:32},
{t:"that subject. ",p:9,x:120,y:1128,w:149,h:32},
{t:"Design a program for the head teacher to evaluate. ",p:9,x:120,y:1160,w:565,h:32},
{t:"Do ",p:9,x:124,y:836,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:10,x:320,y:60,w:357,h:27},
{t:"Page 10 ",p:10,x:461,y:1315,w:75,h:27},
{t:"IF Statements ",p:10,x:120,y:217,w:176,h:32},
{t:"When you have to make a decision or choice in programming you use ",p:10,x:120,y:277,w:740,h:32},
{t:"an IF Statement.   ",p:10,x:120,y:310,w:216,h:32},
{t:"Imagine a pupil had done an exam and the teacher wanted to display ",p:10,x:120,y:343,w:745,h:32},
{t:"a message depending on the pupil’s mark.  Just to confuse you, the 3 ",p:10,x:120,y:375,w:748,h:32},
{t:"different types of IF statements are written as follows: ",p:10,x:120,y:408,w:624,h:32},
{t:"(Simple) ",p:10,x:120,y:473,w:99,h:32},
{t:"IF total >gt; 49 THEN picDiplay.Print “You have passed” ",p:10,x:120,y:538,w:584,h:32},
{t:"(Normal) ",p:10,x:120,y:603,w:107,h:32},
{t:"IF total >gt; 49 THEN ",p:10,x:120,y:668,w:219,h:32},
{t:"PicDipsplay.Print “You have passed” ",p:10,x:180,y:700,w:388,h:32},
{t:"ELSE ",p:10,x:120,y:733,w:65,h:32},
{t:"PicDipsplay.Print “You have failed” ",p:10,x:180,y:765,w:378,h:32},
{t:"END IF ",p:10,x:120,y:798,w:91,h:32},
{t:"(Complex) ",p:10,x:120,y:863,w:117,h:32},
{t:"IF total >gt; 69 THEN ",p:10,x:120,y:928,w:219,h:32},
{t:"PicDipsplay.Print “You have passed at Grade A” ",p:10,x:180,y:960,w:514,h:32},
{t:"ELSEIF total >gt; 59 THEN ",p:10,x:120,y:993,w:276,h:32},
{t:"PicDipsplay.Print “You have passed at Grade B” ",p:10,x:180,y:1025,w:512,h:32},
{t:"ELSEIF total >gt; 49 THEN ",p:10,x:120,y:1058,w:276,h:32},
{t:"PicDipsplay.Print “You have passed at Grade C” ",p:10,x:180,y:1090,w:511,h:32},
{t:"ELSE ",p:10,x:120,y:1123,w:65,h:32},
{t:"PicDipsplay.Print “You have failed” ",p:10,x:180,y:1155,w:378,h:32},
{t:"END IF ",p:10,x:120,y:1188,w:91,h:32},
{t:"Read ",p:10,x:124,y:159,w:74,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:11,x:320,y:60,w:357,h:27},
{t:"Page 11 ",p:11,x:463,y:1315,w:72,h:27},
{t:"Although 3 ways are shown here, you will normally use the middle one. ",p:11,x:120,y:152,w:762,h:32},
{t:"No matter which kind you use, you must follow the pattern used ",p:11,x:120,y:185,w:700,h:32},
{t:"above, otherwise you will get a SYNTAX error, because you will have ",p:11,x:120,y:217,w:756,h:32},
{t:"broken the Visual Basic rules. ",p:11,x:120,y:250,w:326,h:32},
{t:"You must have the IF, THEN, ELSE, (ELSEIF) and END IF ",p:11,x:120,y:315,w:643,h:32},
{t:"commands in the right place! ",p:11,x:120,y:347,w:316,h:32},
{t:"Golf – Open Qualification ",p:11,x:120,y:445,w:297,h:32},
{t:"We are going to design a program that will allow a golfer to enter ",p:11,x:120,y:510,w:717,h:32},
{t:"their four qualification scores.  The program will then calculate their ",p:11,x:120,y:542,w:756,h:32},
{t:"average score and display this average and a message to tell them if ",p:11,x:120,y:575,w:747,h:32},
{t:"they have qualified for the Open Championship.  The program will ",p:11,x:120,y:607,w:715,h:32},
{t:"have two command buttons, End & Calculate and two labels to display ",p:11,x:120,y:640,w:752,h:32},
{t:"the average score and a suitable message on qualification. ",p:11,x:120,y:672,w:634,h:32},
{t:"Program Design ",p:11,x:120,y:737,w:183,h:32},
{t:"Problem (In my own words) ",p:11,x:120,y:802,w:315,h:32},
{t:"I have to design a program that will ask the golfer to enter 4 scores.  The ",p:11,x:120,y:834,w:727,h:30},
{t:"program will add each score together and then calculate the average score ",p:11,x:119,y:863,w:736,h:30},
{t:"for the four rounds. The program will display the average score and ",p:11,x:119,y:892,w:683,h:30},
{t:"display a message informing the golfer if they have qualified for the ",p:11,x:120,y:921,w:705,h:30},
{t:"Open Championship. ",p:11,x:119,y:950,w:215,h:30},
{t:"Interface Design ",p:11,x:120,y:1013,w:202,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:12,x:320,y:60,w:357,h:27},
{t:"Page 12 ",p:12,x:461,y:1315,w:75,h:27},
{t:"Property Grid ",p:12,x:120,y:120,w:163,h:32},
{t:"Object Property ",p:12,x:120,y:185,w:360,h:32},
{t:"Value ",p:12,x:633,y:185,w:67,h:32},
{t:"Form Name frmOpengolf ",p:12,x:120,y:219,w:854,h:32},
{t:"Caption ",p:12,x:376,y:252,w:87,h:32},
{t:"Open Golf Championship ",p:12,x:633,y:252,w:268,h:32},
{t:"Command Button ",p:12,x:120,y:285,w:187,h:32},
{t:"Name ",p:12,x:376,y:285,w:68,h:32},
{t:"cmdScore ",p:12,x:633,y:285,w:115,h:32},
{t:"Caption ",p:12,x:376,y:319,w:337,h:32},
{t:"&Score ",p:12,x:633,y:319,w:336,h:32},
{t:"Command Button ",p:12,x:120,y:352,w:187,h:32},
{t:"Name ",p:12,x:376,y:352,w:68,h:32},
{t:"cmdExit ",p:12,x:633,y:352,w:96,h:32},
{t:"Caption ",p:12,x:376,y:385,w:337,h:32},
{t:"E&xit ",p:12,x:633,y:385,w:317,h:32},
{t:"Label Name lblAverage ",p:12,x:120,y:419,w:828,h:32},
{t:"Caption ",p:12,x:376,y:452,w:337,h:32},
{t:"(blank) ",p:12,x:633,y:452,w:330,h:32},
{t:"Label Name lblQualify ",p:12,x:120,y:486,w:820,h:32},
{t:"Caption ",p:12,x:376,y:519,w:337,h:32},
{t:"(Blank) ",p:12,x:633,y:519,w:331,h:32},
{t:"Algorithms for Each Button (Procedure)  ",p:12,x:120,y:585,w:469,h:32},
{t:"Start  ",p:12,x:120,y:617,w:657,h:32},
{t:"End ",p:12,x:622,y:617,w:338,h:32},
{t:"1.  Set up variables ",p:12,x:120,y:650,w:198,h:29},
{t:"1.  End program ",p:12,x:622,y:650,w:171,h:29},
{t:"2.  Repeat 4 times ",p:12,x:120,y:679,w:187,h:29},
{t:"3.  Prompt user for golf score ",p:12,x:120,y:708,w:295,h:29},
{t:"4.  Calculate the running total ",p:12,x:120,y:737,w:319,h:29},
{t:"5.  Calculate average score ",p:12,x:120,y:766,w:269,h:29},
{t:"6.  Display average score and message ",p:12,x:120,y:795,w:392,h:29},
{t:"Refinements ",p:12,x:120,y:890,w:147,h:32},
{t:"3.1  Display input box prompting user to enter their score ",p:12,x:120,y:922,w:579,h:29},
{t:"3.2  Assign user score to variable score ",p:12,x:120,y:951,w:396,h:29},
{t:"4.1  Value of variable total equals variable total + variable score ",p:12,x:120,y:1010,w:649,h:29},
{t:"5.1  Divide variable total by 4 and assign to variable average ",p:12,x:120,y:1068,w:620,h:29},
{t:"6.1  Display value of variable average in label score and message in label ",p:12,x:120,y:1126,w:742,h:29},
{t:"message ",p:12,x:120,y:1155,w:91,h:29},
{t:"Visual Basic General Level Pupil Notes ",p:13,x:320,y:60,w:357,h:27},
{t:"Page 13 ",p:13,x:461,y:1315,w:75,h:27},
{t:"Evaluation ",p:13,x:120,y:120,w:122,h:32},
{t:"I found this program easy as I have completed programs that were similar ",p:13,x:120,y:152,w:746,h:29},
{t:"with loops and if statements previously.  All I had to do was to take these ",p:13,x:120,y:181,w:737,h:29},
{t:"skills and adapt them to suit the program requirements.  If I had to ",p:13,x:120,y:210,w:684,h:29},
{t:"improve my program I would create a nicer user interface with graphics or ",p:13,x:120,y:239,w:749,h:29},
{t:"coloured text and prompt the user if they didn’t enter a number. ",p:13,x:120,y:269,w:648,h:29},
{t:"You now, are going to create the program above from design through ",p:13,x:120,y:330,w:753,h:32},
{t:"to evaluation using the sheets provided. ",p:13,x:120,y:363,w:437,h:32},
{t:"1. ",p:13,x:120,y:428,w:23,h:32},
{t:"Copy the problem statement, design grid and properties table ",p:13,x:180,y:428,w:676,h:32},
{t:"shown above. ",p:13,x:179,y:460,w:147,h:32},
{t:"2. ",p:13,x:120,y:525,w:27,h:32},
{t:"Create the HCI, change the object properties and add the ",p:13,x:179,y:525,w:643,h:32},
{t:"code. ",p:13,x:179,y:558,w:63,h:32},
{t:"Show your teacher your design sheets. ",p:13,x:273,y:623,w:454,h:32},
{t:"3. ",p:13,x:120,y:753,w:27,h:32},
{t:"Create your form with ",p:13,x:180,y:753,w:249,h:32},
{t:"two command buttons ",p:13,x:179,y:786,w:242,h:32},
{t:"and two labels. As ",p:13,x:179,y:818,w:201,h:32},
{t:"shown. ",p:13,x:179,y:851,w:77,h:32},
{t:"4. ",p:13,x:120,y:1046,w:27,h:32},
{t:"Change the properties of each object including the form as per ",p:13,x:179,y:1046,w:694,h:32},
{t:"your design. ",p:13,x:179,y:1078,w:136,h:32},
{t:"5. ",p:13,x:120,y:1143,w:26,h:32},
{t:"Double-click on the cmdExit command and add the code to end ",p:13,x:179,y:1143,w:689,h:32},
{t:"the program. ",p:13,x:179,y:1176,w:146,h:32},
{t:"Do ",p:13,x:124,y:681,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:14,x:320,y:60,w:357,h:27},
{t:"Page 14 ",p:14,x:461,y:1315,w:75,h:27},
{t:"6. ",p:14,x:120,y:120,w:26,h:32},
{t:"Double-click on the cmdScore button and add the following ",p:14,x:179,y:120,w:649,h:32},
{t:"code. ",p:14,x:179,y:152,w:63,h:32},
{t:"Note: Change the label names to suit the properties of your labels. ",p:14,x:120,y:575,w:733,h:32},
{t:"7. ",p:14,x:120,y:640,w:27,h:32},
{t:"Save your project and form with a suitable name. ",p:14,x:180,y:640,w:540,h:32},
{t:"8. ",p:14,x:120,y:705,w:27,h:32},
{t:"Run your program to see if it works. ",p:14,x:179,y:705,w:397,h:32},
{t:"9. ",p:14,x:120,y:770,w:27,h:32},
{t:"Demonstrate your working program to your teacher. ",p:14,x:179,y:770,w:572,h:32},
{t:"Copy the School Heating assessment from the PrepWork ",p:14,x:120,y:900,w:749,h:37},
{t:"folder into your own folder. ",p:14,x:120,y:937,w:375,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:15,x:320,y:60,w:357,h:27},
{t:"Page 15 ",p:15,x:461,y:1315,w:75,h:27},
{t:"PRACTICAL ABILITIES TASK  ",p:15,x:120,y:127,w:366,h:32},
{t:"SCHOOL HEATING ",p:15,x:630,y:127,w:232,h:32},
{t:"Your teacher will outline how you should do this task and give you ",p:15,x:120,y:190,w:714,h:34},
{t:"opportunities for discussion. Read and follow all instructions ",p:15,x:119,y:223,w:660,h:34},
{t:"carefully, use hardware and software properly and write your report ",p:15,x:119,y:255,w:752,h:34},
{t:"neatly. ",p:15,x:119,y:288,w:79,h:34},
{t:"The heating system in a school should be switched on if the ",p:15,x:120,y:354,w:696,h:32},
{t:"average temperature is less than 17 degrees Celsius (˚C). The ",p:15,x:120,y:387,w:726,h:32},
{t:"average temperature is found from the temperatures in the Art, ",p:15,x:119,y:419,w:754,h:32},
{t:"English and Music Departments. You are required to write a ",p:15,x:119,y:452,w:696,h:32},
{t:"program that allows the user to input the three temperatures. ",p:15,x:119,y:484,w:728,h:32},
{t:"The program calculates and displays the average temperature ",p:15,x:119,y:517,w:714,h:32},
{t:"then displays ‘Heating should be on.’ or ‘Heating should be off.’ ",p:15,x:119,y:549,w:738,h:32},
{t:"as appropriate. ",p:15,x:119,y:582,w:183,h:32},
{t:"1 DESCRIBE METHOD  -  Analysis ",p:15,x:125,y:647,w:419,h:32},
{t:"3 marks ",p:15,x:827,y:645,w:96,h:34},
{t:"Show that you understand what is required by describing how you ",p:15,x:119,y:712,w:719,h:32},
{t:"will do this task. ",p:15,x:120,y:744,w:184,h:32},
{t:"2 LIST STEPS  -  Design ",p:15,x:125,y:809,w:310,h:32},
{t:"6 marks ",p:15,x:827,y:808,w:96,h:34},
{t:"On a separate sheet of paper, show the main steps and ",p:15,x:155,y:874,w:603,h:32},
{t:"refinements. ",p:15,x:155,y:907,w:145,h:32},
{t:"3 ENTER PROGRAM  -  Implementation ",p:15,x:125,y:972,w:470,h:32},
{t:"5 marks ",p:15,x:827,y:970,w:96,h:34},
{t:"Enter the program listing. Include internal commentary. Correct ",p:15,x:155,y:1037,w:704,h:32},
{t:"any mistakes that you make. Save the listing. ",p:15,x:155,y:1069,w:494,h:32},
{t:"4   TEST PROGRAM  -  Testing ",p:15,x:125,y:1135,w:380,h:32},
{t:"5 marks ",p:15,x:540,y:1133,w:93,h:34},
{t:"Complete the table below, by entering test data. You should ",p:15,x:155,y:1200,w:656,h:32},
{t:"enter sets of three temperatures then calculate the average and ",p:15,x:155,y:1232,w:715,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:16,x:320,y:60,w:357,h:27},
{t:"Page 16 ",p:16,x:461,y:1315,w:75,h:27},
{t:"indicate whether heating should be on or off. The first set ",p:16,x:155,y:120,w:648,h:32},
{t:"should have an average below 17˚C, the second set an average of ",p:16,x:155,y:152,w:709,h:32},
{t:"exactly 17˚C and the third average should be above 17˚C. ",p:16,x:155,y:185,w:632,h:32},
{t:"Complete the last two columns by recording the program’s output ",p:16,x:155,y:217,w:714,h:32},
{t:"with your chosen test data. ",p:16,x:155,y:250,w:303,h:32},
{t:"Compare your calculations with the program’s output and write an ",p:16,x:155,y:603,w:716,h:32},
{t:"appropriate comment. ",p:16,x:155,y:635,w:242,h:32},
{t:"5 GET PRINTOUTS  -  Implementation ",p:16,x:125,y:700,w:467,h:32},
{t:"2 marks ",p:16,x:827,y:699,w:96,h:34},
{t:"  ",p:16,x:125,y:766,w:18,h:32},
{t:"Get two printouts with your name in the footer. One should show ",p:16,x:155,y:766,w:711,h:32},
{t:"your listing and the other a run using one of your sets of test ",p:16,x:155,y:798,w:675,h:32},
{t:"data. ",p:16,x:155,y:831,w:61,h:32},
{t:"6 SUGGEST IMPROVEMENT  -  Evaluation ",p:16,x:125,y:896,w:509,h:32},
{t:"2 marks ",p:16,x:827,y:894,w:96,h:34},
{t:"  ",p:16,x:125,y:961,w:18,h:32},
{t:"Write down one way in which your program could be better. ",p:16,x:155,y:961,w:653,h:32},
{t:"7 JUDGE PERFORMANCE  -  Evaluation ",p:16,x:125,y:1026,w:472,h:32},
{t:"2 marks ",p:16,x:827,y:1024,w:96,h:34},
{t:"Read this task sheet again. Describe how well you think you have ",p:16,x:120,y:1091,w:706,h:32},
{t:"done the task. ",p:16,x:120,y:1123,w:161,h:32},
{t:"Grade 3 - 18 or more ",p:16,x:120,y:1188,w:233,h:32},
{t:"Grade 4 - 17 to 13    ",p:16,x:439,y:1188,w:225,h:32},
{t:"Grade 5 – 12 ",p:16,x:120,y:1221,w:142,h:32},
{t:"Grade 7 - 11 or less ",p:16,x:438,y:1221,w:217,h:32},
{t:"Art ",p:16,x:164,y:306,w:71,h:22},
{t:"temperature ",p:16,x:164,y:328,w:97,h:22},
{t:"English ",p:16,x:282,y:306,w:56,h:22},
{t:"temperature ",p:16,x:282,y:328,w:97,h:22},
{t:"Music ",p:16,x:400,y:306,w:47,h:22},
{t:"temperature ",p:16,x:400,y:328,w:97,h:22},
{t:"calculated ",p:16,x:518,y:306,w:79,h:22},
{t:"average ",p:16,x:518,y:328,w:61,h:22},
{t:"temperature ",p:16,x:518,y:350,w:97,h:22},
{t:"calculated ",p:16,x:637,y:306,w:79,h:22},
{t:"on or off ",p:16,x:637,y:328,w:70,h:22},
{t:"program’s ",p:16,x:743,y:306,w:76,h:22},
{t:"average ",p:16,x:743,y:328,w:61,h:22},
{t:"temperature ",p:16,x:743,y:350,w:97,h:22},
{t:"program’s ",p:16,x:861,y:306,w:76,h:22},
{t:"on or off ",p:16,x:861,y:328,w:70,h:22},
{t:"1  ",p:16,x:120,y:373,w:149,h:32},
{t:"2  ",p:16,x:120,y:439,w:145,h:32},
{t:"3  ",p:16,x:120,y:505,w:145,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:17,x:320,y:60,w:357,h:27},
{t:"Page 17 ",p:17,x:461,y:1315,w:75,h:27},
{t:"Private Sub CmdCalcResult_Click() ",p:17,x:455,y:790,w:381,h:32},
{t:"REM Short program description ",p:17,x:455,y:854,w:353,h:34},
{t:"REM Author’s Name ",p:17,x:455,y:886,w:224,h:34},
{t:"REM Date ",p:17,x:455,y:919,w:116,h:34},
{t:"Dim Mark As Integer, Result As String ",p:17,x:455,y:953,w:432,h:32},
{t:"Mark = Val(TxtMarkIn.Text) ",p:17,x:455,y:985,w:320,h:32},
{t:"If  Mark >gt;= 50 Then ",p:17,x:455,y:1018,w:226,h:32},
{t:"Result = “Pass” ",p:17,x:455,y:1050,w:166,h:32},
{t:"Else ",p:17,x:455,y:1083,w:52,h:32},
{t:"Result = “Fail” ",p:17,x:455,y:1115,w:158,h:32},
{t:"End If ",p:17,x:455,y:1148,w:78,h:32},
{t:"TxtResultOut.Text  =  Result ",p:17,x:455,y:1180,w:325,h:32},
{t:"End Sub ",p:17,x:455,y:1233,w:96,h:32},
{t:"Pass or fail? ",p:17,x:120,y:185,w:152,h:32},
{t:"The following form and program code relate to a program that first ",p:17,x:120,y:217,w:743,h:32},
{t:"asks the user to enter a student’s test mark, then determines ",p:17,x:120,y:250,w:681,h:32},
{t:"whether the student has passed or failed the test, finally displaying ",p:17,x:120,y:282,w:748,h:32},
{t:"the verdict. ",p:17,x:120,y:315,w:135,h:32},
{t:"1. ",p:17,x:120,y:380,w:23,h:32},
{t:"Create a new form with 2 command buttons, three labels and ",p:17,x:179,y:380,w:668,h:32},
{t:"two text boxes. ",p:17,x:179,y:412,w:178,h:32},
{t:"2. ",p:17,x:120,y:477,w:26,h:32},
{t:"Set the properties of ",p:17,x:179,y:477,w:242,h:32},
{t:"each object including the ",p:17,x:179,y:510,w:280,h:32},
{t:"form. ",p:17,x:179,y:542,w:66,h:32},
{t:"3. ",p:17,x:120,y:802,w:27,h:32},
{t:"Add the following ",p:17,x:179,y:802,w:199,h:32},
{t:"code to cmdResult ",p:17,x:179,y:835,w:207,h:32},
{t:"button. ",p:17,x:180,y:867,w:85,h:32},
{t:"4. ",p:17,x:120,y:932,w:27,h:32},
{t:"Save the form and ",p:17,x:180,y:932,w:208,h:32},
{t:"project with suitable ",p:17,x:180,y:965,w:234,h:32},
{t:"names. ",p:17,x:180,y:997,w:79,h:32},
{t:"5. ",p:17,x:120,y:1063,w:27,h:32},
{t:"Test your program to ",p:17,x:179,y:1063,w:239,h:32},
{t:"see if it works. ",p:17,x:180,y:1095,w:169,h:32},
{t:"6. ",p:17,x:120,y:1160,w:27,h:32},
{t:"Show you working ",p:17,x:180,y:1160,w:198,h:32},
{t:"solution to your ",p:17,x:180,y:1193,w:175,h:32},
{t:"teacher. ",p:17,x:180,y:1225,w:97,h:32},
{t:"Do ",p:17,x:109,y:126,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:18,x:320,y:60,w:357,h:27},
{t:"Page 18 ",p:18,x:461,y:1315,w:75,h:27},
{t:"Password Program ",p:18,x:120,y:185,w:212,h:32},
{t:"Design a program that asks the user for a password.  If the ",p:18,x:120,y:217,w:658,h:32},
{t:"password is correct the program will display a suitable welcoming ",p:18,x:120,y:250,w:713,h:32},
{t:"message and if wrong, will print a warning. ",p:18,x:120,y:282,w:462,h:32},
{t:"Hint:   You should use the Results program as a basis for your ",p:18,x:120,y:347,w:729,h:32},
{t:"new program. ",p:18,x:120,y:380,w:162,h:32},
{t:"    ",p:18,x:120,y:576,w:23,h:27},
{t:"Do ",p:18,x:139,y:126,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:19,x:320,y:60,w:357,h:27},
{t:"Page 19 ",p:19,x:461,y:1315,w:75,h:27},
{t:"Random Numbers ",p:19,x:120,y:217,w:203,h:32},
{t:"Visual Basic can produce random numbers in the same way that you ",p:19,x:120,y:282,w:731,h:32},
{t:"can. If a magician asks you to think of a number between 1 and 100, ",p:19,x:120,y:315,w:738,h:32},
{t:"then you would pick a number at random. ",p:19,x:120,y:346,w:446,h:34},
{t:"To get Visual Basic to pick a random number we have to use a set ",p:19,x:120,y:412,w:712,h:32},
{t:"method. ",p:19,x:120,y:445,w:94,h:32},
{t:"First you must use the word RANDOMIZE on its own, this tells the ",p:19,x:120,y:510,w:738,h:32},
{t:"computer to reset its random number generator. ",p:19,x:120,y:542,w:534,h:32},
{t:"Next you use a formula along with a variable.  e.g: ",p:19,x:120,y:607,w:545,h:32},
{t:"Private Sub CmdFindNumber_Click () ",p:19,x:180,y:672,w:424,h:32},
{t:"Dim number as integer ",p:19,x:180,y:737,w:266,h:32},
{t:"‘ use a variable called number to ",p:19,x:480,y:737,w:353,h:32},
{t:"store it ",p:19,x:180,y:770,w:93,h:32},
{t:"Randomize   ",p:19,x:180,y:802,w:140,h:32},
{t:"‘ make the number more random ",p:19,x:420,y:802,w:352,h:32},
{t:"number = Int(10 * Rnd + 1) ",p:19,x:180,y:835,w:328,h:32},
{t:"‘ pick a number, store it in the ",p:19,x:540,y:835,w:334,h:32},
{t:"variable ",p:19,x:180,y:867,w:96,h:32},
{t:"lblRandom.caption = number ",p:19,x:180,y:900,w:325,h:32},
{t:"‘ show the number on a label ",p:19,x:540,y:900,w:314,h:32},
{t:"End Sub ",p:19,x:180,y:965,w:102,h:32},
{t:"This example will choose a number at random between 1 and 10 every ",p:19,x:120,y:1030,w:754,h:32},
{t:"time a button called CmdFindNumber is clicked. ",p:19,x:120,y:1063,w:523,h:32},
{t:"If you want to find a random number in a different range (not ",p:19,x:120,y:1128,w:681,h:32},
{t:"between 1 and 10) then work it out like this : ",p:19,x:120,y:1160,w:491,h:32},
{t:"Read ",p:19,x:124,y:156,w:74,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:20,x:320,y:60,w:357,h:27},
{t:"Page 20 ",p:20,x:459,y:1315,w:78,h:27},
{t:"RandomNumber =  Int( (highest no. - lowest no. + 1) * Rnd + ",p:20,x:141,y:152,w:719,h:32},
{t:"lowest no.) ",p:20,x:434,y:185,w:133,h:32},
{t:"E.g. to pick a random number between 5 and 20 you would use : ",p:20,x:120,y:250,w:686,h:32},
{t:"RandomNumber = Int (16 * Rnd + 5) ",p:20,x:120,y:315,w:393,h:32},
{t:"Note - you get 16 by subtracting 5 from 20, then adding 1. ",p:20,x:120,y:380,w:642,h:32},
{t:"Random numbers are good for programs like lottery generators or ",p:20,x:120,y:445,w:724,h:32},
{t:"programs involving throwing dice. ",p:20,x:120,y:477,w:365,h:32},
{t:"Lucky Seven ",p:20,x:120,y:640,w:148,h:32},
{t:"In this program you will follow ",p:20,x:120,y:705,w:335,h:32},
{t:"instructions to write a Visual Basic ",p:20,x:120,y:737,w:384,h:32},
{t:"program which will act like a simple slot ",p:20,x:120,y:770,w:435,h:32},
{t:"machine. ",p:20,x:120,y:802,w:99,h:32},
{t:"Remember there are 3 steps to ",p:20,x:120,y:900,w:371,h:32},
{t:"writing a program on the computer: ",p:20,x:120,y:932,w:413,h:32},
{t:"1. Place the objects onto the form ",p:20,x:179,y:997,w:385,h:32},
{t:"2. Change the properties of the objects ",p:20,x:179,y:1063,w:443,h:32},
{t:"3. Write your Visual Basic code ",p:20,x:179,y:1128,w:349,h:32},
{t:"Do ",p:20,x:124,y:581,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:21,x:320,y:60,w:357,h:27},
{t:"Page 21 ",p:21,x:461,y:1315,w:75,h:27},
{t:"Lucky Seven – Step 1, Put objects on Form ",p:21,x:120,y:120,w:504,h:32},
{t:"You will need 7 objects on your form.  2 command buttons, 4 labels ",p:21,x:120,y:185,w:731,h:32},
{t:"and 1 image box. ",p:21,x:120,y:217,w:183,h:32},
{t:"1. ",p:21,x:120,y:315,w:23,h:32},
{t:"Open a new form  ",p:21,x:179,y:315,w:197,h:32},
{t:"2. ",p:21,x:120,y:380,w:27,h:32},
{t:"Add all of the objects ",p:21,x:179,y:380,w:247,h:32},
{t:"listed above.  Put them on ",p:21,x:179,y:412,w:286,h:32},
{t:"your form like this. ",p:21,x:179,y:445,w:215,h:32},
{t:"You have now created your Human Computer Interface. ",p:21,x:120,y:607,w:608,h:32},
{t:"Lucky Seven – Step 2, change properties. ",p:21,x:120,y:672,w:486,h:32},
{t:"3. ",p:21,x:120,y:737,w:27,h:32},
{t:"Change properties of all 7 ",p:21,x:179,y:737,w:288,h:32},
{t:"objects, plus your form so ",p:21,x:179,y:770,w:291,h:32},
{t:"that your program looks ",p:21,x:179,y:802,w:267,h:32},
{t:"like this. (properties table ",p:21,x:179,y:835,w:292,h:32},
{t:"overleaf) ",p:21,x:179,y:867,w:105,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:22,x:320,y:60,w:357,h:27},
{t:"Page 22 ",p:22,x:459,y:1315,w:78,h:27},
{t:"Here are the properties: ",p:22,x:120,y:120,w:276,h:32},
{t:"Object Property ",p:22,x:150,y:185,w:340,h:32},
{t:"Value ",p:22,x:623,y:185,w:67,h:32},
{t:"Form Name FrmLucky7 ",p:22,x:150,y:219,w:773,h:32},
{t:"Caption ",p:22,x:386,y:252,w:317,h:32},
{t:"Lucky ",p:22,x:623,y:252,w:298,h:32},
{t:"Seven ",p:22,x:692,y:252,w:301,h:32},
{t:"Command Button ",p:22,x:150,y:288,w:187,h:32},
{t:"Name ",p:22,x:386,y:288,w:68,h:32},
{t:"CmdSpin ",p:22,x:623,y:288,w:100,h:32},
{t:"Caption ",p:22,x:386,y:322,w:317,h:32},
{t:"Spin ",p:22,x:623,y:322,w:284,h:32},
{t:"Command Button ",p:22,x:150,y:358,w:187,h:32},
{t:"Name ",p:22,x:386,y:358,w:68,h:32},
{t:"CmdExit ",p:22,x:623,y:358,w:98,h:32},
{t:"Caption ",p:22,x:386,y:391,w:317,h:32},
{t:"Exit ",p:22,x:623,y:391,w:282,h:32},
{t:"Label Name LblNumber1 ",p:22,x:150,y:428,w:782,h:32},
{t:"Caption ",p:22,x:386,y:461,w:317,h:32},
{t:"Blank ",p:22,x:623,y:461,w:294,h:32},
{t:"BorderStyle ",p:22,x:386,y:494,w:370,h:32},
{t:"1 ",p:22,x:623,y:494,w:247,h:32},
{t:"Alignment ",p:22,x:386,y:528,w:345,h:32},
{t:"Center ",p:22,x:623,y:528,w:310,h:32},
{t:"Font ",p:22,x:386,y:561,w:286,h:32},
{t:"24pt, ",p:22,x:623,y:561,w:295,h:32},
{t:"bold ",p:22,x:688,y:561,w:282,h:32},
{t:"Label Name LblNumber2 ",p:22,x:150,y:597,w:786,h:32},
{t:"Caption ",p:22,x:386,y:631,w:317,h:32},
{t:"Blank ",p:22,x:623,y:631,w:294,h:32},
{t:"BorderStyle ",p:22,x:386,y:664,w:370,h:32},
{t:"1 ",p:22,x:623,y:664,w:247,h:32},
{t:"Allignment ",p:22,x:386,y:697,w:351,h:32},
{t:"Center ",p:22,x:623,y:697,w:310,h:32},
{t:"Font ",p:22,x:386,y:731,w:286,h:32},
{t:"24pt, ",p:22,x:623,y:731,w:295,h:32},
{t:"bold ",p:22,x:688,y:731,w:282,h:32},
{t:"Label Name LblNumber3 ",p:22,x:150,y:767,w:786,h:32},
{t:"Caption ",p:22,x:386,y:800,w:317,h:32},
{t:"Blank ",p:22,x:623,y:800,w:294,h:32},
{t:"BorderStyle ",p:22,x:386,y:834,w:370,h:32},
{t:"1 ",p:22,x:623,y:834,w:247,h:32},
{t:"Allignment ",p:22,x:386,y:867,w:351,h:32},
{t:"Center ",p:22,x:623,y:867,w:310,h:32},
{t:"Font ",p:22,x:386,y:900,w:286,h:32},
{t:"24pt, ",p:22,x:623,y:900,w:295,h:32},
{t:"bold ",p:22,x:688,y:900,w:282,h:32},
{t:"Label Name LblLucky7 ",p:22,x:150,y:937,w:761,h:32},
{t:"Font ",p:22,x:386,y:970,w:56,h:32},
{t:"24pt, bold, coloured ",p:22,x:623,y:970,w:224,h:32},
{t:"Caption ",p:22,x:386,y:1003,w:317,h:32},
{t:"Lucky ",p:22,x:623,y:1003,w:298,h:32},
{t:"Seven ",p:22,x:692,y:1003,w:301,h:32},
{t:"Image Box ",p:22,x:150,y:1040,w:122,h:32},
{t:"Name ",p:22,x:386,y:1040,w:68,h:32},
{t:"ImgCoins ",p:22,x:623,y:1040,w:106,h:32},
{t:"Stretch ",p:22,x:386,y:1073,w:324,h:32},
{t:"True ",p:22,x:623,y:1073,w:288,h:32},
{t:"Picture ",p:22,x:386,y:1106,w:314,h:32},
{t:"Coins.wmf ",p:22,x:623,y:1106,w:344,h:32},
{t:"Visible ",p:22,x:386,y:1140,w:309,h:32},
{t:"False ",p:22,x:623,y:1140,w:293,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:23,x:320,y:60,w:357,h:27},
{t:"Page 23 ",p:23,x:459,y:1315,w:78,h:27},
{t:"Lucky Seven – Step 3, Write Code ",p:23,x:120,y:120,w:405,h:32},
{t:"There are 2 command buttons which we will add code to.  ",p:23,x:120,y:185,w:626,h:32},
{t:"Command button 1 -The Exit Button ",p:23,x:120,y:250,w:425,h:32},
{t:"4. ",p:23,x:120,y:315,w:27,h:32},
{t:"In between the “Private Sub” and “End Sub” lines type the ",p:23,x:179,y:315,w:641,h:32},
{t:"word End.  Like this: ",p:23,x:179,y:346,w:228,h:34},
{t:"  ",p:23,x:119,y:380,w:13,h:32},
{t:"Private Sub CmdExit_Click() ",p:23,x:247,y:418,w:326,h:32},
{t:"End     'This ends the program ",p:23,x:247,y:450,w:336,h:32},
{t:"End Sub ",p:23,x:247,y:483,w:102,h:32},
{t:"The Spin Button ",p:23,x:120,y:553,w:193,h:32},
{t:"5. ",p:23,x:120,y:618,w:27,h:32},
{t:"Add this code to the cmdSpin button after double-clicking on ",p:23,x:179,y:618,w:675,h:32},
{t:"it: ",p:23,x:180,y:651,w:31,h:32},
{t:"Private Sub cmdSpin_Click() ",p:23,x:120,y:721,w:325,h:32},
{t:"Randomize ",p:23,x:120,y:754,w:121,h:32},
{t:"ImgCoins.Visible = False         ' hide coins ",p:23,x:120,y:786,w:453,h:32},
{t:"lblNumber1.Caption = Int(Rnd * 10) ' pick numbers ",p:23,x:120,y:819,w:552,h:32},
{t:"lblNumber2.Caption = Int(Rnd * 10) ",p:23,x:120,y:851,w:390,h:32},
{t:"lblNumber3.Caption = Int(Rnd * 10) ",p:23,x:120,y:884,w:390,h:32},
{t:"'if any caption is 7 display coin stack and beep ",p:23,x:180,y:916,w:510,h:32},
{t:"If (LblNumber1.Caption = 7) Or (lblNumber2.Caption ",p:23,x:180,y:949,w:578,h:32},
{t:"= 7) Or ",p:23,x:120,y:981,w:85,h:32},
{t:"(lblNumber3.Caption = 7) Then  ",p:23,x:180,y:1014,w:346,h:32},
{t:"ImgCoins.Visible = True ",p:23,x:180,y:1046,w:262,h:32},
{t:"Beep ",p:23,x:180,y:1079,w:59,h:32},
{t:"End If ",p:23,x:180,y:1111,w:78,h:32},
{t:"End Sub ",p:23,x:120,y:1144,w:102,h:32},
{t:"6. ",p:23,x:120,y:1214,w:27,h:32},
{t:"Now save your program, run it and test for errors. ",p:23,x:179,y:1214,w:555,h:32},
{t:"(Between If ",p:23,x:798,y:973,w:101,h:18},
{t:"and Then is ",p:23,x:798,y:996,w:101,h:18},
{t:"all on 1 line) ",p:23,x:798,y:1019,w:106,h:17},
{t:"Visual Basic General Level Pupil Notes ",p:24,x:320,y:60,w:357,h:27},
{t:"Page 24 ",p:24,x:459,y:1315,w:78,h:27},
{t:"Simple Clock ",p:24,x:120,y:185,w:150,h:32},
{t:"In this program you will learn how to create a simple clock program, ",p:24,x:120,y:250,w:741,h:32},
{t:"which will take the current time and display it. ",p:24,x:120,y:282,w:511,h:32},
{t:"1. ",p:24,x:120,y:347,w:23,h:32},
{t:"Create a small form as shown below. ",p:24,x:179,y:347,w:398,h:32},
{t:"2. ",p:24,x:120,y:737,w:27,h:32},
{t:"Change the properties as shown below: ",p:24,x:179,y:737,w:426,h:32},
{t:"Object Property Value ",p:24,x:187,y:805,w:673,h:32},
{t:"Form Name FrmClock ",p:24,x:120,y:839,w:737,h:32},
{t:"StartUpPosition ",p:24,x:350,y:872,w:182,h:32},
{t:"2  Centre Screen ",p:24,x:581,y:872,w:193,h:32},
{t:"Caption ",p:24,x:350,y:906,w:311,h:32},
{t:"Clock ",p:24,x:581,y:906,w:287,h:32},
{t:"Label Name LblTime ",p:24,x:120,y:940,w:720,h:32},
{t:"Caption ",p:24,x:350,y:974,w:311,h:32},
{t:"(blank) ",p:24,x:581,y:974,w:304,h:32},
{t:"Text box ",p:24,x:120,y:1008,w:107,h:32},
{t:"Name ",p:24,x:350,y:1008,w:68,h:32},
{t:"txtTime ",p:24,x:581,y:1008,w:95,h:32},
{t:"Text ",p:24,x:350,y:1041,w:60,h:32},
{t:"The time is: ",p:24,x:581,y:1041,w:136,h:32},
{t:"Command Button ",p:24,x:120,y:1075,w:187,h:32},
{t:"Name ",p:24,x:350,y:1075,w:68,h:32},
{t:"cmdExit ",p:24,x:581,y:1075,w:96,h:32},
{t:"Caption ",p:24,x:350,y:1109,w:311,h:32},
{t:"E&xit ",p:24,x:581,y:1109,w:291,h:32},
{t:"Timer Interval 1000 ",p:24,x:120,y:1143,w:680,h:32},
{t:"Note the StartUpPosition of the form. This is new to you, but makes ",p:24,x:120,y:1209,w:756,h:34},
{t:"the form always start in the middle of the screen. ",p:24,x:120,y:1243,w:552,h:32},
{t:"Do ",p:24,x:124,y:126,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:25,x:320,y:60,w:357,h:27},
{t:"Page 25 ",p:25,x:459,y:1315,w:78,h:27},
{t:"3. ",p:25,x:120,y:120,w:26,h:32},
{t:"Double-click on the cmdExit button and add the code to end ",p:25,x:179,y:120,w:661,h:32},
{t:"the program. ",p:25,x:179,y:152,w:146,h:32},
{t:"4. ",p:25,x:120,y:217,w:26,h:32},
{t:"Double-click on the Timer on your form and add the following ",p:25,x:179,y:217,w:673,h:32},
{t:"code between Sub and End Sub. ",p:25,x:179,y:250,w:352,h:32},
{t:"Menus ",p:25,x:120,y:510,w:79,h:32},
{t:"Adding a menu to your program adds a 'touch of class' and makes ",p:25,x:120,y:575,w:717,h:32},
{t:"your program even more like a Windows application. Using menus also ",p:25,x:120,y:607,w:754,h:32},
{t:"has the advantage of clearing space on a form and generally tidying ",p:25,x:120,y:640,w:737,h:32},
{t:"up your screen. ",p:25,x:120,y:672,w:171,h:32},
{t:"Your menus must match other Windows programs. For example, ",p:25,x:120,y:737,w:694,h:32},
{t:"always start with a File menu, and write it like this - File, and not ",p:25,x:120,y:770,w:714,h:32},
{t:"like this - FILE or  file. ",p:25,x:120,y:802,w:260,h:32},
{t:"5. ",p:25,x:120,y:900,w:26,h:32},
{t:"Click on the Tools Menu and select 'Menu Editor’ or choose the ",p:25,x:179,y:900,w:691,h:32},
{t:"Menu Editor icon.  ",p:25,x:180,y:932,w:203,h:32},
{t:"Like many other objects, each menu must have a caption and a name. ",p:25,x:120,y:1095,w:747,h:32},
{t:"To add a File menu with Exit on it to your form, fill in the menu ",p:25,x:120,y:1128,w:693,h:32},
{t:"design box as follows : ",p:25,x:120,y:1160,w:250,h:32},
{t:"Read ",p:25,x:124,y:444,w:74,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:26,x:320,y:60,w:357,h:27},
{t:"Page 26 ",p:26,x:459,y:1315,w:78,h:27},
{t:"6. ",p:26,x:120,y:120,w:27,h:32},
{t:"Complete the Menu Editor as ",p:26,x:179,y:120,w:322,h:32},
{t:"shown with a Caption and Name ",p:26,x:179,y:152,w:345,h:32},
{t:"for the File menu. ",p:26,x:179,y:185,w:201,h:32},
{t:"7. Click ",p:26,x:120,y:250,w:151,h:32},
{t:"Next. ",p:26,x:238,y:250,w:101,h:32},
{t:"8. ",p:26,x:120,y:412,w:27,h:32},
{t:"Click on the forward arrow and ",p:26,x:179,y:412,w:343,h:32},
{t:"complete the Menu Editor with ",p:26,x:179,y:445,w:343,h:32},
{t:"the Caption and Name for the ",p:26,x:179,y:477,w:331,h:32},
{t:"Exit command. ",p:26,x:179,y:510,w:163,h:32},
{t:"Properties for the File menu and Exit command: ",p:26,x:120,y:737,w:525,h:32},
{t:"Item Caption ",p:26,x:238,y:803,w:372,h:32},
{t:"Name ",p:26,x:569,y:803,w:181,h:32},
{t:"File Menu ",p:26,x:238,y:837,w:111,h:32},
{t:"&File ",p:26,x:410,y:837,w:62,h:32},
{t:"mnuFile ",p:26,x:569,y:837,w:89,h:32},
{t:"Exit option ",p:26,x:238,y:870,w:126,h:32},
{t:"E&xit ",p:26,x:410,y:870,w:68,h:32},
{t:"mnuExit ",p:26,x:569,y:870,w:95,h:32},
{t:"We can now make our form even more compact because we have ",p:26,x:120,y:936,w:699,h:32},
{t:"removed the need for the cmdExit  button we have, and replaced it ",p:26,x:120,y:968,w:739,h:32},
{t:"with a menu system. ",p:26,x:120,y:1001,w:224,h:32},
{t:"9. Choose ",p:26,x:120,y:1066,w:175,h:32},
{t:"the ",p:26,x:263,y:1066,w:77,h:32},
{t:"Exit command from the File menu. ",p:26,x:307,y:1066,w:377,h:32},
{t:"10. ",p:26,x:119,y:1131,w:37,h:32},
{t:"Add the code to end the ",p:26,x:179,y:1131,w:273,h:32},
{t:"program to the Exit menu. ",p:26,x:119,y:1163,w:295,h:32},
{t:"11. ",p:26,x:119,y:1228,w:33,h:32},
{t:"Finally delete the cmdExit button. ",p:26,x:179,y:1228,w:378,h:32},
{t:"Forward ",p:26,x:350,y:592,w:83,h:27},
{t:"button ",p:26,x:350,y:620,w:68,h:27},
{t:"Visual Basic General Level Pupil Notes ",p:27,x:320,y:60,w:357,h:27},
{t:"Page 27 ",p:27,x:459,y:1315,w:78,h:27},
{t:"The menu design will produce ",p:27,x:120,y:120,w:322,h:32},
{t:"this form: ",p:27,x:120,y:152,w:116,h:32},
{t:"12. ",p:27,x:120,y:380,w:37,h:32},
{t:"Save your program as frmClock and prjctClock. ",p:27,x:179,y:378,w:517,h:34},
{t:"Stop Watch ",p:27,x:120,y:607,w:145,h:32},
{t:"We are going to expand the concept of our clock program and turn it ",p:27,x:120,y:672,w:754,h:32},
{t:"into a working stopwatch.  This program will allow the user to start ",p:27,x:120,y:705,w:734,h:32},
{t:"and end the stopwatch.  Then display the time that has elapsed. ",p:27,x:120,y:737,w:700,h:32},
{t:"1. ",p:27,x:120,y:802,w:23,h:32},
{t:"Open the form ",p:27,x:179,y:802,w:167,h:32},
{t:"frmStopwatch as shown. ",p:27,x:179,y:835,w:273,h:32},
{t:"2. ",p:27,x:120,y:965,w:26,h:32},
{t:"Add the code to the ",p:27,x:179,y:965,w:227,h:32},
{t:"cmdExit button. ",p:27,x:179,y:997,w:181,h:32},
{t:"3. ",p:27,x:120,y:1063,w:27,h:32},
{t:"Add the following code to cmdStart button. ",p:27,x:179,y:1063,w:485,h:32},
{t:"Do ",p:27,x:124,y:544,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:28,x:320,y:60,w:357,h:27},
{t:"Page 28 ",p:28,x:459,y:1315,w:78,h:27},
{t:"4. ",p:28,x:120,y:120,w:26,h:32},
{t:"Add the following code to the cmdEnd button. ",p:28,x:179,y:120,w:507,h:32},
{t:"5. Choose ",p:28,x:120,y:347,w:175,h:32},
{t:"General from the code window drop down menu. ",p:28,x:263,y:347,w:522,h:32},
{t:"6. ",p:28,x:120,y:510,w:27,h:32},
{t:"Enter the following below Option Explicit. ",p:28,x:179,y:508,w:460,h:34},
{t:"We have declared variables before.  These have been local variables ",p:28,x:119,y:705,w:749,h:32},
{t:"used within an object or procedure.  By placing them under general ",p:28,x:119,y:737,w:731,h:32},
{t:"we make the variables available for use by all procedures in a form. ",p:28,x:119,y:770,w:736,h:32},
{t:"The variant data type is a special type used by Visual Basic that can ",p:28,x:119,y:802,w:744,h:32},
{t:"contain numeric, string, or date data. ",p:28,x:119,y:835,w:409,h:32},
{t:"Here is a list of other variable types: ",p:28,x:119,y:867,w:412,h:32},
{t:"Data Type ",p:28,x:150,y:932,w:128,h:32},
{t:"Suffix ",p:28,x:345,y:932,w:82,h:32},
{t:"Data Type ",p:28,x:540,y:932,w:128,h:32},
{t:"Suffix ",p:28,x:780,y:932,w:82,h:32},
{t:"Boolean None ",p:28,x:150,y:997,w:363,h:32},
{t:"Integer ",p:28,x:539,y:997,w:197,h:32},
{t:"% ",p:28,x:779,y:997,w:131,h:32},
{t:"Long (Integer) ",p:28,x:150,y:1030,w:165,h:32},
{t:"& ",p:28,x:345,y:1030,w:22,h:32},
{t:"Single (Floating) ",p:28,x:540,y:1030,w:184,h:32},
{t:"! ",p:28,x:779,y:1030,w:12,h:32},
{t:"Double (Floating) # ",p:28,x:150,y:1063,w:221,h:32},
{t:"Currency ",p:28,x:540,y:1063,w:104,h:32},
{t:"@ ",p:28,x:780,y:1063,w:28,h:32},
{t:"Date None Object None ",p:28,x:150,y:1095,w:828,h:32},
{t:"String $ ",p:28,x:150,y:1128,w:336,h:32},
{t:"Variant ",p:28,x:540,y:1128,w:205,h:32},
{t:"None ",p:28,x:780,y:1128,w:181,h:32},
{t:"7. ",p:28,x:119,y:1225,w:27,h:32},
{t:"Save the changes to the form and the project. ",p:28,x:179,y:1225,w:513,h:32},
{t:"Read ",p:28,x:124,y:661,w:74,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:29,x:320,y:60,w:357,h:27},
{t:"Page 29 ",p:29,x:459,y:1315,w:78,h:27},
{t:"SPL Match Statistics ",p:29,x:120,y:120,w:251,h:32},
{t:"We are going to design a program that will allow a user to enter the ",p:29,x:120,y:185,w:742,h:32},
{t:"number of goals scored in every match in the six games played each ",p:29,x:120,y:217,w:741,h:32},
{t:"week. The program will then count the number of matches where ",p:29,x:120,y:250,w:710,h:32},
{t:"three or more goals have been scored.  The program will have two ",p:29,x:120,y:282,w:719,h:32},
{t:"command buttons, End & Calculate and one label to display the ",p:29,x:120,y:315,w:681,h:32},
{t:"number of games where goals scored exceed three. ",p:29,x:120,y:347,w:565,h:32},
{t:"Program Design ",p:29,x:120,y:412,w:183,h:32},
{t:"Problem (In my own words) ",p:29,x:120,y:477,w:315,h:32},
{t:"I have to design a program that will ask the user to enter the total goals ",p:29,x:120,y:509,w:720,h:30},
{t:"scored in each of the SPL matches.  The program will count each match ",p:29,x:119,y:538,w:721,h:30},
{t:"where three or more goals have been scored. The program will then display ",p:29,x:120,y:567,w:741,h:30},
{t:"the number of matches with three or more goals. ",p:29,x:120,y:596,w:485,h:30},
{t:"Interface Design ",p:29,x:120,y:659,w:202,h:32},
{t:"Property Grid ",p:29,x:120,y:854,w:163,h:32},
{t:"Object Property ",p:29,x:120,y:920,w:360,h:32},
{t:"Value ",p:29,x:633,y:920,w:67,h:32},
{t:"Form Name frmmatchstats ",p:29,x:120,y:953,w:878,h:32},
{t:"Caption ",p:29,x:376,y:986,w:87,h:32},
{t:"SPL Match Stats ",p:29,x:633,y:986,w:192,h:32},
{t:"Command Button ",p:29,x:120,y:1020,w:187,h:32},
{t:"Name ",p:29,x:376,y:1020,w:68,h:32},
{t:"cmdScore ",p:29,x:633,y:1020,w:115,h:32},
{t:"Caption ",p:29,x:376,y:1053,w:337,h:32},
{t:"&Score ",p:29,x:633,y:1053,w:336,h:32},
{t:"Command Button ",p:29,x:120,y:1087,w:187,h:32},
{t:"Name ",p:29,x:376,y:1087,w:68,h:32},
{t:"cmdExit ",p:29,x:633,y:1087,w:96,h:32},
{t:"Caption ",p:29,x:376,y:1120,w:337,h:32},
{t:"E&xit ",p:29,x:633,y:1120,w:317,h:32},
{t:"Label Name Lblgames ",p:29,x:120,y:1153,w:812,h:32},
{t:"Caption ",p:29,x:376,y:1187,w:337,h:32},
{t:"(blank) ",p:29,x:633,y:1187,w:330,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:30,x:320,y:60,w:357,h:27},
{t:"Page 30 ",p:30,x:459,y:1315,w:78,h:27},
{t:"Algorithms for Each Button (Procedure)  ",p:30,x:120,y:120,w:469,h:32},
{t:"Start  ",p:30,x:120,y:152,w:657,h:32},
{t:"End ",p:30,x:622,y:152,w:338,h:32},
{t:"1.  Set up variables ",p:30,x:120,y:185,w:198,h:29},
{t:"1.  End program ",p:30,x:622,y:185,w:171,h:29},
{t:"2.  Repeat 6 times ",p:30,x:120,y:214,w:187,h:29},
{t:"3.  Prompt user for goals scored in each match ",p:30,x:120,y:243,w:469,h:29},
{t:"4.  Test to see if three or more goals have been scored ",p:30,x:120,y:272,w:523,h:29},
{t:"5.  Increase count of three or more goals per match ",p:30,x:120,y:301,w:507,h:29},
{t:"6.  Display number of matches with tree or more goals ",p:30,x:120,y:330,w:549,h:29},
{t:"Refinements ",p:30,x:120,y:424,w:147,h:32},
{t:"3.1  Display input box prompting user to enter total goals in a game ",p:30,x:120,y:457,w:694,h:29},
{t:"4.1  If goals>gt;3 then ",p:30,x:120,y:515,w:211,h:29},
{t:"5.1  variable counter= variable counter + 1 ",p:30,x:120,y:574,w:443,h:29},
{t:"6.1  Display value of variable counter in label score  ",p:30,x:120,y:632,w:527,h:29},
{t:"Evaluation ",p:30,x:120,y:690,w:122,h:32},
{t:"I found this program easy as I am quite familiar with loops, testing for ",p:30,x:120,y:723,w:726,h:29},
{t:"conditions and using counters.  All I had to do was to take these skills ",p:30,x:120,y:752,w:719,h:29},
{t:"and adapt them to suit the program requirements.  If I had to improve my ",p:30,x:120,y:781,w:748,h:29},
{t:"program I would create a nicer user interface with graphics or coloured text ",p:30,x:120,y:810,w:753,h:29},
{t:"and prompt the user if they didn’t enter a number. ",p:30,x:120,y:839,w:517,h:29},
{t:"You now, are going to create the program above from design through ",p:30,x:120,y:901,w:753,h:32},
{t:"to evaluation using the sheets provided. ",p:30,x:120,y:933,w:437,h:32},
{t:"1. ",p:30,x:120,y:998,w:23,h:32},
{t:"Copy the problem statement, design grid and properties table ",p:30,x:180,y:998,w:676,h:32},
{t:"shown above. ",p:30,x:179,y:1031,w:147,h:32},
{t:"2. ",p:30,x:120,y:1096,w:27,h:32},
{t:"Create the HCI, change the object properties and add the ",p:30,x:179,y:1096,w:643,h:32},
{t:"code. ",p:30,x:179,y:1128,w:63,h:32},
{t:"Show your teacher your design sheets. ",p:30,x:273,y:1194,w:454,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:31,x:320,y:60,w:357,h:27},
{t:"Page 31 ",p:31,x:461,y:1315,w:75,h:27},
{t:"3. ",p:31,x:120,y:185,w:27,h:32},
{t:"Create your form with two command buttons and one label. As ",p:31,x:179,y:185,w:680,h:32},
{t:"shown. ",p:31,x:179,y:217,w:77,h:32},
{t:"4. ",p:31,x:120,y:477,w:27,h:32},
{t:"Change the properties of each ",p:31,x:179,y:477,w:337,h:32},
{t:"object including the form as per your design. ",p:31,x:179,y:510,w:493,h:32},
{t:"5. ",p:31,x:120,y:575,w:26,h:32},
{t:"Double-click on the cmdExit command and add the code to end ",p:31,x:179,y:575,w:689,h:32},
{t:"the program. ",p:31,x:179,y:607,w:146,h:32},
{t:"6. ",p:31,x:120,y:672,w:26,h:32},
{t:"Double-click on the cmdScore button and add the following ",p:31,x:179,y:672,w:649,h:32},
{t:"code. ",p:31,x:120,y:705,w:63,h:32},
{t:"Note: Change the label names to suit the properties of your labels. ",p:31,x:120,y:932,w:733,h:32},
{t:"7. ",p:31,x:120,y:997,w:27,h:32},
{t:"Save your project and form with a suitable name. ",p:31,x:180,y:997,w:540,h:32},
{t:"8. ",p:31,x:120,y:1063,w:27,h:32},
{t:"Run your program to see if it works. ",p:31,x:179,y:1063,w:397,h:32},
{t:"9. ",p:31,x:120,y:1128,w:27,h:32},
{t:"Demonstrate your working program to your teacher. ",p:31,x:179,y:1128,w:572,h:32},
{t:"Copy the Over Forty assessment from the PrepWork ",p:31,x:120,y:1192,w:700,h:37},
{t:"folder into your own folder. ",p:31,x:120,y:1230,w:375,h:37},
{t:"Do ",p:31,x:124,y:126,w:44,h:37},
{t:"Visual Basic General Level Pupil Notes ",p:32,x:320,y:60,w:357,h:27},
{t:"Page 32 ",p:32,x:459,y:1315,w:78,h:27},
{t:"PRACTICAL ABILITIES TASK  ",p:32,x:130,y:126,w:415,h:37},
{t:"OVER FORTY ",p:32,x:677,y:126,w:184,h:37},
{t:"Your teacher will outline how you should do this task and give you ",p:32,x:120,y:195,w:714,h:34},
{t:"opportunities for discussion. Read and follow all instructions ",p:32,x:120,y:227,w:660,h:34},
{t:"carefully, use hardware and software properly and write your report ",p:32,x:120,y:260,w:752,h:34},
{t:"neatly. ",p:32,x:120,y:292,w:79,h:34},
{t:"You are required to write a program to count the number of ",p:32,x:120,y:359,w:700,h:32},
{t:"pupils in a class of twelve who score over 40 in a test out of 60. ",p:32,x:120,y:391,w:757,h:32},
{t:"The pupils’ marks are to be entered at the keyboard. The output ",p:32,x:120,y:424,w:759,h:32},
{t:"is a message that indicates the number of pupils who score more ",p:32,x:120,y:456,w:751,h:32},
{t:"than 40. ",p:32,x:120,y:489,w:108,h:32},
{t:"1 DESCRIBE METHOD  -  Analysis ",p:32,x:120,y:554,w:418,h:32},
{t:"3 marks ",p:32,x:827,y:552,w:96,h:34},
{t:"Show that you understand what is required by describing how you ",p:32,x:150,y:619,w:719,h:32},
{t:"will do this task. ",p:32,x:150,y:651,w:184,h:32},
{t:"2 LIST STEPS  -  Design ",p:32,x:120,y:716,w:309,h:32},
{t:"6 marks ",p:32,x:827,y:715,w:96,h:34},
{t:"On a separate sheet of paper, show the main steps and ",p:32,x:150,y:781,w:603,h:32},
{t:"refinements. ",p:32,x:150,y:814,w:145,h:32},
{t:"3 ENTER PROGRAM  -  Implementation ",p:32,x:120,y:879,w:470,h:32},
{t:"5 marks ",p:32,x:827,y:878,w:96,h:34},
{t:"Enter the program listing. Include internal commentary. Correct ",p:32,x:150,y:944,w:704,h:32},
{t:"any mistakes that you make. Save the listing. ",p:32,x:150,y:977,w:494,h:32},
{t:"4   TEST PROGRAM  -  Testing ",p:32,x:120,y:1042,w:380,h:32},
{t:"5 marks ",p:32,x:827,y:1040,w:96,h:34},
{t:"Complete the table below, firstly by writing three more sets of ",p:32,x:149,y:1107,w:695,h:32},
{t:"test data under the twelve marks listed. The given marks are all ",p:32,x:149,y:1139,w:703,h:32},
{t:"above 40. The next set should all be below 40. The next set ",p:32,x:149,y:1172,w:656,h:32},
{t:"should have marks above, below and including 40. The last set ",p:32,x:149,y:1204,w:674,h:32},
{t:"should only have marks 39, 40 and 41. Complete the second column ",p:32,x:149,y:1237,w:727,h:32},
{t:"Visual Basic General Level Pupil Notes ",p:33,x:320,y:60,w:357,h:27},
{t:"Page 33 ",p:33,x:459,y:1315,w:78,h:27},
{t:"by counting and writing down how many marks in each set are over ",p:33,x:150,y:120,w:723,h:32},
{t:"40. Complete the last column by recording the program’s output ",p:33,x:150,y:152,w:698,h:32},
{t:"with your test data. ",p:33,x:150,y:185,w:222,h:32},
{t:"pupils’ marks ",p:33,x:174,y:225,w:98,h:22},
{t:"my count ",p:33,x:624,y:225,w:70,h:22},
{t:"over 40 ",p:33,x:624,y:247,w:60,h:22},
{t:"program’s count ",p:33,x:770,y:225,w:121,h:22},
{t:"over 40 ",p:33,x:770,y:247,w:60,h:22},
{t:"46, 54, 51, 41, 49, 58, 45, 44, 53, 50, 57, 43 ",p:33,x:174,y:277,w:331,h:22},
{t:"Compare your count of marks over 40 with the program’s output ",p:33,x:149,y:399,w:702,h:32},
{t:"and write an appropriate comment. ",p:33,x:150,y:431,w:382,h:32},
{t:"5 GET PRINTOUTS  -  Implementation ",p:33,x:120,y:496,w:466,h:32},
{t:"2 marks ",p:33,x:827,y:495,w:96,h:34},
{t:"  G",p:33,x:120,y:561,w:29,h:32},
{t:"et two printouts with your name in the footer. One should show ",p:33,x:165,y:561,w:695,h:32},
{t:"your listing and the other a run using one of the sets of test data ",p:33,x:150,y:594,w:720,h:32},
{t:"above. ",p:33,x:150,y:626,w:74,h:32},
{t:"6 SUGGEST IMPROVEMENT  -  Evaluation ",p:33,x:120,y:691,w:508,h:32},
{t:"2 marks ",p:33,x:827,y:690,w:96,h:34},
{t:"  W",p:33,x:120,y:756,w:38,h:32},
{t:"rite down one way in which your program could be better. ",p:33,x:174,y:756,w:628,h:32},
{t:"7 JUDGE PERFORMANCE  -  Evaluation ",p:33,x:120,y:821,w:471,h:32},
{t:"2 marks ",p:33,x:827,y:820,w:96,h:34},
{t:"Read this task sheet again. Describe how well you think you have ",p:33,x:149,y:886,w:706,h:32},
{t:"done the task. ",p:33,x:150,y:919,w:161,h:32},
{t:"Grade 3 - 18 or more ",p:33,x:120,y:984,w:233,h:32},
{t:"Grade 4 - 17 to 13                 ",p:33,x:438,y:984,w:315,h:32},
{t:"Grade 5 – 12 ",p:33,x:120,y:1016,w:142,h:32},
{t:"Grade 7 - 11 or less ",p:33,x:438,y:1016,w:217,h:32},
0];
var g_links=[
0];

