Home

Comp 4 Documentation - 1337 Upload`s file server

image

Contents

1. Electric Fields i Capacitance PHYAS5 Nuclear Physics and Thermal Physics PHYASA Astronomy and Cosmology PHYAS5B Medical Physics PHYASC Applied Physics PHYASD Turning Points in Physics F 5 4 Viewing 4 questions Quiz contains 0 questions Damask Talary Brown 5556 19 1 Centre Number 64395 RY Godalming bent Y W College COMP4 Physics Quiz Generator 20 r Benchmark lala x J Filter by Unit Topic PHYA Particles Quantum Phenomena and Electricity Particles and Radiation Electromagnetic Radiation and Quantum Phenomena Current Electricity PHYA2 Mechanics Materials and Waves PHYA4 Fields and Further Mechanics _ Further Mechanics Gravitation Electric Fields Capacitance PHYAS Nuclear Physics and Thermal Physics 9 PHYASA Astronomy and Cosmology PHYA5B Medical Physics mH PHYASC Applied Physics 9 PHYASD Turning Points in Physics Viewing 0 questions Quiz contains 0 questions 21 9 Benchmark lo e x File Edit View lt ASS lt 2 Isotopes of the same element all have the same Proton nul 3 A plane flying in a uniform horizontal circle at constant speed 5 Which of the following statements is correct for an object mo 6 An obj
2. Viewing 15 questions Quiz contains 0 questions SXi Q Viewing 15 questions Quiz contains 0 questions 1 What is the force in Newtons acting o 2 Isotopes of the same element all have 3 A plane flying in a uniform horizontal 4 A 600g object is whirled in a circle on 5 Which of the following statements is 6 An object is whirled in uniform circular 7 True or false a capacitor consists of 8 A ray of light falls on a glass block and 9 The critical angle of diamond is 24 10 Modern hi fi equipment and televisioni 11 True or false the threshold of hearing 12 An X ray tube operates with a pd acra 13 Which of the following is the correct e 14 A steady current of 0 25 A passes th 15 The battery in a torch bulb supplies a PHYAI Particles Quantum Phenomena and Electricity v Particles and Radiation bg Short Answer Multiple Choice Tre False Calculati Damask Talary Brown 5556 180 Centre Number 64395 Godalming EEE College COMP4 Physics Quiz Generator 4 J Benchmark o a x What is the force in Newtons acting Isotopes of the same element all ha A plane flying in a uniform horizontal A 600g object is whirled in a circle oi Which of the following statements is An object is whirled in unifor Benchmark True or false a capacitor cor A ray of light falls on a glass The critical angle
3. frmAddEditQuestion Subroutine Description Handles the form loading event and the sizing options startup of the form Loads the contents of the Units text file into the unit combo box Handles the form closing event resets the editing cancelChanges Boolean so on the event of the form next opening to add rather than edit a question all fields are blank SASelected Handles the checking of the short answer question type radio button NUSelected Handles the checking of the numerical question type radio button TFSelected Handles the checking of the true false question type radio button Handles the checking of the multiple choice question MCSelected type radio buttons loadTopics Gets the selected unit title and passes it to findTopics oo ae ol Opens the file with the unit name passed to it and findTopics loads all topics from the file to the topic combo box clearQuestion Resets the form sizing and fields Handles the save question button click event validates Private saveQuestion all the data entered and if valid calls saveQuestion see below Instantiates a new question saves the question data and calls either addNewQuestion see frmHome passing the question to add it to the allQuestions saveQuestion collection if editing is set to false or updateQuestion see frmHome passing the question to overwrite it in the allQuestions collection if editing is s
4. Multiple choice test Notepad File Edit Format View Help A Multiple choice question mark s 2 Multiple choice question mark s a correct s Multiple choice question mark s a X b Y c Correct d choice question mark s c Correct d Z 33 Multiple choice question mark s a xX b Correct c Y d Z 8 Multiple choice question mark s a xX b Correct c Y d Z a Multiple choice question mark s a Xx b Y c correct d Z z Multiple choice question mark s a X d Correct 4 Damask Talary Brown 5556 Z 1 1 Centre Number 64395 Question x Unhandled exception has occurred in your application If you click Continue the application will ignore this emor and attempt to continue f N you click Qut the application will close immediately Access to the path CAUsers 5556 GODALMING 000 Benchmark Questions bd is denied eee Jee e See the end of this message for details on invoking Access to the path C Users 5556 GODALN at System 10 __Enror WIO Enot erorCode String maybeFullPath at System lO FileStream Init String path FileMode mode FileAccess access Int321r at System lO FileStream ctor String path FileMode mode FileAccess access FileS at System lO StreamWriter CreateFile String path Boolean append at System lO StreamWriter ctor String path Boolean append Encoding moe This operation has been cancelled due to restrictions in effect
5. Quiz contains As expected None required contains no no questions questions dialogue Nothing is exported 18 Loading T Question All questions As expected None required questions files existand are loaded into contain the question question data pane E Question Welcome to As expected None required files do not Benchmark exist dialogue Files not existing suggest this is the first time the system has been run X Question You haven t As expected None required files exist but added any do not contain questions yet question data dialogue Blank files suggest the system has been run before 19 Random T Quiz For test data As expected Begin numbering at ordering of contains where answers Input i 1 rather than i 0 multiple multiple are Correct produces so quizzes begin at choice choice XK Y Z output a question one answers when questions each of the However Second test saving quizzes four elements numbering is conducted 19b should beina zero based Damask Talary Brown 5556 Ta Centre Number 64395 RA Godalming Y College COMP4 Physics Quiz Generator Test Description TEX Expected Actual Comments and No Typical Outcome Outcome Corrective Actions Erroneous Extreme 19 Random T Quiz As for 19 but As expected None required b ordering of contains numbering Input ft multiple multiple should begin produce
6. Experiences a resultant force acting away from the centre of the cir Experiences an increasing force acting towards the centre of the cir PHYA4 Fields and Further Mechanics Further Mechanics 2 Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speed A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo 2 3 4 5 6 An object is whirled in uniform circular motion in a vertical circ 7 8 9 True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde 10 Modern hi fi equipment and televisions often have volume co 11 True or false the threshold of hearing is the lowest level of s 12 An X ray tube operates with a pd across the tube of 80 kV 4 13 Which of the following is the correct equation for the work fur 14 A steady current of 0 25 A passes through a torch bulb for 6 15 The battery in a torch bulb supplies a steady current of 0 25 4 m r Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 206 Centre Number 64395 Goda ming EE ve College COMP4 Physics Quiz Generator 37 Welcome to Benchmark Please read the Help guide to get started Welcome to Benchmark You haven t added
7. SELECT Qtext Qtype Rating FROM tblquestion WHERE Rating Displaying all questions of particular type SELECT Qtext Qtype Rating FROM tblquestion WHERE Type Adding a new question to the database INSERT INTO tblquestion QID Qtext STopic QAns Rating QType VALUES Updating an existing question UPDATE tblquestion SET changes WHERE QID Deleting a question DELETE FROM tblquestion WHERE QID Damask Talary Brown 5556 43 Centre Number 64395 Godalming a ee a F College COMP4 Physics Quiz Generator Top Down Design Export quiz Filter or search Add questions Check class logs questions to quiz Add class Text search Add edit log By unit topic By difficulty rating Check question isn t already in uiz Add new a question Select existing TE question uestion By type Answer s Moodle GIFT file Unit Text file Topic Rating Damask Talary Brown 5556 44 Centre Number 64395 WA Godalming A f College COMP4 Physics Quiz Generator OOP Class Design These are the classes my system would use if wrote in the OOP paradigm modelling questions and groups as objects Each question or class would be created at runtime when declared by the user Quizzes could be modelled as objects that contain questions but my software doesn t need to store quizzes past run time so for the purpose of exporting q
8. 9 The critical angle of diamond is 24 10 Modern hi fi equipment and tele 11 True or false the threshold of hej 12 An X ray tube operates with a pd 13 Which of the following is the co 14 A steady current of 0 25 A passe 15 The battery in a torch bulb supplies a steady current of 0 25 4 m r Viewing 15 questions Quiz contains 0 questions 32 e gt _ gt a _ GO m gt Libraries Documents gt Quizzes v p Search Quizzes P Organize v Open X Share with Print E mail New folder m 1 what is the force in Newtons acting on a body if Fr Favorites Docum Franoe EA Folder 7 GA aa changes by 16 kgms 1 in 4 seconds 1 BBE Desktop Quizzes 2 A plane flying in a uniform horizontal circle at B s constant speed and height 2 mark s E Recent Places 5j My Quiz mark scheme a Has no resultant force acting on it B S b Experiences a resultant force acting away from the amp SkyDrive ae centre of the circle ji c Experiences an increasing force acting towards the centre of the circle Libraries d Experiences a resultant force acting towards the Documents centre of the circle a Music 3 what absolute or kelvin temperature is equivalent Pictures to 351 85 Cc 1 mark s Videos Modern hi fi equipment and televisions often have 4 Mod hi fi i nd televisi f h volume controls which allow the sound volume to be increased in
9. C and I atmosphere Air 1 29 at 100 C and I atmosphere Air 0 95 at 4 C and I atmosphere Water 1000 at 100 C and I atmosphere Water 958 O Volume ofa cylinder a Fi Volume of a sphere 4 z r 3 Q A cube of edge 8 cm is made from balsa wood Calculate its volume and its mass Calculate the mass of a similar cube made from osmium Divide mass b by mass a What should this equal Does it A third similar cube has a mass of 1 28 kg Calculate its density From what might it be made ange OGO A steel rod of diameter 15 mm has a mass of 544 g Calculate the length of the rod The nucleus of an iron atom is spherical and has a radius of 4 6 x 10 m the mass of the nucleus is 9 5 x 10 kg Calculate the density of the nuclear material One litre of water is heated from 4 C to 100 C at constant pressure Calculate the new volume A living room measures 4 m wide x 7 m long x 3 m high Estimate the mass of air in the room on a warm day NB Estimate means make as good an approximate calculation as you can stating any assumptions you need to make EXTENSION QUESTIONS Try these if you are happy you have understood the ones above 6 A porous metal cube of side 100 mm is made from metal of density 8000 kg m and has a mass of 7 2 kg Calculate the volume of the pores in the metal assuming you can ignore the mass of the trapped air An alloy made from osmium and
10. Medical Physics amp vbNewLine amp PHYA5C Applied Physics amp vbNewLine amp PHYA5D Turning Points in Physics defaultUnitSetup Close Close the streamwriter and write text files with topic lists for each unit in the units text file Damask Talary Brown 5556 108 Centre Number 64395 A Godalming Signal YW College COMP4 Physics Quiz Generator defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYA1 Particles Quantum Phenomena and Electricity txt defaultUnitSetup Write Particles and Radiation amp vbNewLine amp Electromagnetic Radiation and Quantum Phenomena amp vbNewLine amp Current Electricity defaultUnitSetup Close defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYA2 Mechanics Materials and Waves txt defaultUnitSetup Write Mechanics amp vbNewLine amp Materials amp vbNewLine amp Waves defaultUnitSetup Close defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYA4 Fields and Further Mechanics txt defaultUnitSetup Write Further Mechanics amp vbNewLine amp Gravitation amp vbNewLine amp Electric Fields amp vbNewLine amp Capacitance defaultUnitSetup Close defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYAS Nuclear Physics and Thermal Physics txt defaultUnitSetup Write Radioactivity amp vbNewLine amp Nuclear Energy a
11. None required question to already in quiz quiz dialogue the quiz Question does REPEATED not appear in TEST the quiz pane 5 Removing a T Question Are you sure As expected None required question from selected in dialogue If the quiz the quiz pane yes question is removed from the quiz pane E No question Please select a As expected None required selected question dialogue Damask Talary Brown 5556 68 Centre Number 64395 FA Godalmin o College Text search T Question s contain the search term Question pane refreshes to show all questions that contain the term COMP4 Physics Quiz Generator As expected None required E Blank search field Please enter a search term As expected None required dialogue X Valid search No question As expected None required field but no found questions dialogue contain the Question pane search term shows no questions Filter by T Any radio Question pane As expected None required difficulty button refreshes to selected show all questions of that difficulty X No Question pane As expected None required questions of shows no that difficulty questions Filter by T Any node Question pane As expected None required unit topic selected refreshes to show all questions of that unit topic X No Question pane As expected
12. None required questions of shows no that unit topic questions Filter by type T Any radio Question pane As expected None required button refreshes to selected show all questions of that type Damask Talary Brown 5556 69 Centre Number 64395 A Godalming W College COMP4 Physics Quiz Generator X No Question pane As expected None required questions of shows no that type questions 10 Alphabetically T There are Questions are As expected None required sort saved sorted questions alphabetically E allQuestions No action As expected None required is empty 11 View class logs T logs mayor All class logs If the form has Clear the class list may not are loaded already been every time the form already exist from loaded classes loads Second test document are loaded conducted 11b document is again without created if it the original list doesn t exist being log field will be cleared blank if there is no saved log 11 View class logs T logs mayor All class logs As expected None required b REPEATED may not are loaded TEST already exist from document document is created if it doesn t exist log field will be blank if there is no saved log 12 Add class T Class name Classis added As expected 7 None required field is filled in to the list on the logs form E Class name Please As expected None required
13. True Label9 Visible True Label1 Visible True End Sub Private Sub loadTopics ByVal sender As System Object ByVal e As System EventArgs Handles comboUnit SelectedIndexChanged Gets the unit selected in the units combo box and calls findTopics to load the associated topics to the topics combo box Dim unit As String comboUnit SelectedItem ToString Call findTopics unit End Sub Sub findTopics ByVal unit As String Clears the topics combo box comboTopic Items Clear Gets the user directory name by retrieving the environment variable userprofile Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments If System I0 File Exists userDirectory amp Benchmark amp unit amp txt Then Open the file at the user profile directory with the name of the selected unit Dim allLines As String System I0 File ReadAllLines userDirectory amp Benchmark amp unit amp ee If the file exists load existing topics into the combo box If allLines Length gt Then Damask Talary Brown 5556 86 Centre Number 64395 WA Godalming Silica Y College COMP4 Physics Quiz Generator For i To allLines Length 1 Iterate through the lines of the file reading a topic from each line comboTopic Items Add allLines i Next comboTopic Update End If Else comboTopic Items Add Unknown topic If there is an error reading the file load Unknown topic into the b
14. WA Godalming Tokai 7 College COMP4 Physics Quiz Generator Identification of Storage Media As the software has been designed for a fairly specific purpose and therefore should not be large calculate that the executable install file should be small taking up less than 1 megabyte of space When the system is used the question data class data and unit topic data are all written to plain text files These are saved in the user directory and should not exceed 5 megabytes These small file sizes mean that could choose to distribute the system in a number of ways The user could download the executable from a secure online location but the college has a strict firewall which may make this difficult and also means the user will have to be connected to the internet during the installation process On a slow connection this would be impractical It also means the file would have to remain online and accessible indefinitely in case a reinstall is required The system could also be installed from a CD ROM CD RW discs are unnecessary because data will only be read from and not written to the disc after the executable is initially copied which can store 194 megabytes of data The disc could then be kept to install the system on other devices However as the disc would only contain the installation file a large amount of space that cannot be overwritten would be wasted There is also the consideration that as the pressure on laptops and netbook
15. newQuiz add question END IF Damask Talary Brown 5556 60 Centre Number 64395 WA Godalming A College COMP4 Physics Quiz Generator Converting Questions to Moodle s Gift Format Multiple Choice General format Example Question What is the SI unit for mass CorrectAnswer Kilograms IncorrectAnswer Newtons IncorrectAnswer Metres IncorrectAnswer Kelvin Pseudo code Output question amp amp newline amp amp answer amp newline amp incorrectAnswer 0 amp newline amp incorrectAnswer 1l1 amp newline amp incorrectAnswer 2 amp newline amp amp newline amp newlin True False General format Example Question T Kilograms are the SI unit for mass T or Question F Metres are the SI unit for mass F Pseudo code If answer true then Output question amp T Else Output question amp F End if Short Answer General format Example Question CorrectAnswer What are kilograms the SI unit for Mass Pseudo code Output question amp amp answer amp Numerical General format Example Question Answer How many grams in a kilogram 1000 Pseudo code Output question amp amp answer amp Damask Talary Brown 5556 6 1 Centre Number 64395
16. txtMultiple2 Text txtMultiple3 Text comboUnit Text comboTopic Text Else Pass the answer as a string frmHome updateQuestion txtQuestion Text questionType CInt comboRating Text txtAns Text txtMultiple1 Text txtMultiple2 Text txtMultiple3 Text comboUnit Text comboTopic Text End If Else currentQuestion setQID allquestions Count currentQuestion setQText txtQuestion Text currentQuestion setQUnit comboUnit Text currentQuestion setQTopic comboTopic Text currentQuestion setQRating CInt comboRating Text currentQuestion setQType questionType If questionType TF Then currentQuestion setQAnswer comboAns Text Else currentQuestion setQAnswer txtAns Text End IF If questionType MC Then Call saveMultipleChoiceAnswers currentQuestion Save the question just added as a new question frmHome addNewQuestion currentQuestion frmHome refreshList End If End Sub Sub saveMultipleChoiceAnswers ByRef newquestion As Question newquestion setIncorrect txtMultiple1l Text newquestion setIncorrect txtMultiple2 Text 1 newquestion setIncorrect txtMultiple3 Text 2 newquestion setQAnswer txtAns Text End Sub Sub editQuestion ByRef editQuestion As Question Set the editing boolean to true so the form controls don t refresh editing True comboUnit Items Clear Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments If System I0 File Exists userDirectory amp Benchma
17. 2 Question text String 100 250 4 Teacher 3 Mark Integer 1 4 Teacher 4 Answer A String 8 30 4 Teacher 5 Answer B String 8 30 4 Teacher 6 Answer C String 8 30 4 Teacher 7 Answer D String 8 30 4 Teacher Damask Talary Brown 5556 1 7 Centre Number 64395 WA Godalming v College COMP4 Physics Quiz Generator x Lolege Refraction Mark Scheme Refraction Problems Mark Scheme aN 2 1 Calculate the refractive index for glass in which the speed of light is 2 25 x 10 ms n 3 00x10 1 33 5 2 25 x 10 u N _ Calculate the speed of light in diamond whose refractive index is 2 42 v 3 00x10 1 24x10 ms 2 42 1 3 Calculate the refractive index for paraffin in which the speed of light is 2 08 x 10 ms n 3 00x10 1 44 2 08 x 10 1 A Calculate the speed of light in perspex whose refractive index is 1 49 yv 300x10 2 01x10 ms 1 49 1 5 Calculate the refractive index for a medium given that the angle of incidence is 30 and the angle of refraction is 24 n sin30 0 500 1 23 sin24 0 407 1 6 Calculate the refractive index for glass if the angle of incidence is 45 and the angle of refraction is 27 n sin45 0 707 1 56 sin27 0 454 1 7 Calculate the angle of refraction in water if the angle of incidence in air is 24 and the refractive index is 1 33 sinr sini sin24 0 407 0 306 gt r 17
18. 8 18 n 1 33 1 33 1 Damask Talary Brown 5556 18 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator 8 Calculate the angle of incidence in air if the angle of refraction is 37 and the refractive index of the material is 1 65 sini nsinr 1 65sin37 1 65 x 0 602 0 993 gt 1 3 22 83 1 9 A ray passes from air to water calculate the angle in air if the angle in water is 45 1 33sin45 1 00sin9air gt sinO air 1 33 x 0 707 0 940 Oair 70 1 10 A ray passes from air to glass calculate the angle in the glass if the angle in air is 60 1 00sin60 1 50sinOgtass gt sinQgiass 1 00 x 0 866 0 577 1 50 Octass 35 1 11 A ray passes from water to glass calculate the angle in glass if the angle in water is 55 1 33sin55 1 50sinOgtass gt SinQpiass 1 33 x 0 819 0 726 1 50 Oglass 46 578 47 1 12 A ray passes from glass into water Calculate the angle in the glass if the angle in water is 90 What is this angle called 1 33sin90 1 50sinQsiess gt SinOgiass 1 33 x 1 00 0 887 1 50 Ogiass 62 457 62 1 Damask Talary Brown 5556 19 Centre Number 64395 ena Ry Goraming Y College Refraction Mark Scheme 1 per quiz per lesson Physics department quizzes COMP4 Physics Quiz Generator Mark Scheme Refraction Problems Mark Scheme n a 2 sides A4 1 Compiled in
19. A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equipment and televisions often have volume co True or false the threshold of hearing is the lowest level of sq An X ray tube operates with a pd across the tube of 80 kV A Which of the following is the correct equation for the work ful A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 CONOnfkwWNnhd gm Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 184 Centre Number 64395 Godalming east YO College COMP4 Physics Quiz Generator J Benchmark i _ _ lt _ X What is the force in Newtons acting on a body if its momentu A ray of light falls on a glass block and the angle of Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion i
20. Benchmark Questions txt Create a new instance of the streamwriter class For i To allQuestions Count 1 For every question in the system call the backupQuestion function to write it to the file backup Write backupQuestion allQuestions i Next backup Close Close the streamwriter End Sub Function backupQuestion ByVal q As Question Return data held on a question to be written to the file backupQuestion q getQText amp vbNewLine amp q getQType amp vbNewLine amp q getQAnswer amp vbNewLine amp q getIncorrect amp vbNewLine amp q getIncorrect 1 amp vbNewLine amp q getIncorrect 2 amp vbNewLine amp q getQUnit amp vbNewLine amp q getQTopic amp vbNewLine amp q getQRating amp vbNewLine End Function Sub refreshList Handles btnViewAll Click menuViewAl11 Click Removes all question filters currently applied and updates the question list If allQuestions Count gt Then If there are saved questions IstQuestions Items Clear For i To allQuestions Count 1 For every question re index and add to the list allQuestions i setQID i 1 lstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp Next Call backupAllQuestions lstQuiz ClearSelected lstQuestions ClearSelected Backup the quest
21. College COMP4 Physics Quiz Generator Using the System Creating Questions Damask Talary Brown 5556 1 5 6 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 1 5 7 Centre Number 64395 A Godalming ee M College COMP4 Physics Quiz Generator Deleting Questions Damask Talary Brown 5556 1 5 8 Centre Number 64395 WA Godalming bunt Y College COMP4 Physics Quiz Generator Adding and Removing Questions from the Quiz Damask Talary Brown 5556 1 59 Centre Number 64395 RA Godalming 2 Y College COMP4 Physics Quiz Generator Adding and Deleting Classes Damask Talary Brown 5556 160 Centre Number 64395 AR Godalming 2 M College COMP4 Physics Quiz Generator Adding and Deleting Class Logs Damask Talary Brown 5556 1 6 1 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Searching Questions Damask Talary Brown 5556 162 Centre Number 64395 FAR Godalming Physi Y College COMP4 Physics Quiz Generator Filtering Questions by Unit Topic or Difficulty Damask Talary Brown 5556 163 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 164 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Exporting Quizzes Damask Talary Brown 5556 165 Centre Number 64395 FAR Godalming 2 M College COMP4 Physics
22. Exampro n a Digital Anne Lancaster Once Indefinite Digital copy on the college network No Fluctuations 1 Title String 31 1 Exampro 2 Question text String 100 250 12 Exampro 3 Calculation String 200 500 12 Teacher 4 Mark Integer 1 12 Exampro 5 Answer Integer 12 Exampro Damask Talary Brown 5556 20 Centre Number 64395 AR Godalming Physi i Y College COMP4 Physics Quiz Generator Teacher s Mark Book Subject 3PHA eea E __ Group _ AJ IN Sone as eg AIA Msc 8 8 Gece V SQ CS ale rats he A A A A H 2 AF i e 6 iat mumga ME ca le ___ Oi CJA IB 66 C S3 B A 1S ble Zi IE E oo fio 4 ig Bo D So ja Alig is MN i CIAIA ex his 3 si cl s AlAl 4 bs 60 14 Ju lAlcli IP zole Roju A A oes 62 Dje AIA 15 136 af fo fa Lu Fle J t3 D ks VIA i E es D 3z D A B Damask Talary Brown 5556 2 1 Centre Number 64395 Godalming ita Y College COMP4 Physics Quiz Generator Teacher s mark book Physics department Mark book Mechanics marks quizzes page n a 1 side A4 1 Filled in by the physics teacher after every text quiz n a Manual Anne Lancaster Every lesson Indefinite Teacher s m
23. Pseudo code Var found e False Var searchTerm FOR i 0 to len allQuestions 1 IF question contains searchTerm THEN Found e True Output question ENDIF NEXT IF Found False THEN Output No questions found Validating Question Entry Damask Talary Brown 5556 58 Centre Number 64395 A Godalming Tokai A College COMP4 Physics Quiz Generator Explanation Question entry and editing needs to be controlled by strict validation rules in order for questions to be filtered and saved in a way which Moodle can mark This validation would be done before any question is saved This function checks for the presence of a question answer unit topic question type and rating If the question is a multiple choice one it also checks for the presence of incorrect answers and if the question is numerical it checks it is an integer and doesn t contain characters which would cause an exception Pseudo code DO Var validQuestion True IF question or unit e or topic or answer lt or type or rating then validQuestion e False ELSEIF type MC and incorrectAnswer 0 we OF incorrectAnswer 2 or incorrectAnswer 3 lt then validQuestion False ELSEIF type NU TRY INT answer CATCH validQuestion False END TRY ENDIF LOOP UNTIL validQuestion True NI Nw Nw NV Damask Talary Brown 5556 59 Centre Number 64
24. Quiz Generator Uploading Quizzes to Moodle Damask Talary Brown 5556 166 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 167 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Troubleshooting Damask Talary Brown 5556 168 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 169 Centre Number 64395 RA Godalming Physi i Y College COMP4 Physics Quiz Generator Appraisal Comparison of Project Performance Against Objectives The following table compares the performance of the completed system to the objectives originally laid out on page 28 to assess whether all the user s needs have been met Key l Original Objective Question answer unit topics and type should be mandatory for each question entered For multiple choice questions the incorrect answers should also be stored There should be a default difficulty rating for each question out of five which can be edited or left as the default There should be different question types available similar to the types that feature in the exams short answer calculation etc The questions must be searchable and displayable by question type unit topic and difficulty rating Users must be able to search all questions for a specific string Searching questions should
25. Sub filterDifficulty ByVal rating IstQuestions Items Clear Clear the question list For i To allQuestions Count 1 If allQuestions ElementAt i getQRating rating Then Search every question in the system for matching difficulty ratings lstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists Count the search results End Sub Private Sub filterType ByVal sender As System Object ByVal e As System EventArgs Handles menuFilterType Click Show filter form frmFilterType ShowDialog End Sub Sub filterType ByVal type lstQuestions Items Clear Clear the question list For i O To allQuestions Count 1 If allQuestions i getQType type Then Search every question in the system for matching question types IstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp Damask Talary Brown 5556 1 1 7 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists End Sub Private Sub alphabetSort ByVal sender As System Object ByVal e As System EventArgs Handles SortQuestionsAlphabetically Cli
26. View current quiz Add to quiz Is the document finished Yes Add to current document Select View all Sort unit topic rating questions alphabetically or enter search Filter by Question i Alphabetise x d uestion is ree unit topic rating or H saved questions Sarok Adding existing questions Create new question Enter correct answer Enter incorrect answers Select topic a Enter question Select question A E tite Nee text etc Multiple choice question Exporting to Export file Moodle Damask Talary Brown 5556 149 Centre Number 64395 WA Godalming E M College COMP4 Physics Quiz Generator User Guide Damask Talary Brown 5556 1 5 0 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 1 5 1 Centre Number 64395 WA Godalming east Zw College COMP4 Physics Quiz Generator Installation Guidelines Damask Talary Brown 5556 1 5 2 Centre Number 64395 WA Godalming v College COMP4 Physics Quiz Generator Installation from a USB Flash Drive Damask Talary Brown 5556 1 5 3 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 1 54 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 1 5 5 Centre Number 64395 WA Godalming ee M
27. a Which of the following statements is correct fo An object is whirled in uniform circular motion i True or false a capacitor consists of two perpe A ray of light falls on a glass block and the ang The critical angle of diamond is 24 What is its Modern hi fi equipment and televisions often Please select a question True or false the threshold of hearing is the lo An X ray tube operates with a pd across the tube of 80 kV 4 Which of the following is the correct equation for the work fui A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 gemm Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 182 Centre Number 64395 Godalming COMP4 Physics Quiz Generator W College J Benchmark File Edit View X Ca What is the force in Newtons acting on a body if its momentul Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equip
28. allQuestions 11 List display of allQuestions 12 Damask Talary Brown 5556 75 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator Testing the loading of questions into the system from a text file Description The import algorithm reads the lines of the text file into a 1 dimensional array called allLines and then reads every 9 consecutive lines and assigns these lines to the properties of a newly instantiated question Each one of these questions is added to the allQuestions collection before the next is looped through For this test l Il be importing 15 questions from a text file Code being tested Dim count As Integer For i To allLines Length 8 Step 9 Dim savedQuestion As New Question savedQuestion setQID count 1 savedQuestion setQText allLines i savedQuestion setQType allLines i 1 savedQuestion setQAnswer allLines i 2 If savedQuestion getQType MC Then savedQuestion setIncorrect allLines i 3 savedQuestion setIncorrect allLines i 4 1 savedQuestion setIncorrect allLines i 5 2 End If savedQuestion setQUnit allLines i 6 savedQuestion setQTopic allLines i 7 savedQuestion setQRating allLines i 8 count count 1 allQuestions Add savedQuestion Next Expected result to count 1 9 1 starting at line O For every incrimination of count allQuestions count should contain data from lines count 9 Ab
29. backup Close Close the streamwriter End Sub Function backupLog ByVal g As Group Return data held on a group to be written to the file backupLog g getGroupName amp vbNewLine amp g getGroupLog amp vbNewLine End Function Sub refreshLog IstAllClasses Items Clear Clear the classes list and repopulate it from the allclasses collection For Each item In allClasses lstAllClasses Items Add item getGroupName Next If allClasses Count Then txtLogs Text Try lstAllClasses ClearSelected lstAllClasses SelectedIndex Try selecting the first element in the class list Catch the exception which will be thrown if allclasses is empty Catch End Try Call backupLogs End Sub Private Sub addClass ByVal sender As System Object ByVal e As System EventArgs Handles btnAddClass Click Show the add class dialog frmAddNewClass ShowDialog End Sub Private Sub deleteClass ByVal sender As System Object ByVal e As System EventArgs Handles btnDeleteClass Click If lstAllClasses SelectedIndex gt 1 Then If there is a group selected Damask Talary Brown 5556 100 Centre Number 64395 AR Godalming Physi i Y College COMP4 Physics Quiz Generator Dim result As MsgBoxResult MsgBox Are you sure you want to delete this class MsgBoxStyle YesNo Confirm the deletion of the group with the user If result MsgBoxResult Yes Then allClasses RemoveAt 1stAllClasses SelectedIndex Remove the group from the all
30. be able to see at a glance which forms are linked to each other and which can only navigate through other forms I ve created a table It is unidirectional being able to navigate from form A to B for example does not mean that the user can directly navigate from form B back to A it may only be able to return focus to A upon closing The table can simply be filled in with ticks or crosses to test the navigation works as expected Until implementation is complete cannot know for sure how many forms there will be in the system so the following table with forms A H is merely an estimate The finished system could have more or less but not drastically so Navigating from Navigating to A A B C D E F G H Damask Talary Brown 5556 66 Centre Number 64395 oa Godalming COMP4 Physics Quiz Generator College Testing Input and Output Testing This table is an overview of the basic input and output tests conducted on the system in order to make sure the expected outcome of every action is the actual outcome when using the system Pale blue rows indicate tests that were not featured in the original plan for features which were added during implementation 1 Adding a T All fields Question is As expected None required question filled in added to the pane and form closes E Blank field s Please e
31. be filtered and displayed by various parameters Quizzes could be created and then either saved or exported to Moodle along with a separate answer sheet for printed quizzes or integrated answers for Moodle e As long as all the objectives prove to be realistic and achievable this is the most feasible potential solution It meets the user s needs as outlined by the objectives for the proposed system and it could be updated as time progresses to deal with changing classes or styles of question e The existing staff shouldn t have a problem using the system skill wise which means can make it as efficient as possible without having to keep the interface at the most basic of complexity levels e This solution should be achievable when taking into account my skill level and the time constraints e The students wouldn t have to adjust to a new system of taking quizzes and so could concentrate more on their work e Data which would be constantly repeated such as module names could as above be stored by the system for quick selection to minimise time spent using the system and the possibility of typographic errors e Using forms to control the user s input rather than importing questions from text files means that features such as allowing the user to insert commonly used Unicode characters used in physics such as letters of the Greek alphabet and mathematical symbols can be included with relatively no difficulty e The user woul
32. data in the system fy txtQuestion J pniCharacters Cy combounit OF comboTopic Oj radSA radTF radMC radNU J comboAns txtMuliple1 J txtMultiple2 txtMultiple3 amp amp gt comboRating btnSaveQuestion txtAns behind comboAns Public Class frmAddEditQuestion Friend allquestions As New System Collections ObjectModel Collection Of Question Friend modifier makes the allquestions collection accessible in this form Dim questionType As String Dim editing As Boolean Damask Talary Brown 5556 83 Centre Number 64395 RA Godalming Physi i Y College COMP4 Physics Quiz Generator Public questiontype variable and editing boolean are accessed by a majority of subroutines Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Me MinimizeBox False Me MaximizeBox False Me MaximumSize New Point 450 440 Resets the size of the form to the default with the panel collapsed If editing False Then If the form has been called to add a question rather than edit clear the units combo box comboUnit Items Clear Gets the user directory name by retrieving the environment variable userprofile Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments If System I0 File Exists userDirectory amp Benchmark Units txt Then Dim allLines As String System I0 File ReadAllLines userDirectory amp Benchm
33. existing classes Dim allLines As String System I0 File ReadAllLines userDirectory amp Benchmark Logs txt If allLines Length gt Then For i O To allLines Length 1 Step 2 One group is read every two lines Dim savedClass As New Group Create a runtime instance of the group class and add data from the subsequent lines savedClass setGroupName allLines i savedClass setGroupLog allLines i 1 allClasses Add savedClass Add the imported class to the allclasses collection Next 1IstAllClasses Items Clear Call refreshLog Refresh the class list to update it from the collection End If End If End Function Sub backupLogs Gets the user directory name by retrieving the environment variable userprofile Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments If System IO File Exists userDirectory amp Benchmark Logs txt Then System I0 File Delete userDirectory amp Benchmark Logs txt Clear the previous backup file and rewrite it from the allclasses collection Dim backup As New System 1I0 StreamWriter userDirectory amp Benchmark Logs txt Damask Talary Brown 5556 99 Centre Number 64395 RA Godalming Physi i Y College COMP4 Physics Quiz Generator Create a new instance of the streamwriter class For Each item In allClasses For every group in the system call the backuplog function to write it to the file backup Write backupLog item Next
34. filter option 5x Selected Handles the checking event for each of the five radio buttons Passes the respective difficulty ratings to filterDifficulty see frmHome to filter frmFilterType startup Handles the form loading event and the sizing options of the form Sets the default filter option 4x Selected Handles the checking event for each of the four radio buttons Passes the respective question types to filterType see frmHome to filter frmFilterUnitT opic startup Handles the form loading event and the sizing options of the form Loads all units as parent nodes and all topics as child nodes of their respective parents from the unit and topic text files Collapses all nodes nodeChanged Handles the after select event for the tree and passes the level and title of the selected index to filterUnitTopic see frmHome exis ees String The file name of the user profile folder in C Users used in saving and loading SN resl String Array storing the contents of the units file as it is read Each unit is temporarily declared as a parentNode parentNode TreeNode while being read from the file and having topic nodes added as children topicLinest string Array storing the contents of the topics files as they are read nodeTitle String The title of the node selected Damask Talary Brown 5556 1 3 1 Centre Number 64395 WA Godalming Y C
35. forms and execute algorithms correctly have planned several testing methods Input and Output Testing Design The following table is designed to test the actual outcome vs the expected outcome for every user input and system output in the case of typical correct and expected data erroneous would cause the system to throw an exception e g Incorrect data types data and extreme data less expected data e g Blank fields or boundary data 1 Adding a T All fields filled Question is added to the question in pane and form closes E Blank field s Please enter__ dialogue Form stays open 2 Editing a T There isa Edit question form loads question question with existing data and selected when saved question updates in the question pane and if applicable the quiz E None Please select a question selected dialogue 3 Deleting a T There is a Are you sure dialogue and question question if yes then question is selected deleted from the pane and if applicable the quiz E None Please select a question selected dialogue 4 Adding a T Question Question appears in the question to selected quiz pane the quiz E No question Please select a question selected dialogue X Question is already in quiz Damask Talary Brown 5556 Already in quiz dialogue Question does not appear in the quiz pane 63 Centre Number 64395 FA Godalmin o Colle
36. frmTextSearch startup Handles the form loading event and the sizing options of the form searchClicked Handles the search button click event shortcutSearch Handles the keypress event If the keypress is the return key it calls search see below Search Validates the presence of a search term The string entered by the user which will be searched for searchTerm String Damask Talary Brown 5556 1 3 7 Centre Number 64395 WA Godalming 4 College COMP4 Physics Quiz Generator Detailed Algorithm Design Algorithm Question Backup Location frmHome backupAllQuestions Description The algorithm gets the file path of the user directory and writes overwrites a question file calling the backupQuestion function for each question in the question bank backupQuestion returns question data over nine consecutive lines Pseudo code Var backup e File user Benchmark Questions txt FOR i 0 TO allQuestions count 1 WRITELINE backup backupQuestion Questions i NEXT FUNCTION backupQuestion question backupQuestion question text amp newline amp question type amp newline amp question answer amp newline amp question incorrect 0 amp newline amp question incorrect 1 amp newline amp question incorrect 2 amp newline amp question unit amp newline amp question topic amp newline amp question rating END FUNCTION Code
37. gold has a density of 20200 kg m Calculate the percentage by volume of gold in the alloy Damask Talary Brown 5556 12 Centre Number 64395 Godalming teat Y College COMP4 Physics Quiz Generator Density Question Physics department Density Sheet quizzes n a A4 1 Manually typed n a Digital Anne Lancaster Once Indefinite Digital copy on the college network 1 per lesson No fluctuations Physics students Answering questions 1 Title String 7 1 Teacher 2 Data String 400 1 Teacher 3 Question 1a String 80 1 Teacher 4 Question 1b String 55 1 Teacher 5 Question 1c String 60 1 Teacher 6 Question 1d String 96 1 Teacher 7 Question 2 String 83 1 Teacher 8 Question 3 String 165 1 Teacher 9 Question 4 String 95 1 Teacher 10 Question 5 String 222 1 Teacher 11 Question 6 String 203 1 Teacher 12 Question 7 String 122 1 Teacher 13 Extensions String 83 1 Teacher Momentum Question Sheet Damask Talary Brown 5556 1 3 Centre Number 64395 WA Godalming Y Coll COMP4 Physics Quiz Generator Momentum Questions t J 1 _ For the two physical quantities impulse and force which one of the following is correct A Impulse is a scalar and momentum is a scalar Impulse is a scalar and force is a vector and momentum is a vector 5S C Impulse is a vector and momentum is a vector and force is a scalar D impulse is a vector and force is a vector
38. insertCharacter 0 End Sub Private Sub btno2_Click ByVal sender As System Object ByVal e As System EventArgs Handles btno2 Click Call insertCharacter o End Sub Private Sub btnQ_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnO Click Call insertCharacter Q End Sub Private Sub btnw2_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnw2 Click Call insertCharacter w End Sub Private Sub btnDegrees_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnDegrees Click Call insertCharacter End Sub Private Sub btnf_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnf Click Call insertCharacter f End Sub Private Sub btnPlusMinus_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnPlusMinus Click Call insertCharacter End Sub Private Sub btnAngle Click ByVal sender As System Object ByVal e As System EventArgs Handles btnAngle Click Damask Talary Brown 5556 93 Centre Number 64395 WA Godalming Signal YW College COMP4 Physics Quiz Generator Call insertCharacter 2 End Sub Private Sub btnLessEqual_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnLessEqual Click Call insertCharacter lt End Sub Private Sub btnMoreEqual_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnMoreEqual Click Call insertCharacter gt End Sub Private Su
39. involve the minimum free text entry to save time and minimise errors This could be implemented using radio buttons or drop down menus for selection Damask Talary Brown 5556 1 70 Centre Number 64395 RA Godalming Y College COMP4 Physics Quiz Generator Original Objective Completed System The user must be able to edit existing questions or delete them from the database The user should be able to preview the answer to each question that is displayed The user must be able to add records of new classes to the system Every detail of a question can be edited and questions can be deleted If a question is deleted from the system it is also deleted from the quiz if present there too New classes can be added to the system and logs can be added to those classes Each class stored must have its own log which would allow free text entry similar to a teacher s diary The user must be able to record recently set questions from the textbook or chapters covered and retrieve this information when assigning new questions Users have free text entry excluding use of the return key of up to 500 characters to store information on the current progress of each class These can be accessed at any time The user must be able to delete classes or class logs from the system Both logs and classes can be deleted from the system The user should be able to create a quiz by select
40. of a proton in Mev 2 which atom nucleus does alpha radiation emit 4 A mercury atom has an ionisation energy of 10 4 Mev Calculate the ionisation in joules File Edit Format View Help Particle Physics Questions MARK SCHEME 1 a a 2 False 1 3 938 2 4 Helium 2 5 1 66 18 J 4 Ln1 Coll The next screenshots show the exported Gift files and how they would look when exported and uploaded to Moodle There is no separate mark scheme file for Moodle because it is integrated into the question file Damask Talary Brown 5556 5 6 Centre Number 64395 WA Godalmin bent Y Falleres g COMP4 Physics Quiz Generator what is a Baryon made up of Quark Quark Quark Anti Quark Anti Quark Quark Quark Quark Anti Quark Quark Anti Quark True or False an electron neutrino has a negative charge F what is the rest energy of a proton in Mev 938 which atom nucleus does alpha radiation emit Helium A mercury atom has an ionisation energy of 10 4 Mev Calculate the ionisation in joules 1 66 104 18 14 What is a Baryon made up of Marks 1 Choose one answer a Quark Quark Quark b Quark Quark Anti Quark c Anti Quark Anti Quark Quark d Quark Anti Quark 26 A mercury atom has an ionisation energy of 10 4 MeV Calculate the ionisation in joules Marks 1 Answer 34 What is the rest energy of a proton in MeV Marks 1 Answer
41. of use and SS menu options are grouped by type Question Open Quiz Quiz Save Quiz Class Export Quiz Print Damask Talary Brown 5556 5 1 Centre Number 64395 Re Goraming ian F Y College COMP4 Physics Quiz Generator View All Questions would reset any search filters View All Questions Filter Questions By Unit or Topic Class Logs By Difficulty By Class Filter Questions opens any of the filter dialogue boxes to enable the user to specify the filter terms To filter by unit general topic or specific topic the user would double click the selected node in the tree The first levels of nodes are units the second are Current voltage characteristics general topics and the third EMF and iniemal resisianice are specific topics Parent i Oscilloscope nodes can be expanded or Potential divider collapsed a feature which Resistivity improves navigation H Electromagnetic Radiation and Quantum Phenomena Particles and Radiation PHYA2 Mechanics Materials and Waves Materials Mechanics Waves Diffraction Interference Longitudinal and transverse waves Progressive waves Refraction at a plane surface Superposition of waves stationary waves PHYA4 Fields and Further Mechanics Capacitance Caron Electricity Alternating currents Charge current and potential difference B Electric Fields _ Comparison of elect
42. on this computer Please contact your system administrator This is a question This is the answer Particles and Radiati Renters questions Quiz contains 0 huss Damask Talary Brown 5556 2 12 COMP4 Physics Quiz Generator Centre Number 64395
43. setQText allLines i savedQuestion setQType allLines i 1 savedQuestion setQAnswer allLines i 2 If savedQuestion getQType MC Then Read incorrect answers for multiple choice questions savedQuestion setIncorrect allLines i 3 Q savedQuestion setIncorrect allLines i 4 1 savedQuestion setIncorrect allLines i 5 2 End If savedQuestion setQUnit allLines i 6 savedQuestion setQTopic allLines i 7 savedQuestion setQRating allLines i 8 count count 1 allQuestions Add savedQuestion Add the imported question into allQuestions collection Next Call refreshList Refresh the question list and recount the lists End If Else MsgBox Welcome to Benchmark You haven t added any questions yet if the files don t exist this is the first time the software has been used End If End Function Sub backupAl1Questions Gets the user directory name by retrieving the environment variable userprofile Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments Damask Talary Brown 5556 1 1 1 Centre Number 64395 AR Godalming Physi Y College COMP4 Physics Quiz Generator If System I0 File Exists userDirectory amp Benchmark Questions txt Then System I0 File Delete userDirectory amp Benchmark Questions txt Clear the previous backup and rewrite it with the contents of allquestions Dim backup As New System I0 StreamWriter userDirectory amp
44. string is T what is the centripetal force Fc at the moment that the object passes through the bottom point in the circle 2 True or false the threshold of hearing is the lowest level of sound the minimum intensity of sound which a normal ear can detect when listening to a frequency of 10 kHz 3 A steady current of 0 25 A passes through a torch bulb for 6 minutes Calculate the charge in coulombs which flows through the bulb in this time 4 A metal wire of length 1 4 m has a uniform cross sectional area 7 8 x 10 7 m 2 Calculate the resistance R of the wire in ohms to two significant figures The resistivity of the metal 1 7 x 10 8 Om 5 An X ray tube operates with a pd across the tube of 80 kV At the working pd of 80 kV the anode current was 120 mA The X ray tube has an efficiency of 0 70 Calculate the rate of production of heat at the anode in kW 6 A 600g object is whirled in a circle on the end of a string If the string is 0 5m long and the force in the string is 4 8N what is the speed of the object in ms 1 7 Aray of light falls on a glass block and the angle of incidence is 45 If the angle of refraction is 30 what is the refractive index of glass This site is maintained and operated by ILT Services For more information please Godalming College is not responsible for the content of external internet sites Powered by Damask Talary Brown 5556 2 0 3 Centre Number 64395 RA Godalm
45. text characters must exist mass measured in Question String 1 15 List Allows the Multiple Blank or type characters user to choice type which choose one does not of the four exist existing types Correct String 1 100 Presence Correct 10N Blank answer characters answer must exist Damask Talary Brown 5556 35 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator Incorrect String 1 100 Presence Incorrect 20N Blank answer characters answer multiple must exist choice only Unit Integer 5 characters List Allows PHYA1 Blank selection from a list of all units General String 1 50 List Allows Physics of Blank topic characters selection the ear from a list of all topics Specific String 10 100 List Allows Diffraction Blank topic characters selection gratings from a list of all topics Rating Integer 1 character List Allows 4 Blank selection from the integers 1 5 Quiz title String 1 30 Presence Quiz title Stationary Blank characters must exist waves questions Class String 1 500 Presence Class Covered Blank record characters record diffraction most must exist gratings on recent 10 9 topics Damask Talary Brown 5556 36 Centre Number 64395 A Godalming Tokai Le College COMP4 Physics Quiz Generator Justification of Included Question types Below are all the types of que
46. the database 1 1 The teacher looks at their paper based records to check which chapter of the textbook their class most recently covered There is no way of keeping a record of this from within the system 1 2 Exampro is opened and the teacher uses the search filter to search for the relevant questions by topic figure 1 for broader quizzes they searched by unit of work figure 2 There are few other ways to filter the questions which for a large database can be problematic and time consuming figure 3 1 3 If the questions are for a starter exercise ten are selected figure 4 If they re for revision booklets it could be a hundred or more A problem arises here because the existing system doesn t notify the user if they re adding a question which is already in the current document Systems Programming amp Network Hardware Software and Applications Processing amp Programming Techniques Advanced Systems Development Practical Project Teacher guidance ZE coea ces Figure 1 Figure 2 Damask Talary Brown 5556 7 Centre Number 64395 9 Godalming SY College COMP4 Physics Quiz Generator amp Structured B Short Answer 99 4213 amp Fundamentals of Computer 11 I Low level languages S00 N2 09 amp Applications amp Effects Neta 9 6 3 Data Protection Act Computer Misuse Act encryptior 00 N2 10 amp Operating Systems g 6 2 Batch interactive Start Search f Continu
47. vious saesieta tonne nil nacaatenagaamesacaun aia eaaesatenaauuneiasanes 137 Detailed Algorithm DeSIBN ciicsincnsiccsscvexteascuncdassevextanse E exgedecveveececseavedsesevaste 138 Post Implementation System Overview ccsssccccesssnececssnsececseseeeeceessnaecesseaaeeesesenneeens 148 TOPS CHIANG nisani aene a estuary e a i aeaiiai 148 Damask Talary Brown 5556 2 Centre Number 64395 A Godalming Tokai Le College COMP4 Physics Quiz Generator Syst m FIOWCH Alt dvcsssedsevaceccevdestasvesedancivevansdeviaua sits AET 148 Use r Guide coiioanininiiimdne ino ino emote 150 Installation Guidelines ssenlaavansoisatereetaddeventadsanindenddtsnsiedadocsad cseunadstedesdeddvonna dedensalheeantaciias 152 Installation from a USB Plast Drive ccsiausrsaniensaadonanaaanawsgnagnnesaaaasiensasanivexdaaniensanamanncaine 153 Using the SV SUI Weta acsnctrectanctits ce nedennadstcsnlsnteacdvnadridinactiaduindeceldatepindduuedsidiagbindaeaarceoabwbecdiues 156 Creating QUESTIONS siisii pisaia s pidii ais iaa Qensevesdcnsasesgensavengins 156 Deleting QUESTIONS sesiis oinaseriiiseineass iranis iat nana ienai a eaaa aeiaai aeien 158 Adding and Removing Questions from the QuiZ ccssscccessstteceesesteeeeeseneeeees 159 Adding and Deleting Classes wascciseiedssicccssdesvinateaceseuvenvecesssiucenimieeinvasetestnwarveccecans 160 Adding and Deleting Class Logs ciiicaseccceseyuad cxutvasden sass atvesapeecuetavsedsanivsedsesedeadumvayeuce 161 Search
48. 2 Isotopes of the same element all have the same Proton nul 3 A plane flying in a uniform horizontal circle at constant speec 4 A 600g object is whirled in a circle on the end of a string If th 5 Which of the following statements is correct for an object mo 6 An object is whirled in uniform circular motion in a vertical circ 7 True or false a capacitor consistg 8 A ray of light falls on a glass bloc 9 The critical angle of diamond is 2 10 Modern hi fi equipment and teleW This quiz doesn t contain any questions 11 True or false the threshold of he 12 An X ray tube operates with a pd 13 Which of the following is the co ox 14 A steady current of 0 25 A passe 15 The battery in a torch bulb supplie r Viewing 15 questions Quiz contains 0 questions 36 Damask Talary Brown 5556 Z 0 5 Centre Number 64395 WY College A Godalming COMP4 Physics Quiz Generator File Edit Format View Help what is the force in Newtons acting on a body if its momentum change a NU E 4 PHYA2 Mechanics Materials and waves Mechanics 1 Isotopes of the same element all have the same MC Proton number Neutron number Mass number Decay constant PHYAL Particles Quantum Phenomena and Electricity Particles and Radiation 1 A plane flying in a uniform horizontal circle at constant speed and MC Experiences a resultant force acting towards the centre of the circ Has no resultant force acting on it
49. 395 A Godalming COMP4 Physics Quiz Generator Y College Importing Questions from a Text File Explanation This function reads all the questions in a collection in the system For each question if the question body is stored on the nth line the type will be on the n 1 th line the answer on the n 2 th line and so on Each question will be saved over nine lines Pseudo code IF file exists Var allQuestions Var allLines file Var count e 0 FOR i e 0 to LEN file 8 STEP 9 count count 1 question QID count question text allLines i question type allLines i l1 question answer allLines i 2 IF type MC THEN question incorrectAnswer 0 allLines it3 question incorrectAnswer 1 allLines it4 question incorrectAnswer 2 allLines it5 END IF question unit allLines i 6 question topic allLines i 7 question rating allLines i 8 allQuestions add question NEXT END IF Checking for Repeated Questions Explanation The system has to be able to notify the user if they are adding a duplicate question to the quiz so it isn t accidentally assigned twice Pseudo code IF listItemIndex gt 1 THEN Var question allQuestions listItemIndex If newQuiz CONTAINS question THEN Output This question is already in the quiz ELSE
50. 44 Which atom nucleus does alpha radiation emit Marks 1 Answer 54 True or False an electron neutrino has a negative charge Marks 1 Answer True False Damask Talary Brown 5556 5 7 Centre Number 64395 WA Godalming YW College COMP4 Physics Quiz Generator Algorithm Design Random Ordering of Multiple Choice Answers Explanation Every multiple choice question which is either exported or printed needs to have a different order of answers i e the second option shown cannot always be the correct answer This algorithm randomises the indexes of the array of four answers three incorrect and one correct Pseudo code R Random l1 4 FOR EACH Question in newQuiz where Type e MC Var incorrectAnswer 2 Var answer X R Next IF x 1 Then Output answer incorrectAnswer 0 incorrectAnswer 1 incorrectAnswer 2 ELSEIF x 2 Then Output incorrectAnswer 0 answer incorrectAnswer 1 incorrectAnswer 2 ELSEIF x 3 Then Output incorrectAnswer 0 incorrectAnswer 1 answer incorrectAnswer 2 ELSE Output incorrectAnswer 0 incorrectAnswer 1 incorrectAnswer 2 answer ENDIF NEXT Question Text Search Explanation As well as being able to filter the questions in the viewer users should be able to search for a string and have all questions which contain that string returned to them A similar algorithm is used for the filtering
51. AL 106 AL 107 108 12 13 AL 108 AL 109 AL 110 AL 111 AL 112 AL 113 AL 114 AL 115 AL 116 117 13 14 AL 117 AL 118 AL 119 AL 120 AL 121 AL 122 AL 123 AL 124 AL 125 126 14 15 AL 126 AL 127 AL 128 AL 129 AL 130 AL 131 AL 132 AL 133 AL 134 Final collection As expected The table shows a representation of each property stored in the elements of the collection data has been loaded as expected For every incrimination of count allQuestions count contains data from lines count 9 to count 1 9 1 starting at line 0 Damask Talary Brown 5556 77 Centre Number 64395 Godalming east F College COMP4 Physics Quiz Generator Navigation Testing The following table tests the unidirectional navigation between forms which link to each other Blue cells indicate forms are not linked Grey cells indicate there is no need for navigation The key is as follows frmAddEditQuestion frmAddLog frmAddNewClass frmClassLogs frmFilterDifficulty frmFilterType frmFilterUnitTopic frmHome frmTextSearch TrMaoaTmmmooawvsD D Navigation successful J No direct navigation but focus returned to correct form upon closing J Navigation unsuccessful x Navigating from Navigating to Damask Talary Brown 5556 78 Centre Number 64395
52. As System Object ByVal e As System EventArgs Handles btnCancel Click If txtLog Text lt gt This class doesn t have a log yet Then Damask Talary Brown 5556 95 Centre Number 64395 WA Godalming Physi i Y College COMP4 Physics Quiz Generator If the contents of the text box has changed since loading notify the user they will lose changes Dim result As MsgBoxResult MsgBox You will lose unsaved changes Are you sure you want to cancel MsgBoxStyle YesNo If result MsgBoxResult Yes Then Me Close End If If the user does not choose yes on the save changes dialog leave the form open Else Me Close End If End Sub Private Sub handleReturn ByVal sender As Object ByVal e As System Windows Forms KeyPressEventArgs Handles txtLog KeyPress If the user presses the return key set the KeyPressEvent to handled so the return is not implemented This is to stop the user using the return key in logs If e KeyChar Chr Keys Return Then e Handled True End Sub Private Sub saveLog ByVal sender As System Object ByVal e As System EventArgs Handles btnSave Click If txtLog Text lt gt And Len txtLog Text lt 500 Then If the log is not empty and not longer than 500 characters Dim log As String txtLog Text frmClassLogs addLog log Call the addLog subroutine passing the contents of the log text box txtLog Clear Clear the text box ready for the next form loading event Me Close ElseIf Len txtLog Tex
53. COMP 4 BENCHMARK QUIZ SYSTEM WA Godalming Seat h College COMP4 Physics Quiz Generator Contents Analysis y sasissicsvesuencnnexsoienlcasuwaddccsancasdaussenastoventesssnanacusancudeusdedsawuuesendaibenasiausautascausvenseuusendanaunen 4 Project Problem Definition wcdisacieterassackceestgteadeuiphaaasendiedaseesadtdaccantvdededdhtdaousd elaehelicsuctotetlender 4 Background to the Problem sessicsssaivasasdaninescisicetesiansesiauaneeaaianseaecdectahsaawsiaraivemadinaeaniones 4 Interview with Anne Lancaster The Primary Client cc ccccsssssececsssseeecseseeeeceeeeaaeeeeees 5 Observation of Existing System scsisziaascansercinsriddsctnnsavammadselen eeanenaslauvaetennacieeaaacans 7 System PIO WIEN 122 59 cascceaxacesesavieaccsauiedcnapeddavcndixcesnaiusceeeganiedinagededeindudacenngedeeeciqusaiauloud dats 10 Prospective Users and Acceptable Limitations c cccccssssececsssseeecesseeeeceeseeeeeeeseaeeeeeees 11 Document Specification Sheets Volumetrics and Data Dictionarie s cccceeeesseeeeeees 11 Data Sources and Destinations asics sescaavenaynaevnsasnanue axnainasegiinpuaasnauuasaxacave tasassed easncunnvepeneens 23 Data Flow SEG TIS esicacn ates ecpnat creian naiinis a a aneii dopant Ta A Ea aaaea 24 Entity R lationship DIG OV aN diiccscpescsesicscccashaponeesutpneatewalbeunysiccateepateniiiasnctiuneleentienumeakientact 26 Tasks to be Computerised and the Benefits Of COMPUTETISING sececeseetteeeeee
54. Dim backup As New System 1I0 StreamWriter userDirectory amp Benchmark Questions txt For i To allQuestions Count 1 backup Write backupQuestion allQuestions i Next backup Close Function backupQuestion ByVal q As Question backupQuestion q getQText amp vbNewLine amp q getQType amp vbNewLine amp q getQAnswer amp vbNewLine amp q getIncorrect amp vbNewLine amp q getIncorrect 1 amp vbNewLine amp g getIncorrect 2 amp vbNewLine amp q getQUnit amp vbNewLine amp q getQTopic amp vbNewLine amp q getQRating amp vbNewLine End Function Algorithm Deleting a question Location frmHome deleteQuestion Description The algorithm gets the question ID of the selected list item and after checking it is valid i e That there is an item selected it asks the user to confirm deletion It then checks if the question is in the quiz and removes it if it is Finally it removes it from the allQuestions collection and updates the quiz and question lists Pseudo code Var idIndex STR quiz item index Damask Talary Brown 5556 1 3 8 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator IF idInxex gt 0 THEN OUTPUT Are you sure you want IF answer Yes THEN Var qDelete allQ IF alreadyInQuiz q Var quizindex quiz remove q t to delete this question uestions idIndex Delete THEN newQuiz qDelete index uiz
55. Gawilibrium wher Question A Type Shortafsuer Numerical Multiple choice True false panee am ea tine Bs COMP4 Physics Quiz Generator A _ j Answer True Rating ij _ dis ma a Sr WONG Rating o e This is the Add Edit Question pane The user inputs all the data for a question including the question itself unit and topic and then the type When the radio button for any type is clicked the bottom of the pane will change to display the relevant answer inputs Short answer and numerical answer are identical with a text field for entry and a drop down menu to select difficulty rating True False questions have another drop down menu instead of a text field and multiple choice questions have an additional four incorrect answer boxes Damask Talary Brown 5556 48 Centre Number 64395 WA Godalming bent Y College COMP4 Physics Quiz Generator A ee Oa ag la FN A EE Quizzes Helk What arc theSt units Cor mass What is 9 to Zzse What are the S1 Vaits for length Which of He otlowing does the tonstant C represent a a i True oc False Light vears afe a Measure og dist I a eee eee The current quiz being edited is displayed at the top of this form along with a question viewer pane identical to the one above below it Questions can be selected from the v
56. If e KeyChar Chr Keys Return Then Call addToQuiz If the user presses return while an element in the question list is selected add the element to the quiz End Sub Damask Talary Brown 5556 1 19 Centre Number 64395 WA Godalming College COMP4 Physics Quiz Generator Sub addToQuiz If IlstQuestions SelectedIndex gt 1 Then If there is a question selected Get the question index from the list text Dim line As String lstQuestions SelectedItem ToString Dim questionIndex As Integer CInt line Substring line IndexOf 1 Try Checks if the quiz contains the question before adding it to the newquiz collection If Not alreadyInQuiz allQuestions questionIndex Then newQuiz Add allQuestions Item questionIndex lstQuiz Items Add newQuiz Last getQText amp amp newQuiz Last getQAnswer amp Call countLists Recounts the question and quiz lists Else MsgBox Error This question is already in the quiz Notifies the user that the question has not been added End If Catch End Try Else MsgBox Please select a question and try again End If End Sub Function alreadyInQuiz ByVal x As Question Checks if the newquiz collection already contains the question If newQuiz Contains x Then alreadyInQuiz True Else alreadyInQuiz False End If End Function Private Sub deleteFromQuiz ByVal sender As System Object ByVal e As System EventArgs Handles btnDeleteFromQuiz Click Calls the delete
57. Index setIncorrect qInc3 2 End If allQuestions questionIndex setQUnit qUnit allQuestions questionIndex setQTopic qTopic Update the question and quiz lists to display the current question data Call refreshList Call refreshQuiz End Sub Sub deleteQuestion Handles btnDeleteQuestion Click menuDeleteQuestion Click Dim qDelete As Question Create a new instance of the question class Try If there is a question selected Get the question index from the list text Dim line As String lstQuestions SelectedItem ToString Damask Talary Brown 5556 1 14 Centre Number 64395 WA Godalming College COMP4 Physics Quiz Generator Dim idIndex As Integer CInt line Substring line IndexOf 1 Dim quizIndex As Integer refreshList Remove all filters from the question list If idIndex gt 1 Then Dim result As MsgBoxResult MsgBox Are you sure you want delete this question MsgBoxStyle YesNo confirm deletion Ask the user to confirm deletion If result MsgBoxResult Yes Then qDelete allQuestions Item idIndex Assign qDelete the question data from the selected question in allQuestions If alreadyInQuiz qDelete Then quizIndex newQuiz IndexOf qDelete IstQuiz Items RemoveAt quizIndex newQuiz Remove qDelete If the question is found in the quiz remove it from there as well MsgBox Question has also been removed from current quiz End If lstQuestions Items RemoveAt idIndex allQuestions Re
58. Moodle or for printing and manually marking I ve decided to store the question list in a text file instead of a database This means that time will be saved because search algorithms can be used on the loaded list instead of more time consuming SQL queries to a database that could be on an externally hosted server rather than the college network Security and Integrity of Data As there is no personal data stored about students or staff within the system there is no need for any kind of encryption Students won t have access to the system as it would only be installed on staff user areas so having a restricted access profile is similarly not a concern Storing the question and class data in text files rather than an externally hosted database means there is less chance a student could gain access to any answers To protect the integrity of the stored data all data entry will be controlled by strict validation rules Wherever possible selecting question types true false answers or filtering questions by certain parameters the user will select their options from drop down menus radio buttons or tree diagrams This minimises free text input which as well as saving time also stops typographic errors which may cause the system to crash or incorrect data to be stored Damask Talary Brown 5556 46 Centre Number 64395 WA Godalmin v College i User Interface Design Initial Drawings COMP4 Physics Quiz Generator These dr
59. Number 64395 pogaiming oai f Ye Col Y College COMP4 Physics Quiz Generator Figure 5 1 For each of te following toden of ogeriticn give m eograpricee wgpLomtion and explein why tha moda of operation ie euitatle Bach gt Caine amp onis m 2 The following cumbers are to be entered in order to be stored in a binary tree for subsequent proreseng 12 73 29 33 LAT shang aith the aid af a diagram bow this data druchure wil store thece vaes a Name und briefly describe the ture typen of koa Arna programming languages why progameneri ill we alow level languaga an occasion Figure 6 3 Questions are set 3 1 The questions are shown to the class on the interactive whiteboard The students complete them on paper Although the eventual scores will be saved the papers are rarely kept There is a student database integrated into the existing system though this is rarely used if ever 3 2 The students swap quizzes and the mark scheme is displayed so they can mark them 3 3 Anne collects the answers in a spread sheet which contains every student s score for all quizzes set throughout the year There is no way to normalize the scores in cases of particularly difficult topics or questions so isn t always a true representation of the student s ability Damask Talary Brown 5556 9 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator System Flowchart Open class re
60. Questions Home gt 11 3 PHA gt Quizzes gt Particle Physics Student Quiz gt Attempt 1 COMP4 Physics Quiz Generator Marks 1 2 Marks 1 2 Marks 1 4 Marks 1 4 Particle Physics Student Quiz Attempt 1 Which of these are conserved Choose one answer a Bosons A b Lepton number c Meson Number d speed before and after collison what are the 3 quarks that make up a proton Choose one answer a down up strange b up up down c down down up d up up strange what are the three quarks we need to know Choose one answer a Up Down Left 5 b Down Right Crazy c anti up strange right forwards d Strange Up Down WHICH OF THE FOLLOWING ARE MESONS Choose one answer a Neutrino neutron Pion i b Neutrino Kaon Electron c Pion Kaon Tau d Proton Electron Neutron Damask Talary Brown 5556 16 Op Centre Number 64395 Godalming ales Y College COMP4 Physics Quiz Generator Particle Physics Physics department Particle Physics Moodle Questions quizzes Student Quiz n a n a Web based 1 Manually typed into Moodle s question creator n a Digital Anne Lancaster Once Indefinite College Moodle database 2 per term Fluctuations Jan Feb and May June exam sessions Anne Lancaster Assigning questions Physics students Answering questions SiS 1 Title String 18 1 Teacher
61. Sub Private Sub btnA_Click ByVal sender As System Object ByVal e As System EventArgs Handles btndA Click Call insertCharacter A End Sub Private Sub btn_Click ByVal sender As System Object ByVal e As System EventArgs Handles btn Click Call insertCharacter 6 End Sub Private Sub btnO_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnO Click Call insertCharacter 0 End Sub Private Sub btn 2_Click ByVal sender As System Object ByVal e As System EventArgs Handles btn62 Click Call insertCharacter 6 End Sub Private Sub btnA_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnA Click Call insertCharacter A End Sub Damask Talary Brown 5556 92 Centre Number 64395 WA Godalming Dokad YW College COMP4 Physics Quiz Generator Private Sub btny_Click ByVal sender As System Object ByVal e As System EventArgs Handles btny Click Call insertCharacter pu End Sub Private Sub btnv_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnv Click Call insertCharacter v End Sub Private Sub btnz_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnz Click Call insertCharacter Z End Sub Private Sub btno2_Click ByVal sender As System Object ByVal e As System EventArgs Handles btno2 Click Call insertCharacter o End Sub Private Sub btn _Click ByVal sender As System Object ByVal e As System EventArgs Handles btn0 Click Call
62. WA Godalming Physi i Y College COMP4 Physics Quiz Generator Maintenance Form Navigation Overview The diagram below illustrates how all the forms of the system link to each other Compare with navigation design and testing on pages 55 and 78 Ure PHYA Particles Quarum Phenomena and Bleceicty gt 6 4 2 Tope Fates and Radaton 2 Toe Shot Answer Tne Faise gA sihells Miiple Chace Calodation foswer Rating 1 Save Qusation k 38 ciaselogs us tn ae SER Ths is the log for C1 E1 38 Question Queetion Ure PHYA Fabes Quantum Fhenomena and Becincty gt OK Toe Pandos snd Radeon Tma Sed Anner TrsaFako Mitgie Chace Catedaion Anowar JE henchman lte ide vew Help Retrg 1 Save Question H filter by Unin Topic ra A a w amen lutx PHYA2 Mechanics Matenals and Waves gt PHYAS Frolus and Furhier Mechenics Capacitan Eler Fields Further Mechanics Graviator PHYAS Nuclear PHVASA Astaramy and Cosmalogy Clessficaton of Stars Cosmology Vesting 2 quadiors Quis toriai 0 auson ysics and Thermal Physics Lenses and Opticel Telescopes Nor Optcal Telescopes PHYASB Medical Physics 3 PHYASC Appled Physics Rotatonal Dynamics Thermodynamics and Engines 4 PHYASD Tuming Points in Physics Specal Relasvity he Discovery ofthe Electron i A f
63. ads frmFilterUnitTopic filterUnitTopic Clears the list and depending on whether the node level passed to it by frmFilterUnitTopic is 1 or 2 iterates through all questions and either adds questions to the list where the unit matches the title passed 1 or where the topic matches the title passed 2 to display the question list in its filtered form Calls countLists Private filterDifficulty Handles the filter by difficulty menu click event Loads frmFilterDifficulty filterDifficulty Clears the question list and iterates through allQuestions adding questions which have the same difficulty as was passed by frmFilterDifficulty Calls countLists Private filterType Handles the filter by type menu click event Loads frmFilterType filterType Clears the question list and iterates through allQuestions adding questions which have the same type as was passed by frmFilterType Calls countLists Private alphabetSort Handles the sort alphabetically menu click event Populates an array with question data and bubblesorts the question text adding each item of the sorted alphabetical array to the question list viewClassLogs Handles the class logs button click event and the class logs menu click event Loads frmClassLogs Damask Talary Brown 5556 133 Centre Number 64395 WA Godalming Ww College COMP4 Physics Quiz Generator Subroutine Descriptio
64. ae ol If each of these steps produces Homegro an_increase in the sound intensity level of 2 0 dB pa calculate the ratio by which the sound intensity is increased for each step up in volume 3 anrkisi gt j Computer E A My Quiz Date modified 23 01 2013 20 55 Date created 23 01 2013 20 55 Text Document Size 868 bytes Damask Talary Brown 5556 Z 00 Centre Number 64395 WA Godalming east Y Y College COMP4 Physics Quiz Generator ic _ gt 3 e GO di vil gt Libraries Documents Quizzes X m Search Quizzes Organize v OS Open Share with Print E mail New folder H Fl a 1 4 1 marks Ft Favorites Docum 4 res cee range by Folder 2 Experiences a resultant force acting towards the EE Desktop centre of the circle 2 marks I Downloads z 3 3 625 1 marks Recent Places My Quiz mark scheme i SkyDrive 4 1 58 3 marks S wos Libraries Bl Documents d Music Pictures E Videos Homegroup 1 Computer A My Quiz mark scheme Date modified 23 01 2013 20 55 Date created 23 01 2013 20 55 Text Document Size 145 bytes 33 r J Benchmark 2 B amp File Edit View X Ca y y What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speed A 600g object is whirled in a circle o
65. age box which asks result MsgBoxResult users if they are sure they wish to delete a question Conditional on whether a specified string has found Boolean been found within a question being searched Where x allQuestions count meetin etoi 2D Array Temporarily stores question text and all String other question data from every question in allQuestions while it is alphabetically sorted benoni 1D Array Holds the data being swapped in the sorting string process Conditional on whether one array element E PE ee holds a greater value than its subsequent element determines whether the swap takes place The index of the selected element in the quiziIndex Integer gui The result from the message box which asks result MsgBoxResult users if they are sure they wish to remove a question from the quiz The result from the message box which asks result MsgBoxResult users if they are sure they wish to clear the quiz byes string Question type of the question currently being exported quizWriter StreamWriter StreamWriter used to export quizzes msWriter StreamWriter StreamWriter used to export mark schemes Used to generate a series of random Lr Random numbers for ordering multiple choice answers The random number values generated by r x Integer see above Damask Talary Brown 5556 136 Centre Number 64395 oa poraiming COMP4 Physics Quiz Generator WV College
66. amask Talary Brown 5556 54 Centre Number 64395 COMP4 Physics Quiz Generator WA Godalmi M pea ming WY College Form Navigation Design The following chart illustrates how users would navigate between all of the forms and dialogues in the new system starting from the question quiz viewer which is the home screen Invalid entry dialogue box Empty field dialogue box s Unsaved changes dialogue Invalid numeric entry S dialogue box 5 2 Aa Add class Add log o z N a As utomatic Delete class log AEI dialogue AV E SZS Invalid entry dialogue box 2 WAS Q o VA a Q 3 D Qa menu item Question and quiz views home screen Sry Soy eu aod M uy en wet W Ne M Centre Number 64395 55 Damask Talary Brown 5556 A Godalming leant Y College COMP4 Physics Quiz Generator Output Design These text files are rough plans of the files the system should export The first are the hard copy files i e those that won t be uploaded to Moodle but will instead be saved or printed File Edit Format View Help Particle Physics Questions Numbers in brackets indicate the number of marks availible for each question 1 1 what is a Baryon made up of a Quark Quark Quark b Anti Quark Anti Quark Quark c Quark Quark Anti Quark d Quark Anti Quark 1 True or False an electron neutrino has a negative charge 2 what is the rest energy
67. and momentum is a vector Hi F otai 1 mark Coe 2 Inavehicle impact test a car of mass 1200 kg travelling at a velocity of 18 ms is stopped by a large concrete block A force meter attached to the block is used to measure the average force of the impact The force meter measured an average force of 240 kN What was the duration of the impact A 0 090s B 018s C 090s D 18s Total 1 mark 3 Water of density 1000 kg m flows out of a garden hose of cross sectional area 7 2104 m at a rate of 2 0 x 10 m per second How much momentum is carried by the water leaving the hose per second A 5 6x10 Ns B 5 6x10 Ns C 0 20 Ns D 0 72 Ns Total 1 mark Damask Talary Brown 5556 14 Centre Number 64395 Godalming ect Y College COMP4 Physics Quiz Generator Momentum Question Physics department Momentum Sheet quizzes Questions n a A4 1 Compiled in Exampro n a Digital Anne Lancaster Once Indefinite Digital copy on the college network 1 per lesson No fluctuations Physics students Answering questions 1 Title String 18 1 Teacher 2 Question text String 100 250 3 Exampro 3 Answer A String 5 67 3 Exampro 4 Answer B String 5 67 3 Exampro 5 Answer C String 5 67 3 Exampro 6 Answer D String 5 67 3 Exampro 7 Question mark String 5 67 3 Exampro Damask Talary Brown 5556 1 5 Centre Number 64395 FA Godalmin v College i Particle Physics Moodle
68. any questions yet anes Sina Damask Talary Brown 5556 Z 0 7 Centre Number 64395 T cote s 39 A 600g object is whirled in a circle on the end of a string If Which of the following statements is correct for an object r An object is whirled in uniform circular motion in a vertical c True or false a capacitor consists of two perpendicular co A ray of light falls on a glass block and the angle of incider The critical angle of diamond is 24 What is its refractive ir Modern hi fi equipment and televisions often have volume True or false the threshold of hearing is the lowest level ol An X ray tube operates with a pd across the tube of 80 kV Which of the following is the correct equation for the work A steady current of 0 25 A passes through a torch bulb for The battery in a torch bulb supplies a steady current of 0 2 Multiple choice question 1 Correct Particles and Radiatic Multiple choice question 2 Correct Part o eston Answer Topic Rating Multiple choice question 3 Correct Parttcres2 a Multiple choice question 4 Correct Particles and Radiatic Multiple choice question 5 Correct Particles and Radiatic Multiple choice question 6 Correct Particles and Radiatic Multiple choice question 7 Correct Particles and Radiatic Multiple choice question 8 Correct Particles and Radiatiq COMP4 Physics Quiz Generator Multiple choice question 1 Correct Multiple choice question 2 Correct M
69. ark Units txt If the file exists load existing units into the combo box If allLines Length gt Then For i To allLines Length 1 Iterate through the lines of the file reading a unit from each line comboUnit Items Add allLines i Next comboUnit Update End If End If comboUnit SelectedIndex End If End Sub Private Sub cancelChanges ByVal sender As Object ByVal e As FormClosingEventArgs Handles Me FormClosing In the event that the form is closing whether or not the user clicked save editing False Resets the editing boolean so the form can load with empty fields if necessary Clears the text boxes Call clearQuestion End Sub Damask Talary Brown 5556 84 Centre Number 64395 WA Godalming Sida Y College COMP4 Physics Quiz Generator Private Sub SASelected ByVal sender As System Object ByVal e As System EventArgs Handles radShortAns CheckedChanged Changes the question type of the question being created to the short answer type Hides the form controls associated with multiple choice and true false questions questionType SA txtAns Visible True txtMultiple1 Visible False txtMultiple2 Visible False txtMultiple3 Visible False comboAns Visible False Label8 Visible False Label9 Visible False Label1 Visible False End Sub Private Sub NUSelected ByVal sender As System Object ByVal e As System EventArgs Handles radCalculation CheckedChanged Changes the question type of t
70. ark book kept in physics dept 1 column per lesson No Fluctuations Anne Lancaster Recording students marks Once Checking the most recent topic covered Once Referring to marks when writing reports etc Up to 3 times year 1 Unit code String 4 1 Timetable codes 2 Group name String 2 1 Timetable codes 3 Topic title String 9 1 Teacher Specification 4 Individual String 4 10 9 Teacher lesson columns 5 Lesson dates Date 8 9 Teacher 6 Students String 10 30 20 Teacher Register names 7 Individual String 1 2 180 Teacher scores grades Damask Talary Brown 5556 2 2 Centre Number 64395 WA Godalming WY College COMP4 Data Sources and Destinations Physics Quiz Generator In the Existing System What is it Source Destination Paper based question Exampro database Printed and given to students Online Question Created by the teacher Stored in the Moodle database Paper based mark scheme Exampro database Printed and given to students Online mark scheme Created by the teacher Stored in the Moodle database Current topic details Noted by the teacher Teacher s records Students scores Quiz marks Moodle database Teacher s records In the Proposed System What is it Source Destination Paper based question Created by the teacher Printed and given to students Online Q
71. as diagrams are fairly common in A Level physics exams If teachers wished to import questions from old Moodle quizzes directly into the system this feature could also be implemented with use of existing classes subroutines and functions However in the original interview this was never considered a desirable feature so at the time of design it wasn t necessary to add to the system Damask Talary Brown 5556 172 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator Analysis of User Feedback gave the installation files user guide and a feedback questionnaire to each of the three teachers in the physics department In order to get an objective assessment of how the users rated the system after the intial use asked them to rate the interface adding removing questions process moving questions process exporting process and class logs system out of five five being the highest then asked for additional feedback on any aspect of the system and have summarised their thoughts below E Joe McCarthy Holland E Phillip Morgan B Anne Lancaster User Interface Adding Editing Moving Questions Exporting Quizzes Adding Editing Questions to from Quizzes Class Logs Joe Phillip Anne e Multiple question e More of an explaination of selection quizzes in the user manual e Not allowing multiple e Linking class lists with classes with the same Moodle class lists on name Godalming Online e Labled icons rath
72. ating for each question generated too Damask Talary Brown 5556 5 Centre Number 64395 A Godalming Tokai A College COMP4 Physics Quiz Generator How many members of staff would be using the new system AL There are three teachers in this department Which course and units would you like the system to work with AL AS and A2 Physics every unit You mentioned different types of questions what did you mean by that AL I d like the questions to be similar to the exam style in that there are different formats numeric calculations simple definitions of terms and multiple choice answers How would you like the students to answer these questions AL Currently display them on the interactive whiteboard or print each student a copy and they write their answers on paper They then swap with the person sitting next to them and mark their partner s Damask Talary Brown 5556 6 Centre Number 64395 WA Godalming E M College COMP4 Physics Quiz Generator Observation of Existing System observed two of the teachers using the existing system to get a better understanding of how the users interact with it on a daily basis and identify the problems they face while doing this NB Due to access issues the screenshots shown below are from the GCE Computing specification rather than GCE Physics but other than this the systems are identical The current process is as follows 1 Questions are selected from
73. awings are my first outlines of what the interface of the system should look like They will most likely not be the final designs but they are the first generation of each form anda starting point for later concepts ner mar A ER eeoa fie Reena Question on Viewer eek Il what iS the Ounti parti proton hich o of the gollou Jing lex ae fines Fin Ya J t ER seen a ar NT ESTER ESR ATID f fune id c ret ae eS RN n New Spe eee eee ELSE NEE TI The Question Viewer is the pane in which all existing questions in the system can be displayed A particle mass IS tq is is in equilibrium onas bope inclined cle best photoeloct ric cepret Calculate the stress ina wire an ich has adiame rer Op exl0 m Whot are the units for Moments mere ene eer Uta eS aaa SF TAT tha are he a Hl cor M o tei 4s Ly Short answer ne Nm g res in equi libr uam EEEO AEN ae he SE 7 j3 Delete T From within this pane questions can be added edited or deleted When search queries are specified the question list will be filtered to ensure that the user only sees the relevant questions Selecting a question on the left of the panel displays its unit topic type and answer s on the right of the pane Damask Talary Brown 5556 47 Centre Number 64395 oa Godalming WY College Add New Question Unit Topic Forces in
74. b btnApprox_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnApprox Click Call insertCharacter End Sub Private Sub btnn_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnn Click Call insertCharacter r End Sub Private Sub btnNotEqual_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnNotEqual Click Call insertCharacter End Sub Sub insertCharacter ByVal character As String Update the question text field at the position of the caret with the character passed to it txtQuestion Text txtQuestion Text Insert txtQuestion SelectionStart character End Sub End Class Damask Talary Brown 5556 94 Centre Number 64395 z WA Godalming leant M College COMP4 Physics Quiz Generator frmAddLog Handles the input of new class log data and the editing of existing class logs in the system Public Class frmAddLog Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Sets the properties determnining whether the user can minimise or maximise the form Hides the form s control bar Me MinimizeBox False Me MaximizeBox False Me ControlBox False Try Loads the log of the class selected in the logs form to the text box txtLog Text frmClassLogs allClasses frmClassLogs 1lstAl1lClasses SelectedIndex getG roupLog Catch Me Close End Try End Sub Private Sub cancelChanges ByVal sender
75. breviations used SQ i savedQuestion i AL i allLines i Damask Talary Brown 5556 76 Centre Number 64395 RA Godalming Y College COMP4 Physics Quiz Generator o 8 3 38 F e i e 2 6 amp e2 s5 5 5 3 8 g I gt J gt ls 9 9 9 gt m ai 8 aD an v po bo y alg ggg amp F a N ej of o A N N N O fO 1 AL O AL 1 AL 2 AL 3 AL 4 AL 5 AL 6 AL 7 AL 8 9 1 2 AL 9 AL 10 AL 11 AL 12 AL 13 AL 14 AL 15 AL 16 AL 17 18 2 3 AL 18 AL 19 AL 20 AL 21 AL 22 AL 23 AL 24 AL 25 AL 26 27 3 4 AL 27 AL 28 AL 29 AL 30 AL 31 AL 32 AL 33 AL 34 AL 35 36 4 5 AL 36 AL 37 AL 38 AL 39 AL 40 AL 41 AL 42 AL 43 AL 44 45 5 6 AL 45 AL 46 AL 47 AL 48 AL 49 AL 50 AL 51 AL 52 AL 53 54 6 7 AL 54 AL 55 AL 56 AL 57 AL 58 AL 59 AL 60 AL 61 AL 62 63 7 8 AL 63 AL 64 AL 65 AL 66 AL 67 AL 68 AL 69 AL 70 AL 71 72 8 9 AL 72 AL 73 AL 74 AL 75 AL 76 AL 77 AL 78 AL 79 AL 80 81 9 10 AL 81 AL 82 AL 83 AL 84 AL 85 AL 86 AL 87 AL 88 AL 89 90 10 11 AL 90 AL 91 AL 92 AL 93 AL 94 AL 95 AL 96 AL 97 AL 98 99 11 12 AL 99 AL 100 AL 101 AL 102 AL 103 AL 104 AL 105
76. bulb supplies a steady current a abla Test question Will be deleted Particles and Radiatio Are you sure you want delete this question gm Viewing 16 questions Quiz contains 0 questions Damask Talary Brown 5556 183 Centre Number 64395 Godalming bent College COMP4 Physics Quiz Generator A plane flying in a uniform horizontal circle at constant speed A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equipment and televisions often have volume co True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV 4 Which of the following is the correct equation for the work ful A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 Viewing 15 questions Quiz contains 0 questions _ GCO SXi Q What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speec
77. cation frmFilterUnitTopic startup tree from which questions are filtered Description The tree is first cleared of all nodes and then the units text file is opened For every unit line in the file read it is first added to the tree as a parent node and then the text file associated with that unit is opened and all topics lines in the topic file are added as child nodes Finally all nodes are collapsed Illustrative Diagram Units txt i 0 i Unit 1 txt Unit 2 txt Unit 3 txt j 0 1 ja i B j 3 i 2 Unit1 unitTopicTree Nodes Add parentNode Topic 1 1 parentNode Nodes Add node Topic 1 2 parentNode Nodes Add node Topic 1 3 parentNode Nodes Add node Topic 1 4 parentNode Nodes Add node Unit2 unitTopicTree Nodes Add parentNode Topic 2 1 parentNode Nodes Add node Topic 2 2 parentNode Nodes Add node Topic 2 3 parentNode Nodes Add node Topic 2 4 parentNode Nodes Add node Damask Talary Brown 5556 144 Centre Number 64395 WA Godalming YW College COMP4 Physics Quiz Generator Code unitTopicTree Nodes Clear Dim userDirectory As String Environment GetEnvironmentVariable userprofile If System 1I0 File Exists userDirectory amp Benchmark Units txt Then Dim allLines As String System I0O File ReadAllLines userDirectory amp Benchmark Units txt If allLines Length gt Then For i To allLines Length 1 Dim parentNode As TreeNode unitTopicTree No
78. ck If allQuestions Count gt Then Unless there are questions in the system the algorithm won t run Dim questionList allQuestions Count 1 1 As String Creates a 2 D array the same size as the allquestions system collection For i To allQuestions Count 1 questionList i allQuestions i getQText questionList i 1 allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp I Next Populates the first row of the array with the questions from each question in the allquestions collection Populates the second row of the array with the corresponding list view of each question Dim tempData 1 As String Creates an array with two empty elements Dim switchValues As Boolean True Creates a boolean which will determine whether adjacent elements are swapped While switchValues True Loops until all elements of allquestions have been compared and the last two do not need to be switched switchValues False For i To allQuestions Count 2 If questionList i 0 gt questionList i 1 0 Then The lower question text comes alphabetically after the higher one switchValues True tempData questionList i tempData 1 questionList i 1 Temporarily hold the lower column of the array in the temporary array questionList i questionList i 1 que
79. classes collection Call refreshLog Refresh the list display of the groups End If Else MsgBox Please select a class End If End Sub Private Sub addLog ByVal sender As System Object ByVal e As System EventArgs Handles btnAddLog Click If lstAllClasses SelectedIndex gt 1 Then frmAddLog ShowDialog Open the addlog form if there is a group selected Else MsgBox Please select a class End If End Sub Sub addLog ByVal log allClasses 1lstAl1lClasses SelectedIndex setGroupLog log Set the log of the selected group to the log passed to it Call refreshLog Refresh the group list with the updated log End Sub Private Sub deleteLog ByVal sender As System Object ByVal e As System EventArgs Handles btnDeleteLog Click If lstAllClasses SelectedIndex gt 1 Then If there is a group selected confirm deletion of the log with the user Dim result As MsgBoxResult MsgBox Are you sure you want to clear the current loge MsgBoxStyle YesNo If result MsgBoxResult Yes Then Set the log back to the default text allClasses 1lstAl1lClasses SelectedIndex setGroupLog This class doesn t have a log yet Call refreshLog Refresh the group list with the updated log End If Else MsgBox Please select a class End If End Sub Damask Talary Brown 5556 1 0 1 Centre Number 64395 z Godalming o College COMP4 Physics Quiz Generator Private Sub logPreview ByVal sender As System Object ByVal e As System EventArg
80. cons on the home form iconsToolTip SetToolTip btnViewAll View All Questions iconsToolTip SetToolTip btnNewQuestion Add New Question iconsToolTip SetToolTip btnDeleteQuestion Delete Question iconsToolTip SetToolTip btnEditQuestion Edit Question iconsToolTip SetToolTip btnSearch Search Questions iconsToolTip SetToolTip btnClassLogs View Class Logs iconsToolTip SetToolTip btnAddToQuiz Add Question To Quiz iconsToolTip SetToolTip btnDeleteFromQuiz Remove Question From Quiz End Sub Function importAllQuestions Gets the user directory name by retrieving the environment variable userprofile Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments If System I0 File Exists userDirectory amp Benchmark Questions txt Then If the file exists load existing questions into an array Damask Talary Brown 5556 1 10 Centre Number 64395 WA Godalming Sided Y College COMP4 Physics Quiz Generator Dim allLines As String System I0O File ReadAllLines userDirectory amp Benchmark Questions txt If allLines Length gt Then Dim count As Integer For i O To allLines Length 8 Step 9 One question is read every nine lines Dim savedQuestion As New Question Create a runtime instance of the question class and add data from the subsequent lines savedQuestion setQID count 1 Count is zero based but the list index should begin at 1 savedQuestion
81. contracted characters panel Me Size New Point 436 440 pnlCharacters Size New Point 32 208 pnliCharacters Text pnlButtons Visible False lb1Characters Visible False comboAns Size New Point 351 21 txtAns Size New Point 351 20 txtMultiple1 Size New Point 351 20 txtMultiple2 Size New Point 351 20 txtMultiple3 Size New Point 351 20 btnSaveQuestion Location New Point 315 363 Me MaximumSize New Point 450 440 Damask Talary Brown 5556 9 1 Centre Number 64395 WA Godalming aba M College COMP4 Physics Quiz Generator Create nine new instances of the point class to resize 1 the form base 2 the panel containing the additional characters 3 the true false answer combo box 4 the text field answer box 5 6 7 the incorrect answer boxes for multiple choice questions 8 the location of the save button 9 the new minimum size of the contracted form End If End Sub Call the insertcharacter subroutine and pass the relevant character to be inserted into the question text Private Sub btna_Click ByVal sender As System Object ByVal e As System EventArgs Handles btna Click Call insertCharacter a End Sub Private Sub btnB_Click ByVal sender As System Object ByVal e As System EventArgs Handles btnB Click Call insertCharacter B End Sub Private Sub btny_Click ByVal sender As System Object ByVal e As System EventArgs Handles btny Click Call insertCharacter y End
82. cords Save question and mark scheme Search for documents current topic View search results Remove question Add question to document Has the question been set before Open previous class tests Is the document finished The flowchart models the system as it is now This enables me to see the inefficient parts of the process for example the user has to check every time they add a question to a document that the question has not been added before Damask Talary Brown 5556 1 0 Centre Number 64395 A Godalming Tokai YW College COMP4 Physics Quiz Generator Prospective Users and Acceptable Limitations At present there would be at most three users of the system the teachers in the physics department with Anne Lancaster being the primary user All of the teachers are computer literate to a level which means their skills shouldn t limit the complexity of the new system Nevertheless it is important for the staff to spend as little time as possible navigating the system so that it doesn t cut into lesson time so ease of use is still an important factor Although the students aren t the primary clients they will be directly affected by the questions produced by the system so the question types should be of a similar format to those they are or will be familiar with from exam papers The limitations to the system are as follows e Hardware and software constraints There i
83. der As System Object ByVal e As System EventArgs Handles menuSaveQuiz Click If newQuiz Count gt Then The algorithm will only run if newquiz is not empty exportQuiz FileName Clear the file name of the export form exportQuiz ShowDialog exportQuiz AddExtension True If exportQuiz FileName lt gt Then Dim type As String Dim quizwWriter As New System I0 StreamWriter exportQuiz FileName amp txt Dim msWriter As New System I0 StreamWriter exportQuiz FileName amp mark scheme txt Create two new instances of the streamwriter class One will export the quiz and the other will export the mark scheme Dim r As New Random Create a new instance of the random integer class Dim x As Integer For i To newQuiz Count 1 For each element of the quiz return the type type newQuiz i getQType Generate a random number between 1 and 4 and assign it to the variable x x r Next 1 5 The quizwriter streamwriter writes the string returned by the exportTextQuestion function It passes the one based index of the Damask Talary Brown 5556 1 2 3 Centre Number 64395 WA Godalming WY College COMP4 Physics Quiz Generator quizWriter Write exportTextQuestion i 1 newQuiz i type x The markscheme streamwriter writes the index of the question in the quiz the correct answer and the difficulty rating msWriter Write i 1 amp amp newQuiz i getQAnswer amp vbTab amp amp newQuiz i getQRatin
84. des Add allLines i Dim topicLines As String System 1I0 File ReadAllLines userDirectory amp Benchmark amp allLines i amp txt If topicLines Length gt Then For j To topicLines Length 1 parentNode Nodes Add topicLines j Next End If Next unitTopicTree Update End If Else unitTopicTree Nodes Add Unknown unit End If unitTopicTree CollapseAll Damask Talary Brown 5556 145 Centre Number 64395 WA Godalming v College COMP4 Physics Quiz Generator Algorithm Exporting quizzes in the Moodle Location frmHome exportMoodleQuiz GIFT format Description If the quiz contains more than zero questions a save dialog is opened and the user is prompted to select a file location and name the export file A StreamWriter is opened and for each item in the quiz the exportMoodleQuestion function is called to return the relevant data in the GIFT format in order for it to be written to the text file After all questions have been written the StreamWriter is closed Illustrative Diagram exportMoodleQuestion quizWriter The body of the question The correct answer An incorrect answer An incorrect answer An incorrect answer Code If lstQuiz Items Count gt Then there are questions in the quiz exportQuiz FileName exportQuiz ShowDialog If exportQuiz FileName lt gt Then exportQuiz FileName exportQuiz FileName amp txt Dim type As St
85. dn t have to copy and paste anything from the system or system files to other documents because the exporting of Moodle quizzes and text based quizzes and mark schemes would be done quickly and automatically Damask Talary Brown 5556 3 1 Centre Number 64395 WA Godalming ion Y College COMP4 Physics Quiz Generator Design IOPS Chart This chart outlines what happens to the data in the new system at the most basic level in terms of input output processing and storage Process Class ID Retrieve and display questions from Class name database list Class record recent topics Save questions to database list Unit of work Save question documents Topics Load question documents Question type Convert questions in Moodle gift Question text format Correctanswer Filter questions by unit topic etc Incorrect answers if multiple choice Print questions Saved quiz name when loading File name when saving Storage Output Question database or list Moodle GIFT file Class database or list Digital question document Printed question document System Flowchart The following chart is an update of the current system flowchart outlining how the new system should operate It looks to be more complex than the previous version but most of the processes involved will be automated or at least easier to facilitate than the manual and time consuming processes in the old system Damask Talary Brown 5556 32 Centre N
86. e Close the streamwriter End If Else MsgBox This quiz doesn t contain any questions End If End Sub Function exportMoodleQuestion ByVal q As Question ByVal type As String If type SA Then Return the Moodle format for short answer questions exportMoodleQuestion q getQText amp amp q getQAnswer amp amp vbNewLine amp vbNewLine ElseIf type MC Then Return the Moodle format for multiple choice questions exportMoodleQuestion q getQText amp amp vbNewLine amp amp q getQAnswer amp vbNewLine amp amp q getIncorrect amp vbNewLine amp amp q getIncorrect 1 amp vbNewLine amp amp q getIncorrect 2 amp vbNewLine amp amp vbNewLine amp vbNewLine ElseIf type TF Then LLI LLI Damask Talary Brown 5556 12 2 Centre Number 64395 WA Godalming Physi Y College COMP4 Physics Quiz Generator Return the Moodle format for true false questions conditional on what the answer is If q getQAnswer True Then exportMoodleQuestion q getQText amp T amp vbNewLine amp vbNewLine Else exportMoodleQuestion q getQText amp F amp vbNewLine amp vbNewLine End If ElseIf type NU Then Return the Moodle format for numerical questions exportMoodleQuestion q getQText amp amp q getQAnswer amp amp vbNewLine amp vbNewLine Else MsgBox Error Please try again End If End Function Private Sub exportTextQuiz ByVal sen
87. e Search Cancel Figure 3 Figure 4 2 Questions are checked against existing quiz documents 2 1 If the topic has taken more than one lesson to teach the teacher opens the previous quizzes to check that none of the questions they selected have been assigned before 2 2 If there are any duplicates the teacher replaces the questions 2 3 The questions figure 5 and generated mark scheme figure 6 are saved There are alternative options such as to print them but no option to export them in a format compatible with the college s online Moodle Iy sP 1 10 AA pi ER Tracing of a bubble sort algorithm L 2 Y R a Elements of LIST SP 1 09 Defin of parameters amp local yvariables reasons for use SP 2 01 Advantages disadvantages of computerised ID card passport SP 2 02 Defin of security integrity methods to protect data SP 2 03 Formula in cell using absolute relative referencing SP 2 04 1 mark for each of rows 1 2 4 5 6 Final list 27 30 43 19 63 58 84 48 14 Control will pass to the instruction after Endwhile 27 Gi 84 Gii 92 Input devices user interface input data data sources SP 2 05 DBMS program data indep data consistency redundancy SP 2 06 Directory structure path names directory tree S SP 2 07 Real time batch multi programming op system SP 2 08 Definition amp characteristics of algorithm Damask Talary Brown 5556 8 Centre
88. e detailed list of the processes involved in the new system mirroring the system flow chart It allows me to break down each task into its simplest processes and organise the data that has been inputted to store 1 Check the current topic the class is covering 1 1 Open the class records 1 2 Choose the class to display 1 2 1 Select class ID from the list 1 3 Check the most recent topic 2 If SELECTING EXISTING question s 2 1 Filter questions 2 1 1 Search by unit topic difficulty rating or class 2 1 1 1 Select options from given dialogue boxes 2 2 Select questions to add 2 2 1 Choose question 2 2 2 If question is already in the quiz a warning is displayed 2 If ADDING NEW question s 2 1 Choose Create 2 2 Add question type 2 2 1 Select question type from the list 2 3 Enter the body text of the question 2 4 If MULTIPLE CHOICE 2 4 1 Enter first second and third incorrect answers 2 4 2 Enter correct answer 2 4 3 Enter feedback 2 4 4 Enter difficulty rating 2 4 If TRUE FALSE 2 4 1 Indicate the correct answer 2 4 1 1 Tick True or False 2 4 2 Enter feedback 2 4 3 Enter difficulty rating 2 4 If SHORT ANSWER or NUMERICAL 2 4 1 Enter correct answer 2 4 2 Enter feedback 2 4 3 Enter difficulty rating 3 Choose whether to export a text based quiz or a Moodle quiz 3 4 Enter file name 3 5 Save file 4 Update class logs Damask Talary Brown 5556 38 Centre Number 64395 A Godalming Sines Le Col
89. e of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equipment and televisions often have volume co True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV A Which of the following is the correct equation for the work fur A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 Multiple choice question 1 Correct Particles and Radiation Multiple choice question 2 Correct Particles and Radiation Multiple choice question 3 Correct Particles and Radiation Multiple choice question 4 Correct Particles and Radiation Multiple choice question 5 Correct Particles and Radiation Multiple choice question 6 Correct Particles and Radiation Multiple choice question 7 Correct Particles and Radiation Multiple choice question 8 Correct Particles and Radiation OCONonrwn Multiple choice question 1 Correct Multiple choice question 2 Correct Multiple choice question 3 Correct Multiple choice question 4 Correct Multiple choice question 5 Correct Multiple choice question 6 Correct Multiple choice question 7 Correct Multiple choice question 8 Correct Viewing 23 questions Quiz contains 8 questions Damask Talary Brown 5556 2 1 0 Centre Number 64395 WA Godalming bent Y College COMP4 Physics Quiz Generator 42
90. ect is whirled in uniform circular motion in ge 13 Which of the following is the correct equation fo Multiple Choice Short Answer True False Numerical a Viewing 5 questions Quiz contains 0 questions Damask Talary Brown 5556 192 Centre Number 64395 RY Godalming east F W College COMP4 Physics Quiz Generator 22 r Benchmark L e x gt Filter By Type Multiple Choice Short Answer True False Numerical Viewing 0 questions Quiz contains 0 questions A plane flying in a uniform horizontal circle at constant speed A ray of light falls on a glass block and the angle of incidence A steady current of 0 25 A passes through a torch bulb for 6 An X ray tube operates with a pd across the tube of 80 kV 4 An object is whirled in uniform circular motion in a vertical circ Isotopes of the same element all have the same Proton nul Modern hi fi equipment and televisions often have volume co The battery in a torch bulb supplies a steady current of 0 25 The critical angle of diamond is 24 What is its refractive inde True or false a capacitor consists of two perpendicular cond True or false the threshold of hearing is the lowest level of s What is the force in Newtons acting on a body if its momentu Which of the following is the correct equation for the work fur Which of the following statements is correct for an object m
91. ectory name by retrieving the environment variable userprofile Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments If System I0 File Exists userDirectory amp Benchmark Units txt Then If the file exists load existing units into an array Damask Talary Brown 5556 105 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator Dim allLines As String System I0 File ReadAllLines userDirectory amp Benchmark Units txt If allLines Length gt Then For i O To allLines Length 1 For every unit read add the unit as a new node to the tree Dim parentNode As TreeNode unitTopicTree Nodes Add allLines i Try Dim topicLines As String System I0 File ReadAllLines userDirectory amp Benchmark amp allLines i amp txt Read the contents of the file with the same name as the unit into an array If topicLines Length gt Then For j O To topicLines Length 1 parentNode Nodes Add topicLines j For every topic within the units file read add the topic as a child node Next End If Catch parentNode Nodes Add Unknown topic If the topics file isn t found catch the exception End Try Next unitTopicTree Update Update the tree with the new units and topics End If Else unitTopicTree Nodes Add Unknown unit If the units file isn t found catch the exception End If unitTopicTree CollapseA11 End Sub Private Sub nodeChan
92. equipment and tele True or false the threshold of hej An X ray tube operates with a pd Which of the following is the corr A steady current of 0 25 A passe The battery in a torch bulb supplies a steady current of 0 25 1 2 3 4 5 6 Fi 8 9 Viewing 15 questions Quiz contains 0 questions What is the force in Newtons acti Isotopes of the same element all A plane flying in a uniform horizo A 600g object is whirled in a circlg Which of the following statement An object is whirled in uniform cir True or false a capacitor consis A ray of light falls on a glass bloc The critical angle of diamond is 2 Modern hi fi equipment and tele True or false the threshold of he An X ray tube operates with a pd Which of the following is the corr A steady current of 0 25 A passe The battery in a torch bulb supplies a steady niet of 0 25 gemm Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 199 Centre Number 64395 Ji WY College A Godalming COMP4 Physics Quiz Generator 1 What is the force in Newtons act 2 Isotopes of the same element al log 3 A plane flying in a uniform horizo This class doesnt have a log yet i A 600g object is whirled in a circ 5 Which of the following statemeni 6 An object is whirled in uniform ci 7 True or false a capacitor consist 8 A ray of light falls on a glass bloc
93. equire composite keys because they both represent many to many relationships You couldn t tell which class had been assigned a question just from the question ID and you couldn t tell which question a class had been assigned just from the class name Similarly with the table of incorrect answers you couldn t tell which question an answer related to just from the answer itself and you couldn t tell which incorrect answer was being stored just from the question ID The same is true for quizzes and the questions they contain In the tblquestion there are attributes that don t depend on the primary key QUnit is dependant both on GTopic and STopic unit and general topic have a one to many relationship as do general topic and specific topic By knowing STopic GTopic and Unit are automatically known so in the questions table only STopic needs to be stored GTopic and Unit can be stored in separate tables because they are functionally dependant on STopic and not QID Damask Talary Brown 5556 40 Centre Number 64395 RA Godalming WY College COMP4 Physics Quiz Generator These are the tables in Second Normal Form As there are no functional dependencies existing between attributes that couldn t be used as alternatives to primary keys the tables are also in 3NF at this point tblquestion QID QText STopic QAns Rating QType tblclassquest
94. er than tooltips e Cumulative filtering rather than resetting the filter each time the user searches Changes such as switching tooltips for labels class validation to ensure groups aren t added twice and cumulative filtering can be implemented as part of the next release of Benchmark These would be the objectives for the second pass through the systems development life cycle Damask Talary Brown 5556 1 73 Centre Number 64395 Godalming okod w College COMP4 Physics Quiz Generator senen Please rate the following aspects of the system out of five User Feedback Form User interface Adding and editing questions Moving questions to and from the quiz Exporting and saving quizzes NOOO 3 Neutral OQNOON 2 coa OOOQO esn OOQ 5 unusabie OOOO r Adding and editing class logs Additional feedback on features such as clarity of user guide ease of use of the system etc 4 weld hare lae 4 hrie AE wien Morra sg amp wie Al of t bas ore a neg Stn on me against Al beple At clasg ae Lif roll rtr F lering aaa Comer LE abe oe Ote Ae oa Date Jles Damask Talary Brown 5556 1 74 Centre Number 64395 ena Godalming COMP4 Physics Quiz Generator College Please rate the following aspects of the system out of five User interface Adding and editing questions Moving questions to and from the quiz Exporting and saving quizzes Adding and editing class l
95. erates with a pd Which of the following is the corr A steady current of 0 25 A passe The battery in a torch bulb supplies a steady current of 0 25 1 2 3 4 9 6 7 8 9 Viewing 15 questions Quiz contains 0 questions r X Benchmark lela x J What is the force in Newtons acti Isotopes of the same element all A plane flying in a uniform horizo A 600g object is whirled in a circlg Which of the following statement An object is whirled in uniform cir True or false a capacitor consis A ray of light falls on a glass bloc The critical angle of diamond is 2 Modern hi fi equipment and tele True or false the threshold of he An X ray tube operates with a pd Which of the following is the corr A steady current of 0 25 A passe The battery in a torch bulb supplies a steady cine 0 gm Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 19 7 Centre Number 64395 S Esie E COMP4 Physics Quiz Generator What is the force in Newtons act Isotopes of the same element all A plane flying in a uniform horizo A 600g object is whirled in a circlg Which of the following statement An object is whirled in uniform ciri True or false a capacitor consis A ray of light falls on a glass bloc The critical angle of diamond is a Modern hi fi equipment and te True or false the threshold of hej An X ray tube operat
96. ered 2 Question answer unit topics and type should be mandatory for each entry 3 For multiple choice questions the incorrect answers should also be stored 4 There should be a default difficulty rating for each question out of five which can be edited or left as the default 5 There should be different question types available similar to the types that feature in the exams short answer calculation etc 6 The questions must be searchable and displayable by question type unit topic and difficulty rating 7 Users must be able to search all questions for a specific string 8 Searching questions should involve the minimum free text entry to save time and minimise errors This could be implemented using radio buttons or drop down menus for selection 9 The user must be able to edit existing questions or delete them from the database 10 The user should be able to preview the answer to each question that is displayed 11 The user must be able to add records of new classes to the system 12 Each class stored must have its own log which would allow free text entry similar to a teacher s diary The user must be able to record recently set questions from the textbook or chapters covered and retrieve this information when assigning new questions 13 The user must be able to delete classes or class logs from the system 14 The user should be able to create a quiz by selecting questions from the database and or adding
97. es with a pa Which of the following is the corr A steady current of 0 25 A passe ww avn Co This class doesnt have a log yet 2 B amp The battery in a torch bulb supplies a steady nicl of 0 25 1 Viewing 15 questions Quiz contains 0 questions r J Benchmark X i CONOnhWNH What is the force in Newtons a Isotopes of the same element a A plane flying in a uniform horizo A 600g object is whirled in a circ Which of the following statemen An object is whirled in uniform ci True or false a capacitor consis A ray of light falls on a glass bloc True or false the threshold of hey This class doesnt have a log yet An X ray tube operates with a pd Which of the following is the corrg A steady current of 0 25 A passe The battery in a torch bulb supplies a steady current of 0 25 gemm 2 B amp SS oa Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 198 Centre Number 64395 Godalming bent College COMP4 Physics Quiz Generator 31 r 3 Benchmark lala x X What is the force in Newtons a Isotopes of the same element a A plane flying in a uniform horizo A 600g object is whirled in a circ Which of the following statemen An object is whirled in uniform cit True or false a capacitor consist A ray of light falls on a glass bloc The critical angle of diamond is Modern hi fi
98. et to true saveMultipleChoiceAnswers Saves validated multiple choice answers for new and existing questions editQuestion Sets the editing Boolean to true to indicate that the question will be overwritten when saved and loads the form with existing question data Damask Talary Brown 5556 127 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator Subroutine Description Handles the character panel click event and expands toggleSize or contracts the form depending on the current state of the panel showing or hiding the special characters Private 25x btn_Click Handles the clicking events of the 25 special characters on the form calls insertCharacter see below and passes the symbol to insert it into the question body insertCharacter Inserts the character passed to it into the body of the question Variable Type Description gquestionType String Changes based on the selection of question type from the radio buttons Used to set the question type when editing saving editing Boolean Indicates whether the form is adding a new question or editing an existing one Events conditional upon this being true are loading the form with data rather than blank and saving to the selected question index rather than to a new question userDirectory String The file name of the user profile folder in C Users used
99. f System collection of every question in the allQuestions i ri Question system and all associated question data Collection of System collection of every question in the newQulz Question current quiz and all associated data Streamwriter used to save unit topic defaults defaultUnitTopicSetup Streamwriter d e noes if there are no unit topic files f The file name of the user profile folder in userDirectory String C Users used in saving and loading Array storing the contents of the question allLines String i a ee i backups file as it is read Stepper variable increments every time a count Integer o 2 new question is read from the backup file Assigned all of the question data of each question being read back from the backup savedQuestion uestion n Foi j q file before it is added to the allQuestions collection backup StreamWriter StreamWriter used to save question data line String The currently selected list item The integer found directly before in line idIndex Integer see above which is the selected question s ID The index of the selected element in the questionIndex Integer aa question list Damask Talary Brown 5556 135 Centre Number 64395 RA Godalming Y College COMP4 Physics Quiz Generator Variable Type Description apeiese Gusstion A question being deleted from the question bank The result from the mess
100. f 0 25 Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 185 Centre Number 64395 Godalming east College COMP4 Physics Quiz Generator 10 r Benchmark g a eee gt Hi m File Edit View e z SHX GUEA TER Co CoM Ey lal Cale Re amen elele Aelita What is the force in Newtons acting on a body if its Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two pe A ray of light falls on a glass block and the a The critical angle of diamond is 24 What is Modern hi fi equipment and televisions ofte True or false the threshold of hearing is the An X ray tube operates with a pd across the Which of the following is the correct equatio A steady current of 0 25 A passes through a The battery in a torch bulb supplies a steady current of 0 2 Error This question is already in the quiz Viewing 15 questions Quiz contains 1 questions File Edit View S t M4 Ca AALS Alem Co Cee EOE Rede AL AEE What is the force in Newtons acting on a body if its Isotopes of the same element all have the same Proton nul What is the force in Newton
101. f light falls on a glass bloc The critical angle of diamond is Modern hi fi equipment and tele True or false the threshold of hej An X ray tube operates with a pd Which of the following is the corri A steady current of 0 25 A passe This class doesnt have a log yet The battery in a torch bulb supplies a steady current of 0 25 2 B amp Viewing 15 questions Quiz contains 0 questions What is the force in Newtons acti Isotopes of the same element al A plane flying in a uniform horizo A 600g object is whirled in a circlg Which of the following statement An object is whirled in uniform ci True or false a capacitor consis A ray of light falls on a glass bloc The critical angle of diamond is 2 Modern hi fi equipment and tele True or false the threshold of he An X ray tube operates with a pd Which of the following is the corn A steady current of 0 25 A passe x L The battery in a torch bulb supplies a steady current of 0 25 Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 195 Centre Number 64395 Godalming bent W College COMP4 Physics Quiz Generator r J Benchmark la a x What is the force in Newtons a Isotopes of the same element a log A plane flying in a uniform horizo A 600g object is whirled in a circ Which of the following statemen An object is whirled in uniform ci True or false a capacit
102. f the class and removes the class from allClasses Calls refreshLog see above Private addLog Handles the add class button click event Validates list selection and loads frmAddLog addLog Sets the log of the selected class to the log passed to it by frmAddLog logPreview Handles the index changing on the class list Loads an unchangeable preview of the log for the selected class Variable Type Description ST eleeaes Collection of System collection of every group in the system and Group their respective logs P eee Sirig The file name of the user profile folder in Y 8 C Users used in saving and loading allLines String Array storing the contents of the log backups file as it is read Assigned the name and log of each class being savedClass Group read back from the backup file before it is added to the allClasses collection backup StreamWriter StreamWriter used to save class names and logs on The result from the message box which asks users result MsgBoxResult if they are sure they wish to delete a class The result from the message box which asks users result MsgBoxResult if they are sure they wish to delete a log Damask Talary Brown 5556 130 Centre Number 64395 WA Godalming ie Y College COMP4 Physics Quiz Generator frmFilterDifficulty startup Handles the form loading event and the sizing options of the form Sets the default
103. f the following is the correct equation for the A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 189 Centre Number 64395 oea ming east W College COMP4 Physics Quiz Generator No questions found ae Viewing 0 questions Quiz contains 0 questions 17 r 3 Benchmark lalaj xj Modern hi fi pepee and televisions often have volume co The battery in a torch bulb supplies a steady current of 0 25 gm Viewing 2 questions Quiz contains 0 questions Damask Talary Brown 5556 190 Centre Number 64395 RY Godalming east F W College COMP4 Physics Quiz Generator 18 r Benchmark Loe x gt Viewing 0 questions Quiz contains 0 questions 19 J Benchmark 2 amp o M File Edit View txi Ca e a PHYATI Particles Quantum Phenomena and Electricity A plane flying in a uniform horizontal circlg Particles and Radiation A 600g object is whirled in a circle on the m Electromagnetic Radiation and Quantum Phenomena Which of the following statements is corrd Current Electricity re i 2 a PHYA2 Mechanics Materials and Waves An object is whirled in uniform circular mo PHYA Fields ai Fiat Modis
104. field is blank provide a class name dialogue 13 Add edit log T There is a Add edit form As expected None required class selected loads with existing log if there is one Damask Talary Brown 5556 70 Centre Number 64395 WA Godalming W College COMP4 Physics Quiz Generator 14 Delete Class T There is a Are you sure As expected None required class selected dialogue If yes the class is deleted 15 Delete Log T There isa Are you sure As expected None required class selected dialogue If yes the log is deleted 16 Save quiz T The quiz Save dialogue As expected None required text based contains opens and two questions text files are saved One quiz and one mark scheme with the same filename as entered for the quiz suffixed by mark scheme E The quiz Quiz contains As expected None required contains no no questions questions dialogue Nothing is exported 17 Export quiz T The quiz Save dialogue As expected None required for Moodle contains opens and one questions text file with integrated answers is saved This can be uploaded to Moodle with no editing Damask Talary Brown 5556 71 Centre Number 64395 WA Godalming W College _ COMP4 Physics Quiz Generator different order for each question E The quiz
105. for convenience The interactions and flow of data between the teachers and students remain the same because Anne and the other teachers felt this was a part of the system that didn t need to change Damask Talary Brown 5556 34 Centre Number 64395 WA Godalming h4 College COMP4 Physics Quiz Generator Data Dictionary and Validation The following table contains all the data that could be entered into the system by the user and how plan to validate it to ensure that all fields are correctly inputted and stored The erroneous data for most fields is a blank field so in cases where the validation check is only allowing the user to select correct fields from a list or directory there is no way to test this p Validation Validation 3 Erroneous Field Data Type Length Check Description Valid Data Daa Saved Quiz String 1 30 Lookup Allows the An existing A file name characters user to file which does when select from not exist loading only existing files File name String 1 30 Presence File must Refraction Blank when characters length have a Questions saving name and it must be 30 characters or less Class Name String 2 characters List when Allows the A1 oran A2345 or selecting selection of existing class which Length an existing class does not when class or a exist adding class name of the correct length Question String 1 500 Presence Question What is Blank
106. fromquiz subroutine when the shortcut is clicked Call deleteFromQuiz End Sub Private Sub shortcutDeleteFromQuiz ByVal sender As System Object ByVal e As System Windows Forms KeyPressEventArgs Handles lstQuiz KeyPress If e KeyChar Chr Keys Back Then Call deleteFromQuiz Damask Talary Brown 5556 12 0 Centre Number 64395 WA Godalming aba M College COMP4 Physics Quiz Generator If the user presses backspace while an element in the quiz list is selected remove the element from the quiz End Sub Sub deleteFromQuiz If lstQuiz SelectedIndex gt 1 Then If there is a question selected Get the question s index in the quiz Dim quizIndex As Integer lstQuiz SelectedIndex Dim result As MsgBoxResult MsgBox Are you sure you want remove this question from the quiz MsgBoxStyle YesNo comfirm removal Confirm deletion of the question from the quiz If result MsgBoxResult Yes Then newQuiz RemoveAt 1lstQuiz SelectedIndex lstQuiz Items RemoveAt 1lstQuiz SelectedIndex Remove the question at the selected index from the quiz list and the newquiz system collection Call countLists Recount the question and quiz lists Try lstQuiz SelectedIndex quizIndex 1 Selects the first element in the quiz Will throw an exception if newQuiz is empty which will be caught without notification Catch End Try End If Else MsgBox Please select a question and try again End If End Sub Private Sub clearQuiz ByVal sende
107. g amp marks amp vbNewLine amp vbNewLine Next quizWriter Close msWriter Close Close both streamwriters End If Else MsgBox This quiz doesn t contain any questions End If End Sub Function exportTextQuestion ByVal i As Integer ByVal q As Question ByVal qtype As String ByVal x As Integer If qtype SA Or qtype NU Or qtype TF Then Exports the index of the question followed by the question text and the difficulty rating exportTextQuestion i amp amp q getQText amp amp q getQRating amp mark s amp vbNewLine amp vbNewLine ElseIf qtype MC Then Uses the random variable passed to determine the order in which answers are exported Exports the index of the question followed by the question text and the difficulty rating and four answers If x 1 Then exportTextQuestion i amp amp q getQText amp vbTab amp amp q getQRating amp mark s amp vbNewLine amp a amp q getQAnswer amp vbNewLine amp b amp q getIncorrect amp vbNewLine amp c amp q getIncorrect 1 amp vbNewLine amp d amp q getIncorrect 2 amp vbNewLine amp vbNewLine ElseIf x 2 Then exportTextQuestion i amp amp q getQText amp vbTab amp amp q getQRating amp mark s amp vbNewLine amp a amp q getIncorrect amp vbNewLine amp b amp q getQAnswer amp vbNewLine amp c amp q getIncorrect 1 amp vbNewLine a
108. ge s COMP4 Physics Quiz Generator 5 Removing a T Question Are you sure dialogue If question selected inthe yes question is removed from the quiz pane from the quiz pane quiz E No question Please select a question selected dialogue 6 Filter by T Any radio Question pane refreshes to difficulty button selected show all questions of that difficulty X No questions Question pane shows no of that difficulty questions 7 Filter by T Any node Question pane refreshes to unit topic selected show all questions of that unit topic X No questions Question pane shows no of that questions unit topic 8 Filter by T Any radio Question pane refreshes to type button selected show all questions of that type X No questions Question pane shows no of that type questions 9 View class T logs may or All class logs are loaded logs may not already from document document exist is created if it doesn t exist log field will be blank if there is no saved log 10 Add class T Class name Class is added to the list on field is filled in the logs form E Class name Please provide a class field is blank name dialogue 11 Add edit T There is a Add edit form loads with log class selected existing log if there is one 12 Delete Class T There is a Are you sure dialogue If class selected yes the class is deleted 13 Delete Log T There
109. ged ByVal sender As System Object ByVal e As System Windows Forms TreeViewEventArgs Handles unitTopicTree AfterSelect Declare a variable based on the index of the selected node in a tree Units parent nodes will have a treeIndex of 1 Topics child nodes will have a treeIndex of 2 Dim treeIndex As Integer unitTopicTree SelectedNode Level 1 Dim nodeTitle As String unitTopicTree SelectedNode Text Damask Talary Brown 5556 106 Centre Number 64395 oa Godalming College COMP4 Physics Quiz Generator Call the filterunittopic subroutine passing the index and title of the node frmHome filterUnitTopic treeIndex nodeTitle End Sub End Class frmHome The main form of the system displays all questions in the system and the current quiz btnNewQuestion btnEditQuestion pinGoanch e 5 btnDeleteFromQuiz btnViewAll btnNewQuestion m btnClassLogs pniHome btnAddToQuiz e e 3 Benchma epes SEX i E A IstQuestions IstQuiz IstQuestions statusStrip Ip Public Class frmHome Creates a new instance of collections of questions to store all questions in the system Dim allQuestions As New System Collections ObjectModel Collection Of Question Creates a new instance of collections of questions to store all questions in the current quiz Dim newQuiz As New System Collections ObjectModel Collection Of Question Damask Talary Brown 5556 107 Centre Number 64395 WA Godalm
110. hat is the force in Newtons acting Isotopes of the same element all ha A plane flying in a uniform horizontal A 600g object is whirled in a circle o Which of the following statements is An object is whirled in uniform circula A ray of light falls on a glass block a The critical angle of diamond is 24 X Modern hi fi equipment and televisio True or false the threshold of heari An X ray tube operates with a pd aci Which of the following is the correct A steady current of 0 25 A passes The battery in a torch bulb supplies 4 Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 1 78 Centre Number 64395 9 RY Godalming COMP4 Physics Quiz Generator WY College la x 1 What is the force in Newtons acting 2 Isotopes of the same element all ha 3 A plane flying in a uniform horizontal A 600g object is whirled in a circle o1 5 Which of the following statements is Topic 6 7 8 9 An object is whirled in uniform circula True or false a capacitor consists of A ray of light falls on a glass block a The critical angle of diamond is 24 ee 10 Modern hi fi equipment and televisio 11 True or false the threshold of heari 12 An X ray tube operates with a pd ac 13 Which of the following is the correct 14 A steady current of 0 25 A passes t 15 The battery in a torch bulb supplies a Unt PHYA1 Particles Quantum Phe
111. he question being created to the numerical answer type Hides the form controls associated with multiple choice and true false questions questionType NU txtAns Visible True txtMultiple1 Visible False txtMultiple2 Visible False txtMultiple3 Visible False comboAns Visible False Label8 Visible False Label9 Visible False Label1 Visible False End Sub Private Sub TFSelected ByVal sender As System Object ByVal e As System EventArgs Handles RadTrueFalse CheckedChanged Changes the question type of the question being created to the true false type Hides the form controls associated with multiple choice questions questionType TF txtAns Visible False txtMultiple1 Visible False txtMultiple2 Visible False txtMultiple3 Visible False comboAns Visible True Damask Talary Brown 5556 85 Centre Number 64395 WA Godalming Sida Y College COMP4 Physics Quiz Generator Label8 Visible False Label9 Visible False Label1 Visible False comboAns SelectedIndex End Sub Private Sub MCSelected ByVal sender As System Object ByVal e As System EventArgs Handles radMultipleChoice CheckedChanged Changes the question type of the question being created to the multiple choice type Hides the form controls associated with true false questions questionType MC txtAns Visible True txtMultiple1 Visible True txtMultiple2 Visible True txtMultiple3 Visible True comboAns Visible False Label8 Visible
112. hortcutAddToQuiz ByVal sender As System Object ByVal e As System Windows Forms KeyPressEventArgs Handles lstQuestions KeyPress If e KeyChar Chr Keys Return Then Call addToQuiz End Sub Algorithm Alphabetically sorting questions Location frmHome alphabetSort Description This algorithm fills a 2 dimensional array with data from allQuestions temporarily to sort them In the first column is the string being sorted the question text of each question In the second is the corresponding other question data in the format in which it would be added to the question list The array elements are then bubblesorted comparing each element in the array with the adjacent one below If i 1 is larger than i the two elements and their corresponding data switch positions in the array Pseudo code Var questionList LEN allQuestions 1 1 FOR i 0 to LEN allQuestions 1 gquestionList i 0 allQuestions i text questionList i 1 allQuestions i qID amp amp newline amp allQuestions i text amp amp allQuestions i answer amp amp allQuestions i topic amp amp allQuestions i rating amp NEXT Var tempData 1 Var switchValues True WHILE switchValues True SswitchValues False FOR i e 1 to LEN allQuestions 2 IF questionList i 0 gt questionList i 1 0 THEN Damask Talary Brow
113. i Students lz Scores Mark book and or spreadsheet s Topic to search s ouz 2 Which questions to select Question document Mark scheme document Exampro S oem sO gv oe oS Question document oo Mark scheme document Document Exampro database compiler Selected questions Corresponding mark schemes Both the data sources and destinations tables and the data flow diagrams illustrate the processes and flow of data in the current system between the teacher the Exampro question database the teacher s records and the students They are essentially both data models of the observation conducted of the teachers using the system and allow me to see which parts of the system use which types of data and track its path Damask Talary Brown 5556 2 5 Centre Number 64395 WA Godalming ne M College COMP4 Physics Quiz Generator Entity Relationship Diagram Difficulty rating Many to one One to many One to one gt lt If choose to solve the problem using a database the diagram above identifies the relationships between the entities in the system A question has one topic one rating one correct answer and many incorrect answers It can belong to many quizzes and a quiz contains many questions A topic has many questions but only one unit and a unit has many topics Damask Talary Brown 5556 2 6 Centre Number 64395 A Godalming Tokai h College COMP4 Physics Qui
114. iIndex OUTPUT Question has been removed ENDIF newQuiz remove qDelete quiz items remove idIndex allQuestions remove qDelete Refreshlist ENDIF ELSE OUTPUT Error No question selected ENDIF Code Dim qDelete As Question Dim line As String lstQuestions SelectedItem ToString Dim idIndex As Integer CInt line Substring line IndexOf 1 Dim quizIndex As Integer If idIndex gt 1 Then Dim result As MsgBoxResult MsgBox Are you sure you want delete this question MsgBoxStyle YesNo If result MsgBoxResult Yes Then qDelete allQuestions Item idIndex If alreadyInQuiz qDelete Then quizIndex newQuiz IndexOf qDelete lstQuiz Items RemoveAt quizIndex MsgBox Question has also been removed from current quiz End If newQuiz Remove qDelete lstQuestions Items RemoveAt idIndex allQuestions Remove qDelete Call refreshList End If Else MsgBox Error No question selected End If 139 Damask Talary Brown 5556 Centre Number 64395 WA Godalming WY College COMP4 Physics Quiz Generator Algorithm Filtering by unit topic Location frmFilterUnitTopic amp frmHome filterUnitTopic Description This algorithm is run every time the user selects a node in the unit topic tree The index of the selection units have index 0 topics have index 1 and the title of the node is passed to filterUnitTopic where it is checked against all question
115. iewer and added to the quiz and from there deleted if necessary The quiz can then be saved exported or printed Damask Talary Brown 5556 49 Centre Number 64395 College 9 Godalming Eun it i E Matter and Radiation l gt Inside the tiom L stable md unstable nucle t Particdes and antipaficies EE Quarks ard leptons GH Quantum Phenomena Enit 2 Unit 3 i I 4 I x im Photons i 1 i COMP4 Physics Quiz Generator Helk Search Type Multiple Choice _ search Rating These search windows allow the user to filter the questions which are displayed to them by unit and topic type or difficulty rating The unit and topic search is displayed as a tree because presenting each unit as a parent node with broader topics as collapsible child nodes ensures that the user isn t overwhelmed with lists of text and can easily find the topic they want Damask Talary Brown 5556 50 Centre Number 64395 oaa ming EE W College __ COMP4 Physics Quiz Generator Visual Studio Form Design File Edit View Help The main window comprises a question viewer pane at the top with a list of questions on the left and the answers and question information on the right At the bottom is the quiz pane which displays all of the questions in the current quiz and allows the user to quickly add more or remove them The toolbar is based on the standard Ea a Windows toolbar for familiarity
116. ifferent class What are the drawbacks of the current system AL We re limited by the questions because they all come from past papers there isn t any way of adding new ones into the system There aren t many questions on certain topics which can be a problem when we re making quizzes or revision booklets Also the search filter could be better It would help to be able to search by more than just the unit or topic and have more types of questions so you could search by type The software we use also doesn t notify us if we re about to add a question to the document that s already there Which new features would be the most important to you AL We should be able to add our own questions to the system instead of simply using past paper ones Being able to upload the quizzes to Moodle without having to type them out again would also be useful so that the students could complete the quizzes in their own time and have them automatically marked in seconds rather than bringing them in or us marking them through Moodle At the same time though we still want to be able to print normal text documents or save them to use as paper copies Which existing features do you find the most useful AL The existing features that I d like to see in the new software are the ability to view and print mark schemes and search by unit or topic for questions which have already been added It would be nice to have some sort of difficulty r
117. in saving and loading allLines String Array storing the contents of the units file as it is read unit String The unit currently selected in the units combo box integerTest Integer Part of a try catch mechanism which attempts to convert an integer in a free text field to an integer data type to test its validity It is assigned the value of the text field currentQuestion Question Assigned the values of the text fields containing question data whenever a new question is instantiated and then saved to the allQuestions collection Damask Talary Brown 5556 128 Centre Number 64395 RA Godalming COMP4 Physics Quiz Generator WY College frmAddLog startup Handles the form loading event and the sizing options of the form Loads the log of whichever class is currently selected in frmClassLogs cancelChanges Handles the form closing event alerts the user of unsaved changes being lost handleReturn Handles the keypress event for the return key stops the user using return in the text field saveLog Handles the save button click event validates the log field and if valid calls addLog see frmClassLogs The result from the message box which alerts result MsgBoxResult users that if they cancel they will lose unsaved changes and asks them if they wish to continue Assigned the contents of the text box where users log String can enter the cla
118. ing ow College COMP4 Physics Quiz Generator Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Startup routines Sets the tooltips for the shortcut bar Calls the import subroutine Calls the count routine to display the number of questions in the system Call setToolTips Call importAllQuestions Call countLists Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments System I0 Directory CreateDirectory userDirectory amp Benchmark Create a folder in the user profile directory to save all system data Create will not affect the directory if it already exists The following code will only be executed if no units text file exists i e the default units have not been changed because the system has never been run or the file has been deleted If System IO File Exists userDirectory amp Benchmark Units txt False Then Write a text file with a list of the default units Dim defaultUnitSetup As New System I0 StreamWriter userDirectory amp Benchmark Units txt defaultUnitSetup Write PHYA1 Particles Quantum Phenomena and Electricity amp vbNewLine amp PHYA2 Mechanics Materials and Waves amp vbNewLine amp PHYA4 Fields and Further Mechanics amp vbNewLine amp PHYA5 Nuclear Physics and Thermal Physics amp vbNewLine amp PHYA5A Astronomy and Cosmology amp vbNewLine amp PHYA5B
119. ing QUEStIONS sssnieseeniirro onenean ea aiaa an aiaa aa aai 162 Filtering Questions by Unit Topic or Difficulty ce eeessececsesseeeeesseeeeeeeeenaes 163 Exporting QUIZZES wii cose nanain a E NEE RENEE EE E E AEE EEI Re 165 Uploading Quizzes to MOOd6 ix ise icecscecaeciscessenccesenccaavsecccesevsnecdecadusteceesveuecetesusees 166 Troubleshooting vscrcisirrnrosisaisa naaa R e Ra Ea aA 168 POPP ANS A issiiscinawncvensacadccstavncensensadcasetsacedas Godtasduesiasinseneceaumendradnedsatsadanudvaslenssasansamvanasanicesiaus 170 Comparison of Project Performance Against Objectives cccecsscecessseecessseeeeeeeaaes 170 Potential for Future Developments iccccescsacscetanadsestaniasdedenctidueicaddvausaadaseeeiaasieamadecesenedveds 172 Analysis of User Feedback icci cscieszccciasl sacs iaazantiosaspaticvaseealanlarsadsansadielanaiaeenaiiedasanae 173 Testing Outcome Screenshots ssssssssossssssosssesessessscssesscosssscessssesssseseeessseccsssscssssssesssseeee 177 Damask Talary Brown 5556 3 Centre Number 64395 WA Godalming akai YW College COMP4 Physics Quiz Generator Analysis Project Problem Definition Client Godalming College Physics department e Anne Lancaster Primary e Phillip Morgan and Joe McCarthy Holland Secondary Contact Anne Lancaster Tuesley Lane Godalming Surrey GU7 1RS 01483 423526 Background to the Problem The Godalming College physics department is a small department compri
120. ing Z i i Y College COMP4 Physics Quiz Generator J gt DAMI My first quiz x l gt AB nhttps moodle godalming ac uk learning mod quiz attempt php q 330 amp a r a 14 An object is whirled in uniform circular motion in a vertical circle If the weight of the object is W and the tension in the string is T what is the centripetal force Fc at the moment that the object passes through Marks 1 the bottom point in the circle Chooseone a 2TW p b 2TAV c W T 6 T w m 2a A 600g object is whirled in a circle on the end of a string If the string is 0 5m long and the force in the string is 4 8N what is the speed of the object in ms 1 Marks 1 Answer 34 A metal wire of length 1 4 m has a uniform cross sectional area 7 8 x 10 7 m 2 Calculate the Marks 4 resistance R of the wire in ohms to two significant figures The resistivity of the metal 1 7 x 10 8 Om Answer 44 A ray of light falls on a glass block and the angle of incidence is 45 If the angle of refraction is 30 what is the refractive index of glass Marks 1 Answer l a m r Damask Talary Brown 5556 2 04 Centre Number 64395 Goda ming east Y Y College COMP4 Physics Quiz Generator 35 3 Benchmark Lo x File Edit View X Ca 1 What is the force in Newtons acting on a body if its momentul
121. ing questions from the database and or adding new questions The user can add new questions or select existing questions and add them to a quiz The system must notify the user if they are adding a question to a quiz which already contains it to prevent unnecessary duplicates The user should be able to export text based quizzes as text files to be emailed or printed Text based quizzes should have separate numbered mark schemes unlike the integrated Moodle quizzes The system notifies the user with a dialog box if they are adding a duplicate question to the quiz Text based quizzes are saved with a numbered mark scheme of the same name suffixed by Mark scheme in the same directory which also contains the marks each question carries The system should be able to export quizzes with integrated answers in a format and the UTF 8 encoding recognised by Moodle The system exports GIFT files which can be uploaded directly to Moodle Users should be able to see at all times a count of how many questions they are viewing and how many are in the current quiz The system must include button shortcuts for common actions such as adding and removing questions to or from quizzes in order to reduce the time spent navigating menus 4 741 Damask Talary Brown 5556 ie a 1 The status strip at the bottom of the home screen shows a live count of how many questions are in the syste
122. ion QID Class tblincorrectanswer QID IncAns tblunittopic GTopic Unit tbltopics STopic GTopic tblquiz QUIZID QID Damask Talary Brown 5556 41 Centre Number 64395 z WA Godalming east Y College COMP4 Physics Quiz Generator Table Relationship Diagram This diagram illustrates the relationships between the normalised tables in the new system The entity abbreviations are explained in the key We can tell the data has been normalised because there are no many to many relationships QID unique question identifier Qtext the body of the question Qans the correct answer Qincans the incorrect answers Stopic specific topic tbiclassquestion Gtopic general topic QID Class Unit unit Rating difficulty rating Qtype question type QuizID unit quiz identifier Class class tbltopics Stopic GTopic tblquestion QID Qtext Stopic QAns tblincorrectanswer Rating Qtype QID Qincans tblunittopic Gtopic Unit tbiquiz QuizID QID Damask Talary Brown 5556 42 Centre Number 64395 WA Godalming Tokai h4 College COMP4 Physics Quiz Generator Sample of Possible SQL Queries Displaying all existing questions in the database SELECT Qtext Qtype Rating FROM tbhlquestion Displaying all questions from a topic SELECT Qtext Qtype Rating FROM tblquestion WHERE Topic Displaying all questions of particular rating
123. ions and deselect items in both lists Else Exit Sub Damask Talary Brown 5556 1 12 Centre Number 64395 WA Godalming College COMP4 Physics Quiz Generator End If Call countLists Count questions End Sub Sub refreshQuiz Clears and refreshes the quiz list when it has changed in the event of questions being added deleted or edited 1lstQuiz Items Clear For i To newQuiz Count 1 IstQuiz Items Add newQuiz i getQText amp amp newQuiz i getQAnswer amp Next Call countLists Count questions End Sub Sub countLists Updates the count toolbar at the bottom of the form by counting the question and quiz lists questionStatusLabel Text Viewing amp lstQuestions Items Count amp questions quizStatusLabel Text Quiz contains amp lstQuiz Items Count amp questions End Sub Private Sub addNewQuestion ByVal sender As System Object ByVal e As System EventArgs Handles btnNewQuestion Click menuNewQuestion Click Resets fields on the form and opens it as a dialog frmAddEditQuestion clearQuestion frmAddEditQuestion ShowDialog End Sub Sub addNewQuestion ByVal newquestion As Question Add the passed question to the allQuestions collection allQuestions Add newquestion Call refreshList End Sub Private Sub editQuestion ByVal sender As System Object ByVal e As System EventArgs Handles btnEditQuestion Click menuEditQuestion Click Try If IstQuestions SelectedIndex gt 1 The
124. isa Are you sure dialogue If class selected yes the log is deleted Damask Talary Brown 5556 64 Centre Number 64395 WA Godalming W College COMP4 Physics Quiz Generator 14 Save quiz T The quiz Save dialogue opens and text based contains two text files are saved questions One quiz and one mark scheme with the same filename as entered for the quiz suffixed by mark scheme E The quiz Quiz contains no questions contains no dialogue Nothing is questions exported 15 Export quiz T The quiz Save dialogue opens and for contains one text file with integrated Moodle questions answers is saved This can be uploaded to Moodle with no editing E The quiz Quiz contains no questions contains no dialogue Nothing is questions exported 16 Loading T Question files All questions are loaded questions exist and into the question pane contain question data T Question files do not exist Welcome to Benchmark dialogue Files not existing suggest this is the first time the system has been run T Question files exist but do not contain question data You haven t added any questions yet dialogue Blank files suggest the system has been run before Damask Talary Brown 5556 65 Centre Number 64395 WA Godalming Physi i Y College COMP4 Physics Quiz Generator Navigation Testing Design To
125. itter by ye ES Very Easy Multiple Choice 2 55 Simple Short Answer 3 5 Average True False 4 5 Tricky Numerical Difficult Damask Talary Brown 5556 79 Centre Number 64395 Godalming akad F College COMP4 Physics Quiz Generator Class Overview There are two classes from which objects are instantiated modelled on their real counterparts Group Question Every teaching group in the Every question in the system department Private properties Private properties groupName qText groupLog qAnswer qUnit Gg Top uc Public methods qType qincorrect 2 getGroupName CED getGrouplog qRating setGroupName setGroupLog Public methods CGiSirOWSsic getQOAnswer getQuUnit CGSCOMOSiLCS CGecOryioS getIncorrect getQRating GeT setOText setQAnswer setQUnit setOQTopic setOType setQIncorrect setQRating Damask Talary Brown 5556 80 Centre Number 64395 A Godalming A College COMP4 Physics Quiz Generator Public Class Group Dim groupName GroupLog As String Public Sub setGroupName ByVal name groupName name End Sub Public Function getGroupName Return groupName End Function Public Sub setGroupLog ByVal log GroupLog log End Sub Public Function getGroupLog Return GroupLog End Function End Class Public Class Question Private qText qAnswer qUnit qTopic qType As String Private qID qRating As Integer Private gI
126. iz Validates the presence of questions in newQuiz Prompts the user for a file name and path then calls exportMoodleQuestion for each question in newQuiz passing the question and the question type writing the returned values to a text file exportMoodleQuestion Depending on the question type passed to it the function gets question data from the question passed to it and formats it using gift file formatting Damask Talary Brown 5556 134 Centre Number 64395 WA Godalming Ww College COMP4 Physics Quiz Generator Subroutine Description exportTextQuiz Validates the presence of questions in newQuiz Prompts the user for a file name and path then calls exportTextQuestion for each question in newQuiz passing the index of the question in newQuiz the question the question type and a random number between one and four writing the returned values to a text file For each question iterated through it writes the same index and the difficulty rating and answer to a mark scheme text file exportTextQuestion Depending on the question type passed to it the function either returns the question text and difficulty rating short answer numerical or true false or uses the random number passed to shuffle the answers preventing the consistent ordering of the correct answer within the incorrect ones Variable Type Description i Collection o
127. lease enter a class name End If End Sub End Class Damask Talary Brown 5556 97 Centre Number 64395 WA Godalming bent M College COMP4 Physics Quiz Generator frmClassLogs Handles the displaying of all classes and logs in the system links to all other class log forms btnDeleteClass IstAllClasses btnAddLog a LJ btnDeleteLog Public Class frmClassLogs Creates a new instance of collections of groups to store all physics groups in the system Public allClasses As New System Collections ObjectModel Collection Of Group Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Sets the properties which determine whether the user can maximise and minimise the form Me MinimizeBox False Me MaximizeBox False Calls the importlogs subroutine to populate the allclasses collection Call importLogs End Sub Private Sub closeForm ByVal sender As System Object ByVal e As System EventArgs Handles btnOK Click Damask Talary Brown 5556 98 Centre Number 64395 FR Godalming Physi i Y College COMP4 Physics Quiz Generator Close the form Me Close End Sub Function importLogs Gets the user directory name by retrieving the environment variable userprofile Dim userDirectory As String Environment GetFolderPath Environment SpecialFolder MyDocuments If System I0 File Exists userDirectory amp Benchmark Logs txt Then If the file exists load
128. lege COMP4 Physics Quiz Generator Database Normalisation and Design If choose to base the new system around a database this needs to be normalised to avoid inconsistencies from the duplication of data and to save space by eliminating non atomic data Bold indicates a primary or in the case where more than one attribute in the same table is bolded composite key Italics indicate a foreign key meaning that the attribute is the primary or partial composite key in a different table This is the first table before any attempt at normalisation tblquestion QID QText Unit QType QAns IncAns Rating GTopic STopic Class Quiz The table contains non atomic data attributes with repeated entries in this case IncAns Class and Quiz which are not only a waste of space but can also lead to users not being able to store all the relevant data These need to be moved to new tables Damask Talary Brown 5556 39 Centre Number 64395 WA Godalming h4 College COMP4 Physics Quiz Generator These are the tables in First Normal Form tblquestion QID QText Unit QType QAns Rating GTopic STopic tblclassquestion QID Class tblincorrectanswer QID IncAns tblquiz QUIZID QID In 1NF none of the data is non atomic All three of the new tables r
129. lse a capacitor consists A ray of light falls on a glass block The critical angle of diamond is 2 Modern hi fi equipment and televis True or false the threshold of hea An X ray tube operates with a pd acros Which of the following is the correct equation for the work ful A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 CONOnfWNH Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 188 Centre Number 64395 Godalming east College COMP4 Physics Quiz Generator 14 8 Benchmark emery File Edit View SXi Q 1 What is the force in Newtons acting on a body if its momentu 4 A 600g object is whirled in a circle on the end of a string If th 6 An object is whirled in uniform circular motion in a vertical circ q Viewing 3 questions Quiz contains 0 questions r J Benchmark B x What is the force in Newtons acting Isotopes of the same element all hay Please enter a search term A plane flying in a uniform horizontal A 600g object is whirled in a circle oi Which of the following statements is An object is whirled in uniform circula True or false a capacitor consists of A ray of light falls on a glass bld 3 Search The critical angle of diamond is Modern hi fi equipment and tel True or false the threshold of An X ray tube operates with a Which o
130. m and how many are in the current quiz Centre Number 64395 A Godalming Tokai YW College COMP4 Physics Quiz Generator Potential for Future Developments As a default the units and topics read into the system are those from the AQA Physics A specification AS 2009 onwards A2 2010 onwards As the specification is subject to change it follows that the unit and topic data read by the system will change as well At present new units and topics can be added by adding the unit to C Users UserProfile Benchmark Units txt on its own line and creating a UTF 8 encoded text file with the same name as the unit containing a list of its topics on separate lines This can all be done in a simple text editor such as Notepad However if existing units or topics are deleted questions from those topics will not be searchable or editable A potential development would include a separate category for old specification units or topics so they are still searchable but can be hidden when not required Another development which could be implemented is the inclusion of images or diagrams in questions which Moodle can process This feature would be more complex than any of the question features currently in the system and I m limited by my time frame and own ability and as such unable to include it For someone maintaining the system with more time available however this would be possible and allow an even wider range of questions to be added
131. ment and televisions often have volume co True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV A Which of the following is the correct equation for the work ful A steady current of 0 25A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 Test question Will be deleted Particles and Radiation 1 1 2 3 4 9 6 7 8 9 Viewing 16 questions Quiz contains 0 questions r J Benchmark File Edit View X CQ lela x X What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incide The critical angle of diamond is 24 What is its refract OCOnNoanhkwnh Modern hi fi equipment and televisions often have vo True or false the threshold of hearing is the lowest An X ray tube operates with a pd across the tube of Which of the following is the correct equation for the A steady current of 0 25 A passes through a torch b The battery in a torch
132. mentation System Overview IOPS Chart COMP4 Physics Quiz Generator The following chart outlines the input output process and storage components of the new system in the most concise way This can be cross referenced with the original IOPS design on page 32 Data flow remains the same as in design which can be seen on page 34 Input Class record recent topic Class name Unit of work Topic Question type Question text Correct answer Incorrect answers if multiple choice File name when saving Storage Question text file Class log text file Units text file Individual topic text files System Flowchart Process Retrieve and display questions from text file Save questions to text file Save question documents Convert questions to Moodle gift format Sort questions alphabetically Search for strings within questions Filter questions by unit topic etc Output Moodle GIFT file Digital question document On the following page is an update of the system flowchart from design which can be seen on page 32 Processes such as searching and filtering have been included in more depth and features added at the end of design such as alphabetising questions have been included Damask Talary Brown 5556 148 Centre Number 64395 RA Godalming Physi i M College COMP4 Physics Quiz Generator Start View class progress logs Display all questions matching search term filter
133. move qDelete Remove the question from the allquestions collection Call refreshList End If Else MsgBox Please select a question End If Catch End Try End Sub Private Sub searchQuestions ByVal sender As System Object ByVal e As System EventArgs Handles btnSearch Click menuSearch Click Load the search form frmTextSearch ShowDialog End Sub Sub searchQuestions ByVal searchTerm As String Dim found As Boolean lstQuestions Items Clear Clear the question list For i To allQuestions Count 1 Execute for the index of every question in the system Damask Talary Brown 5556 1 1 5 Centre Number 64395 WA Godalming Sida wo College COMP4 Physics Quiz Generator If LCase allQuestions ElementAt i getQText contains LCase searchTerm Then found True Add each matching question to the question list lstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists Counts the search results If found False Then MsgBox No questions found Notify the user if no questions matched the search term End Sub Private Sub filterUnitTopic ByVal sender As System Object ByVal e As System EventArgs Handles menuFilterUnitTopic Click Show filter form frmFilterUnitTopic ShowDialog End Sub Sub filterUnitT
134. mp d amp q getIncorrect 2 amp vbNewLine amp vbNewLine ElseIf x 3 Then exportTextQuestion i amp amp q getQText amp vbTab amp amp q getQRating amp mark s amp vbNewLine amp a amp q getIncorrect amp vbNewLine amp Damask Talary Brown 5556 124 Centre Number 64395 WA Godalming Sida M College COMP4 Physics Quiz Generator b amp q getIncorrect 1 amp vbNewLine amp c amp q getQAnswer amp vbNewLine amp d amp q getIncorrect 2 amp vbNewLine amp vbNewLine Else exportTextQuestion i amp amp q getQText amp vbTab amp amp q getQRating amp mark s amp vbNewLine amp a amp q getIncorrect amp vbNewLine amp b amp q getIncorrect 1 amp vbNewLine amp c amp q getIncorrect 2 amp vbNewLine amp d amp q getQAnswer amp vbNewLine amp vbNewLine End If Else MsgBox Error Please try again End If End Function End Class frmTextSearch Handles the input and validation of text to search questions xX Search Ss O C3 txtSearch btnSearch Public Class frmTextSearch Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Sets the properties determining whether the user can maximise or minimise the form Me MinimizeBox False Me MaximizeBox False End Sub Private Sub searchClicked ByVal sender As System Object ByVal e As System E
135. mp vbNewLine amp Thermal Physics defaultUnitSetup Close defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYA5A Astronomy and Cosmology txt defaultUnitSetup Write Lenses and Optical Telescopes amp vbNewLine amp Non Optical Telescopes amp vbNewLine amp Classification of Stars amp vbNewLine amp Cosmology defaultUnitSetup Close defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYA5B Medical Physics txt defaultUnitSetup Write Physics of the Eye amp vbNewLine amp Damask Talary Brown 5556 109 Centre Number 64395 RA Godalming M College COMP4 Physics Quiz Generator Physics of the Ear amp vbNewLine amp Biological Measurement amp vbNewLine amp Non Ionising Imaging amp vbNewLine amp X Ray Imaging defaultUnitSetup Close defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYAS5C Applied Physics txt defaultUnitSetup Write Rotational Dynamics amp vbNewLine amp Thermodynamics and Engines defaultUnitSetup Close defaultUnitSetup New System I0 StreamWriter userDirectory amp Benchmark PHYA5SD Turning Points in Physics txt defaultUnitSetup Write The Discovery of the Electron amp vbNewLine amp Wave Particle Duality amp vbNewLine amp Special Relativity defaultUnitSetup Close End If End Sub Sub setToolTips Sets the tooltips for all the shortcut i
136. n If there is a question selected Get the question index from the list text Dim line As String lstQuestions SelectedItem ToString Damask Talary Brown 5556 1 1 3 Centre Number 64395 WA Godalming aba Y College COMP4 Physics Quiz Generator Dim idIndex As Integer CInt line Substring line IndexOf 1 Edit the question with the index of the selected list item Pass the question identified from the index to frmEditQuestion and open the form frmAddEditQuestion editQuestion allQuestions idIndex frmAddEditQuestion ShowDialog Otherwise prompt the user to select a question Else MsgBox Please select a question End If Catch End Try End Sub Sub updateQuestion ByVal qText ByVal qtype ByVal qRating ByVal qAns ByVal qInc1 ByVal qInc2 ByVal qInc3 ByVal qUnit ByVal qTopic Dim questionIndex As Integer lstQuestions SelectedIndex If editing the index of the selected question will not have changed from before frmEditQuestion was opened Update the existing question at the specified index in allQuestions with the new data passed by frmEditQuestion allQuestions questionIndex setQText qText allQuestions questionIndex setQType qtype allQuestions questionIndex setQRating qRating allQuestions questionIndex setQAnswer qAns If allQuestions questionIndex getQType MC Then allQuestions questionIndex setIncorrect qInc1 0 allQuestions questionIndex setIncorrect qInc2 1 allQuestions question
137. n 5556 142 Centre Number 64395 WA Godalming v College COMP4 Physics Quiz Generator switchValues True tempData 0 questionList i 0 tempData 1l questionList i 1 questionList i 0 questionList itl 0 questionList i 1 questionList itl 1 questionList itl 0 tempData 0 questionList itl 1 tempData 1 ENDIF NEXT END WHILE Code Dim questionList allQuestions Count 1 1 As String For i To allQuestions Count 1 questionList i allQuestions i getQText questionList i 1 allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp Next Dim tempData 1 As String Dim switchValues As Boolean True While switchValues True switchValues False For i To allQuestions Count 2 If questionList i gt questionList i 1 Then switchValues True tempData questionList i 9 tempData 1 questionList i 1 questionList i questionList i 1 Q questionList i 1 questionList i 1 1 questionList i 1 tempData questionList i 1 1 tempData 1 End If Next End While Damask Talary Brown 5556 143 Centre Number 64395 a Godalming Mm College COMP4 Physics Quiz Generator Algorithm Loading units and topics into the Lo
138. n addNewClass Handles the add new class menu click event Loads frmAddNewClass Private addToQuiz Handles the add to quiz button click event Calls addToQuiz see below shortcutAddToQuiz Handles the keypress event in the question list If the keypress is the return key it calls addToQuiz see below addToQuiz Validates the list selection and if valid checks if the question is already in the quiz by calling alreadylnQuiz see below If the question is in the quiz then the user is notified if it s not then the selected question is added to the newQuiz collection and the quiz list Calls countLists alreadyInQuiz Checks for the presence of the question in allQuestions at the index passed to it in newQuiz If it exists in newQuiz returns true and otherwise returns false Private deleteFromQuiz Handles the delete from quiz button click event Calls deletefromQuiz see below shortcutDeleteFromQuiz Handles the keypress event in the quiz list If the keypress is the backspace key it calls deleteFromQuiz see below deleteFromQuiz Validates the list selection and if valid confirms the deletion of the question from the quiz Removes the question from the quiz list and from newQuiz clearQuiz Handles the clear quiz menu click event Validates list selection and confirms the clearing with the user Clears both newQuiz and the quiz list Calls countLists exportMoodleQu
139. n a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equipment and televisions often have volume co True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV A Which of the following is the correct equation for the work ful A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 J Benchmark Lo e x J What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speed A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a True or false a capacitor consists of two perpe A ray of light falls on a glass block and the angle The critical angle of diamond is 24 What is its re Modern hi fi equipment and televisions often ha True or false the threshold of hearing is the lowe An X ray tube operates with a pd across the tub Which of the following is the correct equation for A steady current of 0 25 A passes through a torch The battery in a torch bulb supplies a steady current o
140. n terms of my available resources and time frame this solution is unfeasible in terms of development e This is primarily because it only makes one improvement on the existing system while removing the features that the client found most useful such as being able to search for particular questions by type and unit e All questions and additional data would have to be manually entered which would involve a lot of unnecessary repetition of entry for fields such as units and topics This could also lead to typographic errors e A manual system would be much more time consuming on a day to day basis wasting lesson time This is especially important to consider given that these quizzes are often set as starter activities and therefore the process of generating them must be quick and easy e The process of copying and pasting individual questions and answers into the Moodle creator form would be repetitive and a waste of time for the staff it s a far less complicated process to upload a text file with parsed questions and answers in bulk into the online question bank and let Moodle import and format them automatically 2 Asystem which is part manual and part computerised The questions would be entered with the answers and other relevant and stored in the system in a database or text file s and the user would be able to use an improved search filter to filter the questions by unit topic difficulty rating or type This would then allow them t
141. n the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consistg A ray of light falls on a glass bloc The critical angle of diamond is 2 10 Modern hi fi equipment and telev This quiz doesn t contain any questions 11 True or false the threshold of he OCOOnNoanhwWNhH 12 An X ray tube operates with a pd 13 Which of the following is the co 14 A steady current of 0 25 A passe 15 The battery in a torch bulb supplieS Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 2 0 1 Centre Number 64395 WA Godalming east Y College COMP4 Physics Quiz Generator 34 T oo amp gt gt Libraries Documents Quizzes v I Search Quizzes P w Organize v Li Open x Share with v Print E mail New folder F i A An object is whirled in uniform circular motion ina a Wr Favorites DIA ee vertical circle If the weight of the object is w and the m Q sea cto aed tension in the string is T what is the centripetal force HE Desktop Fc at the moment that the object passes through the T Downloads bottom point in the circle Moodle quiz T W E Recent Places a W T L 2T W fm SkyDrive E TTW 3 Libraries True or false the threshold of hearing is the lowest E Documents level of sound
142. nclude it Calls countLists editQuestion Validates list selection and if valid loads frmAddEditQuestion passing it the index of the currently selected question in allQuestions updateQuestion Overwrites the question at the selected index of the question list with the data from the question passed to it by saveQuestion see frmAddEditQuestion Updates the question list then calls refreshList and refreshQuiz Damask Talary Brown 5556 132 Centre Number 64395 WA Godalming WY College COMP4 Physics Quiz Generator Subroutine Description deleteQuestion Handles the delete button click event and the delete menu click event Validates the list selection and confirms the deletion of the selected question before deleting it from allQuestions and the question list Attempts to delete the question from the quiz if it exists there and notifies the user if this is successful Calls refreshList Private searchQuestions Handles the search button click event and the search menu click event Loads frmTextSearch searchQuestions Clears the question list and iterates through allQuestions searching for the term passed to it by frmTextSearch adding any questions which contain the term to the list and displaying it in its filtered form If no results are found it notifies the user Calls countLists Private filterUnitTopic Handles the filter by unit topic menu click event Lo
143. ncorrect 2 As String Public Sub setQText ByVal text qText text End Sub Public Function getQText Return qText End Function Public Sub setQAnswer ByVal answer qgAnswer answer End Sub Public Function getQAnswer Return qAnswer End Function Public Function getIncorrect ByVal x Return qIncorrect x End Function Public Sub setIncorrect ByVal incorrect ByVal x qiIncorrect x incorrect End Sub Public Sub setQTopic ByVal topic qTopic topic End Sub Public Function getQTopic Damask Talary Brown 5556 81 Centre Number 64395 A Godalming Y College Return qTopic End Function Public Sub setQUnit ByVal unit qUnit unit End Sub Public Function getQUnit Return qUnit End Function Public Sub setQID ByVal id qID id End Sub Public Function getQID Return qID End Function Public Sub setQRating ByVal rating qRating rating End Sub Public Function getQRating Return gRating End Function Public Sub setQType ByVal type qType type End Sub Public Function getQType Return qType End Function End Class Damask Talary Brown 5556 82 COMP4 Physics Quiz Generator Centre Number 64395 WA Godalming bent M College COMP4 Physics Quiz Generator Form Overview Excluding dialogues there are nine forms that make up the system frmAddEditQuestion Handles the input and of new question data the editing of existing question data and the validation of all question
144. new questions 15 The system must notify the user if they are adding a question to a quiz which already contains it to prevent unnecessary duplicates 16 The user should be able to export text based quizzes as text files to be emailed or printed 17 Text based quizzes should have separate numbered mark schemes unlike the integrated Moodle quizzes 18 The system should be able to export quizzes with integrated answers in a format and the UTF 8 encoding recognised by Moodle 19 Users should be able to see at all times a count of how many questions they are viewing and how many are in the current quiz 20 The system must include button shortcuts for common actions such as adding and removing questions to or from quizzes in order to reduce the time spent navigating menus Damask Talary Brown 5556 Z 8 Centre Number 64395 WA Godalming YW College COMP4 Physics Quiz Generator Potential Solutions and Justification of Chosen Solution Potential Solutions 1 A manual system which would allow teachers complete flexibility with their questions as they could simply word process them using a template created by the system Any question type supported by Moodle could be saved and teachers would have greater control over the formatting of the text based quizzes and mark schemes Questions could then be copied and pasted into the Moodle question creator form to allow students to access them online e Although more than feasible i
145. nomena and Bectricity v 4 m Viewing 15 questions Quiz contains 0 questions f Question Which of the following statements is correct for an object moving with uniform horizontal circular motion Short Answer Tne False Multiple Choice Calculation The momentum of the object varies but its speed is constant The kinetic energy of the object varies but its momentum is constant The kinetic energy of the object varies but the momentum is constant Lo o e x Viewing 15 questions Damask Talary Brown 5556 1 79 Centre Number 64395 Godalming College COMP4 Physics Quiz Generator Question What is the force in Newto Isotopes of the same eleme A plane flying in a uniform A 600g object is whirled in a Which of the following state An object is whirled in unifo True or false a capacitor co A ray of light falls on a glass The critical angle of diamon Modern hi fi equipment and True or false the threshold An X ray tube operates wit Which of the following is the A steady current of 0 25 A p The battery in a torch bulb s i Question Which of the following statements is correct for an object moving with uniform horizontal circular motion re The kinetic energy of the object varies but its momentum is constant The speed of the object varies but the momentum is constant
146. nter As expected None required dialogue Form stays open E Invalid As expected R character in number field 2 Editing a T There isa Edit question As expected None required question question form loads selected with existing data and when saved question updates in the question pane and if applicable the quiz E None Please select a As expected None required selected question dialogue Damask Talary Brown 5556 67 Centre Number 64395 WA Godalming W College _ COMP4 Physics Quiz Generator 3 Deleting a T There is a Are you sure As expected None required question question dialogue and selected if yes then question is deleted from the pane and if applicable the quiz E None Please select a As expected None required selected question dialogue 4 Adding a T Question Question As expected None required question to selected appears in the the quiz quiz pane E No question Please selecta As expected None required selected question dialogue X Question is Already in Already in Exit the IF statement already in quiz quiz dialogue quiz appears before the question Question does but question is is added Second not appearin still added to test conducted 4b the quiz pane the quiz 4 b Adding a X Question is Already in As expected
147. o gm Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 19 3 Centre Number 64395 ena Re Goraming WS College gm COMP4 Physics Quiz Generator Viewing 15 questions Quiz contains 0 questions 25 J Benchmark File Edit View IN A 1 What is the force in Newtons act 2 Isotopes of the same element al 3 A plane flying in a uniform horizo a A 600g object is whirled in a circ 5 Which of the following statemeni 6 An object is whirled in uniform ci 7 True or false a capacitor consist 8 A ray of light falls on a glass bloc 9 The critical angle of diamond is 10 Modern hi fi equipment and tele 11 True or false the threshold of hey 12 An X ray tube operates with a pd 13 Which of the following is the co 14 A steady current of 0 25 A passe 15 The battery in a torch bulb supplies a steady current of 0 25 lt Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 Centre Number 64395 S Esie E 26 COMP4 Physics Quiz Generator r J Benchmark X 1 2 3 4 9 6 7 8 9 What is the force in Newtons a Isotopes of the same element a A plane flying in a uniform horizo A 600g object is whirled in a circ Which of the following statemen An object is whirled in uniform ci True or false a capacitor consist A ray o
148. o copy and paste questions of their choosing into a text file or similar in order to be saved and used as a text based quiz or with certain formatting uploaded to Moodle e This solution is too close to the existing system and doesn t match the needs of the client It would be feasible both in terms of development and my abilities but it would merely be an improvement as opposed to a solution e The improvements from the previous solution would be the ability to select repetitive data such as units topics and rating from drop down lists rather than having to manually enter them every time and risk typographic errors e In order for copied and pasted questions to be saved in text files by the user and uploaded to Moodle the user would have to individually go through each Damask Talary Brown 5556 29 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator question and add the relevant formatting GIFT or Moodle XML and then save it using the correct encoding Even the simplest of errors such as not closing an XML tag or forgetting a tilde can cause questions to be imported incorrectly and the entire document to become useless Other drawbacks are the same as with the previous solution it would still be a time consuming process to have to manually copy data out of the system even if the inputs processing and storage were fully computerised 3 A fully computerised and part web based system which would eliminate
149. of diamond Modern hi fi equipment and True or false the threshold An X ray tube operates with Which of the following is the A steady current of 0 25 A passes The battery in a torch bulb supplies a Numerical answers cannot contain words or characters Viewing 15 questions Quiz contains 0 questions File Edit View SXi Q What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nut A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde 1 2 3 4 5 6 7 8 9 Modern hi fi equipment and televisions often have volume c True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV A Which of the following is the correct equation for the work ful A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 T Viewing 15 questions Quiz contains 0 questions Damask Talar
150. ogs User Feedback Form OOOD errs STERR 1 Excellent OOOO 5 unusabie OOOO Poor Additional feedback on features such as clarity of user guide ease of use of the system etc A mom effete and Aie bobas Grem hed Come hoe wim bre aleta bab fuente Mat um babe ue ait nmh Angen lao able m fom vZ De aag avd obag A dmh wm very prol jro ad a Demag fredie ue enceten hmd be credin a Ganges a Wille mere cegek tons emg E lo hh PAoa uet eee beajet frm mer A a orhan on a wee ite Didar redy get omota 16 amp pmte G bak im uh htag l dane on Gollum Oonu e Erret E pled ome Oues t GoL E Date ae dee i Damask Talary Brown 5556 1 75 Centre Number 64395 WA Godalming east M College COMP4 Physics Quiz Generator Damask Talary Brown 5556 1 76 Centre Number 64395 F Godalming W College COMP4 Physics Quiz Generator Testing Outcome Screenshots J Benchmark X 4 OCOOnNoankwWNh What is the force in Newtons acti Isotopes of the same element all A plane flying in a uniform horizo A 600g object is whirled in a circle Which of the following statements An object is whirled in uniform circi True or false a capacitor consis A ray of light falls on a glass blockii The critical angle of diamond is E 4 True or false the threshold af il An X ray tube operates with a pd Which of the following is the corre A steady current of 0 25 A pa
151. ollege COMP4 Physics Quiz Generator frmHome Subroutine Description startup Handles the form loading event Calls setToolTips importAllQuestions and countLists see below Creates the default unit and topic text files if none exist already setToolTips Sets the tool tips for the icons on the form counthists Counts the elements in allQuestions and newQuiz and displays them in the toolbar at the bottom of the form importAllQuestions Reads the contents of the questions text file if it exists and loads data into the allQuestions collection of questions Calls refreshList see below backupAllQuestions Overwrites the questions text file by iteratively calling backupQuestion see below and writing the returned value to the file backupQuestion Returns all the question data associated with the question passed to it refreshList Handles the refresh button click event and the view all menu click event Erases and rewrites the question list from allQuestions recounts them and calls backupAllQuestions Calls countLists refreshOuiz Erases and rewrites the quiz list from newQuiz Calls countLists Private addNewQuestion Handles the new question button click event and the new question menu click event Calls clearQuestion see frmAddEditQuestion and loads frmAddEditQuestion addNewQuestion Adds the question passed to it to the allQuestions collection and updates the question list to i
152. opic ByVal treeIndex ByVal nodeTitle If treeIndex 1 Then Indexes of 1 indicate the node was a unit lstQuestions Items Clear Clear the question list For i To allQuestions Count 1 Search every question in the system for matching units If allQuestions ElementAt i getQUnit nodeTitle Then IstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists ElseIf treeIndex 2 Then Indexes of 2 indicate the node was a topic lstQuestions Items Clear For i To allQuestions Count 1 Search every question in the system for matching topics If allQuestions ElementAt i getQTopic nodeTitle Then Damask Talary Brown 5556 1 16 Centre Number 64395 WA Godalming Silica M College COMP4 Physics Quiz Generator IstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists Count the search results End If End Sub Private Sub filterDifficulty ByVal sender As System Object ByVal e As System EventArgs Handles menuFilterDifficulty Click Show filter form frmFilterDifficulty ShowDialog End Sub
153. or File Edit View SP Sees What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nu A plane flying in a uniform horizontal circle at constant speed A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equipment and televisions often have volume co True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV 4 Which of the following is the correct equation for the work ful A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 1 2 3 4 5 6 7 8 9 gm Viewing 15 questions Quiz contains 0 questions 13 r Benchmark Lola x File Edit View X CQ What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nut A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle Which of the following statements An object is whirled in uniform circ True or fa
154. or consi A ray of light falls on a glass bloc The critical angle of diamond is 2 Modern hi fi equipment and tele True or false the threshold of hej An X ray tube operates with a pd Which of the following is the corrg A steady current of 0 25 A passe The battery in a torch bulb supplies a steady current of 0 25 Viewing 15 questions Quiz contains 0 questions CHOS SS ae EE Isotopes of the same element all A plane flying in a uniform horizo A 600g object is whirled in a circlg Which of the posse lah i An object is whirl True or false a cap A ray of light falls o The critical angle o Modern hi fi equip True or false the t An X ray tube opel Which of the follo A steady current oi The battery in a torch bulb supplies a steady current of 0 25 gemm Viewing 15 questions Quiz contains 0 questions Damask Talary Brown 5556 196 Centre Number 64395 Godalming east W College COMP4 Physics Quiz Generator 29 r 3 Benchmark Lo e x X What is the force in Newtons a Isotopes of the same element a A plane flying in a uniform horizo A 600g object is whirled in a circi Which of the following statemeni An object is whirled in uniform ci True or false a capacitor consist A ray of light falls on a glass bloc The critical angle of diamond is Modern hi fi equipment and tele True or false the threshold of hej An X ray tube op
155. ox The box cannot be left blank according to the validation rules of the form End Sub End If comboTopic SelectedIndex Sub clearQuestion txtQuestion Clear txtAns Clear radShortAns Checked True txtMultiple1 Clear txtMultiple2 Clear txtMultiple3 Clear txtQuestion Select Clear all text boxes and reset to the default question type short answer Me Size New Point 436 440 pnlCharacters Size New Point 32 208 pniCharacters Text pnlButtons Visible False lb1Characters Visible False comboAns Size New Point 351 21 txtAns Size New Point 351 20 txtMultiple1 Size New Point 351 20 txtMultiple2 Size New Point 351 20 txtMultiple3 Size New Point 351 20 btnSaveQuestion Location New Point 315 363 Me MaximumSize New Point 450 440 Reset the form to its minimised size with the additional characters panel closed comboRating SelectedIndex End Sub Private Sub saveQuestion ByVal sender As System Object ByVal e As System EventArgs Handles btnSaveQuestion Click Damask Talary Brown 5556 87 Centre Number 64395 WA Godalming YW College COMP4 Physics Quiz Generator Dim validquestion As Boolean True If txtQuestion Text Then No question validquestion False MsgBox Please enter a question ElseIf comboUnit Text Then No unit validquestion False MsgBox Please select a unit ElseIf comboTopic Text Then No topic validq
156. r As System Object ByVal e As System EventArgs Handles menuClearQuiz Click If newQuiz Count gt Then If the newquiz collection is not empty get user confirmation with the yes no dialog Dim result As MsgBoxResult MsgBox Are you sure you want to clear the current quiz MsgBoxStyle YesNo If result MsgBoxResult Yes Then Clear the newquiz collection and the quiz list lstQuiz Items Clear newQuiz Clear End If Call countLists Recount the quiz and question lists Else MsgBox This quiz doesn t contain any questions End If Damask Talary Brown 5556 12 1 Centre Number 64395 WA Godalming Sida Y College COMP4 Physics Quiz Generator End Sub Private Sub exportMoodleQuiz ByVal sender As System Object ByVal e As System EventArgs Handles menuExport Click If lstQuiz Items Count gt Then The algorithm will only run if newquiz is not empty exportQuiz FileName Clear the file name of the export form exportQuiz ShowDialog If exportQuiz FileName lt gt Then Dim type As String Dim quizwWriter As New System I0 StreamWriter exportQuiz FileName amp txt Create a new instance of the streamwriter class For Each item In newQuiz Iterate through every question in the newquiz collection type item getQType ToString Write the string returned by the exportMoodleQuestion subroutine passing the question and its type quizWriter Write exportMoodleQuestion item type Next quizWriter Clos
157. ric and gravitational fields Coulomb s law Electric field strength Electric potential H Further Mechanics amp Gravitation Damask Talary Brown 5556 5 2 Centre Number 64395 era Re Goraming Y College 1 5 Very Easy 2 5 Simple 3 5 Average C 4 5 Tricky C 5 5 Difficult Damask Talary Brown 5556 Multiple Choice C Short Answer C True False C Numerical 53 COMP4 Physics Quiz Generator The Filter By Class Dialogue would allow the user to view a list of all classes stored in the database and double click any class to select Filter By Difficulty and Filter By Type use radio buttons because the options available never change The Class Log form would show a list of all classes in the left pane and the recent logs for the selected class in the right pane From here new logs or classes can be added Choosing Add New Class opens the second class dialogue where a new class with the name format used by the college e g C1 can be saved Centre Number 64395 o Godalming College COMP4 Physics Quiz Generator Save Question Save Question The Add Question form collects all the user inputted data about new questions added to the database Wherever possible unit topics type rating the user has to select the data from existing list menus or radio buttons to minimise input errors and time consuming form completion D
158. ring Dim quizwWriter As New Damask Talary Brown 5556 146 Centre Number 64395 WA Godalming v College COMP4 Physics Quiz Generator System I0 StreamWriter exportQuiz FileName For Each item In newQuiz type item getQType ToString quizWriter Write exportMoodleQuestion item type Next quizWriter Close End If Else MsgBox This quiz doesn t contain any questions End If Function exportMoodleQuestion ByVal q As Question ByVal type As String If type SA Then exportMoodleQuestion q getQText amp amp q getQAnswer amp amp vbNewLine amp vbNewLine ElseIf type MC Then exportMoodleQuestion q getQText amp amp vbNewLine amp amp q getQAnswer amp vbNewLine amp amp q getIncorrect amp vbNewLine amp amp q getIncorrect 1 amp vbNewLine amp amp amp LLI n amp q getIncorrect 2 amp vbNewLine amp ee vbNewLine amp vbNewLine ElseIf type TF Then If q getQAnswer True Then exportMoodleQuestion q getQText amp T amp vbNewLine amp vbNewLine Else exportMoodleQuestion q getQText amp F amp vbNewLine amp vbNewLine End If ElseIf type NU Then exportMoodleQuestion q getQText amp amp q getQAnswer amp LU 2 whNawl ine amp whNeawl ina MsgBox Error Please try again End If End Function Damask Talary Brown 5556 147 Centre Number 64395 ey Godalming WY College Post Imple
159. rivate Sub fourSelected ByVal sender As System Object ByVal e As System EventArgs Handles radFour CheckedChanged frmHome filterDifficulty 4 Pass 4 to the filterdifficulty routine on the home form End Sub Private Sub fiveSelected ByVal sender As System Object ByVal e As System EventArgs Handles radFive CheckedChanged frmHome filterDifficulty 5 Pass 5 to the filterdifficulty routine on the home form End Sub End Class frmFilterType Handles the input of question types to filter questions Filter o lfm iple Choice lamerical Public Class frmFilterType Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Damask Talary Brown 5556 103 Centre Number 64395 WA Godalming Physi Y College COMP4 Physics Quiz Generator Sets the properties which determine whether the user can maximise or minimise the form Me MinimizeBox False Me MaximizeBox False radMC Select Select the default type radio button to filter by End Sub Private Sub MCSelected ByVal sender As System Object ByVal e As System EventArgs Handles radMC CheckedChanged frmHome filterType MC Pass MC to the filtertype routine on the home form End Sub Private Sub SASelected ByVal sender As System Object ByVal e As System EventArgs Handles radSA CheckedChanged frmHome filterType SA Pass SA to the filtertype routine on the home form End Sub Private Sub TFSelected ByVal
160. rk Units txt Then Damask Talary Brown 5556 89 Centre Number 64395 WA Godalming Dokad h 4 College COMP4 Physics Quiz Generator Dim allLines As String System I0 File ReadAllLines userDirectory amp Benchmark Units txt If allLines Length gt Then For i To allLines Length 1 comboUnit Items Add allLines i Next comboUnit Update End If End If Load the existing question text txtQuestion Text editQuestion getQText Try loading the existing units and topics If they are no longer in the system load Unknown unit Try comboUnit SelectedItem editQuestion getQUnit Catch comboUnit Items Add Unknown unit comboUnit SelectedIndex comboUnit Items Count End Try Try comboTopic SelectedItem editQuestion getQTopic Catch comboTopic Items Add Unknown topic comboTopic SelectedIndex comboTopic Items Count End Try Select the correct radio button based on question type If editQuestion getQType SA Then radShortAns Select txtAns Text editQuestion getQAnswer ElseIf editQuestion getQType TF Then RadTrueFalse Select comboAns Text editQuestion getQAnswer ElseIf editQuestion getQType MC Then radMultipleChoice Select txtAns Text editQuestion getQAnswer txtMultiple1 Text editQuestion getIncorrect txtMultiple2 Text editQuestion getIncorrect 1 txtMultiple3 Text editQuestion getIncorrect 2 ElseIf editQuestion getQType NU Then radCalculation Select txtAns Text edi
161. s Handles 1lstAll1Classes SelectedIndexChanged txtLogs Text allClasses 1lstAl1lClasses SelectedIndex getGroupLog Show the log of the currently selected group in the panel on the right of the form End Sub End Class frmFilterDifficulty Handles the input of difficulty ratings to filter questions radOne radTwo radThree radFour radFive Public Class frmFilterDifficulty Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Sets the properties which determine whether the user can maximise or minimise the form Me MinimizeBox False Me MaximizeBox False radThree Select Select the default difficulty radio button to filter by End Sub Private Sub oneSelected ByVal sender As System Object ByVal e As System EventArgs Handles radOne CheckedChanged frmHome filterDifficulty 1 Pass 1 to the filterdifficulty routine on the home form End Sub Damask Talary Brown 5556 102 Centre Number 64395 WA Godalming College COMP4 Physics Quiz Generator Private Sub twoSelected ByVal sender As System Object ByVal e As System EventArgs Handles radTwo CheckedChanged frmHome filterDifficulty 2 Pass 2 to the filterdifficulty routine on the home form End Sub Private Sub threeSelected ByVal sender As System Object ByVal e As System EventArgs Handles radThree CheckedChanged frmHome filterDifficulty 3 Pass 3 to the filterdifficulty routine on the home form End Sub P
162. s choice choice at 1 rather output answers when questions than 0 saving quizzes REPEAT TEST 20 Testing the T Saving Question is Question is not Change the saving and typical saved and saved because userdirectory loading of question data written tothe my user profile environment system files on text file doesn t have variable to the the college permission to Environment Special network access the Folder Mydocument directory s variable in every Attempting to instance of a file navigate to the being written or folder also read Second test results in an conducted 20b error message 44 20 Testing the T Saving As for 20 As expected b saving and typical loading of question data system files on the college network REPEAT TEST Damask Talary Brown 5556 a9 Centre Number 64395 WA Godalming Sines h4 College COMP4 Physics Quiz Generator Trace Tables Testing the output from filtering questions by difficulty rating Description The search algorithm iterates through every element in allQuestions adding any elements with a matching question rating to IstAllQuestions I m searching 15 questions for any that have a difficulty rating of two The same principle would apply when searching by unit topic or question type Code being tested Sub filterDifficulty ByVal rating lstQuestions Items Clear For i To allQuestions Coun
163. s acting on a body if its A plane flying in a uniform horizontal circle at constant speed A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equipment and televisions often have volume co True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV A Which of the following is the correct equation for the work fur A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 Viewing 16 questions Quiz contains 2 questions Damask Talary Brown 5556 186 Centre Number 64395 S Colege E 11 COMP4 Physics Quiz Generator File Edit r 3 Benchmark _ View X i lt What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular mo
164. s in the collection and any matches are added to the question list Pseudo code Var treeIndex tree node level Var nodeTitle tree node text filterUnitTopic treeIndex nodeTitle PROCEDURE filterUnitTopic treeIndex nodeTitle IF treeIndex 1 THEN FOR i 0 TO LEN allQuestions 1 list items clear IF allQuestions i unit nodeTitle THEN list items add allQuestions i qID amp amp newline amp allQuestions i text amp amp allQuestions i answer amp amp allQuestions i topic amp amp allQuestions i rating amp ENDIF NEXT countLists ELSEIF treeIndex 2 list items clear FOR i 0 TO LEN allQuestions 1 IF allQuestions i topic nodeTitle THEN list items add allQuestions i qID amp amp newline amp allQuestions i text amp amp allQuestions i answer amp amp allQuestions i topic amp amp allQuestions i rating amp ENDIF NEXT countLists END IF END PROCEEDURE Damask Talary Brown 5556 140 Centre Number 64395 A Godalming Signal h 4 College COMP4 Physics Quiz Generator Code Dim treeIndex As Integer unitTopicTree SelectedNode Level 1 Dim nodeTitle As String unitTopicTree SelectedNode Text frmHome filterUnitTopic treeIndex nodeTitle Sub filterUnitTopic ByVal treeInde
165. s only a limited amount of hardware in the physics department for the teachers to use and a limited amount of software available for me to design the new system This rules out the use of mobile applications as not all teachers have smart phones or tablets e My skills and knowledge The problem can t be too complex for me to be able to solve using the resources have available l Il be creating the solution in VB NET and so could write the program in a number of different paradigms e Moodle constraints Although complex question types and questions involving images or diagrams with labeling do feature in exam papers I m limited to using question types that Moodle can not only recognize and support but also automatically mark rather than send to a teacher for feedback e Time constraints The system needs to be completed by Easter Document Specification Sheets Volumetrics and Data Dictionaries The documents below are examples of those currently in different parts of the system and identify both common and format specific data This will allow me to identify the data and data types that will need to be included in the new system Damask Talary Brown 5556 1 1 Centre Number 64395 WA Godalming WY College COMP4 Physics Quiz Generator Density Question Sheet Data DENSITY 1 Material Density kg m Glass 2500 Aluminium 2700 Steel 7700 Gold 19300 the densest element Osmium 22500 Balsa Wood 150 at 0
166. s to become more portable and smaller in dimension increases many machines will no longer have an internal CD DVD drive My choice for the storage of the executable file would be on a USB flash drive for several reasons The file itself wouldn t create any wasted space on the flash drive as the rest of the drive could still be read to and written from as usual Teachers in the departments tend to already own flash drives and could therefore keep backup copies of the executable on these instead of having to store physical CDs and no internet connection is required during the installation process As USB ports are an industry standard on laptops and desktops for the foreseeable future this ensures that even as the hardware in the Physics department at the college is updated as long as the NET framework is kept updated the software can still be installed One of the machines from which will be writing the system does not have a CD DVD drive and so from a programmer s perspective it is also a great deal easier to store the executable files on a USB flash drive Installation speeds from USB 2 0 and 3 0 are both faster than installation speeds from a CD ROM which is another advantage Damask Talary Brown 5556 62 Centre Number 64395 RA Godalmin Y College i Testing Plan COMP4 Physics Quiz Generator To ensure the system will be able to correctly handle all user inputs both correct and incorrect as well as correctly navigate between
167. sender As System Object ByVal e As System EventArgs Handles radTF CheckedChanged frmHome filterType TF Pass TF to the filtertype routine on the home form End Sub Private Sub NUSelected ByVal sender As System Object ByVal e As System EventArgs Handles radNU CheckedChanged frmHome filterType NU Pass NU to the filtertype routine on the home form End Sub End Class Damask Talary Brown 5556 104 Centre Number 64395 RA Godalming L College COMP4 Physics Quiz Generator frmFilterUnitTopic Handles the input of units and topics to filter questions PHYA2 Mechanics Materials and Waves PHYA4 Fields and Further Mechanics Further Mechanics Gravitation Electric Fields Capacitance PHYAS Nuclear Physics and Thermal Physics PHYASA Astronomy and Cosmology Lenses and Optical Telescopes Non Optical Telescopes Classification of Stars Cosmology PHYASB Medical Physics PHYASC Applied Physics Rotational Dynamics Thermodynamics and Engines PHYASD Turning Points in Physics The Discovery of the Electron Wave Particle Duality unitTopicTree Special Relativity Public Class frmFilterUnitTopic Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Me MinimizeBox False Me MaximizeBox False Sets the properties which determine whether the user can maximise or minimise the form unitTopicTree Nodes Clear Clear the data from the tree Gets the user dir
168. sesssaeseeeeeeeceeseseeseseceeeesseeesaeaeeeeeesessseeuaeseseseesenesees 47 Form Navigation D SIQN ccccccccccesnsseseseecececeaueueseseeceeeceeseusesseeceseseusauauseeeeeeeeessanaasseeees 55 Damask Talary Brown 5556 1 Centre Number 64395 A Godalming Tokai Le College COMP4 Physics Quiz Generator Output Desig Misc dissec o a E A AE TA TO E eaten 56 Algorithm DESI Mex c caaveczidaiais aatieaseesend ssaas oiseeecanleatarionnaateatl ann ziadiondastenneuaaiadan 58 Random Ordering of Multiple Choice Answers ccccssseeceessnteeesseseeeesssneeeens 58 Question Text SEAN Mis uiciraguwsjagesmraencennnttcoudeniasnvon iaaupesaadasiausabanniaaniasteaiagamneiacanann 58 Validating Question Entry ccesscecsssscecsssseeececsenaececsesueeecsesueeeceesenaeeeseeaaeeeeeses 58 Importing Questions from a Text File scisciedesceriacssoxeanse vszeawsesaseendatperiee sanenerndveanns 60 Checking for Repeated Questions ccccecessscecessseeececssneeeeeseueeeceeseneeeeesenaeeeenses 60 Converting Questions to Moodle s Gift Format cccsscccsssseeeeessseeeeesenaeeeeeees 61 Identification Of Storage Media ccccicssicicinacedcanncsudadeseinsdeaceunvearprecnaterendsaune counureesandenvernidaans 62 Testing PI aca nasaia ede ctderstie ces AEREE AEE du ddenaseuaceetaanaceiuuadeeseieidcentbentent 63 Input and Output Testing DeSteiiscssccesscncsacscoreccsnncesneladusszedevensveseveceantecueiencens 63 Navigation Testing Design essse
169. sing three teachers technicians five lower 6th and three upper 6th classes One of the teachers Anne Lancaster sets exam style starter questions at the beginning of each lesson based on the current topic she is teaching The current system Anne uses is the same system the department uses to generate mock exams from the AQA question bank Because the software is not bespoke it lacks functionality in some areas Questions are searched for and compiled into a document which can be printed or saved along with a mark scheme There are only a finite number of questions with no way to add more or change the details of the existing ones There is also no way to export the generated quizzes to the college s Moodle or to keep a record of the questions which have already been set Damask Talary Brown 5556 4 Centre Number 64395 WA Godalming Tokai h College COMP4 Physics Quiz Generator Interview with Anne Lancaster The Primary Client What s your existing system for setting classes questions AL We use AQA s Exampro to select existing questions from past papers Sometimes we write them ourselves using word processors What are the benefits of using the current system AL It s easy to scroll through the lists of past questions and filter them by type or unit to select the ones you want The mark schemes are easily accessible as well and when you ve chosen a set of questions you can save them to use again with a d
170. ss log Changes every time the form is opened and referencing a different class frmAddNewClass startup Handles the form loading event and the sizing options of the form saveClass Handles the save button click event validates the class name field and if valid sets the log to the default text and adds the new class to the allClasses collection and the list of classes in frmClassLogs newClass Group Assigned the value of the new class name and a blank log whenever a new group is instantiated Damask Talary Brown 5556 129 Centre Number 64395 RA Godalming O College COMP4 Physics Quiz Generator frmClassLogs Subroutine Description startup Handles the form loading event and the sizing options of the form Calls importLogs see below closeForm Handles the OK button click event closes the form importLogs Reads the contents of the logs text file if it exists and loads data into the allClasses collection of groups Calls refreshlog see below backupLogs Writes the allClasses collection to the logs text file by calling backupLog see below for each question Saves to UserDirectory Benchmark backupLog Returns the name and log of the class passed to it refreshLog Erases and rewrites the list of classes on the form to update it addClass Handles the add class button click event loads frmAddClass deleteClass Validates list selection confirms the deletion o
171. sses gemm Question Question The battery in a torch bulb supplies a steady current of 0 25 A for 20 hours In this time the energy transferred in the bulb is 9 0 x 104 J Calculate the potential difference in volts across the bulb Viewing 14 questions Quiz contains 0 questions Damask Talary Brown 5556 177 Centre Number 64395 7 RY Godalming WY College COMP4 Physics Quiz Generator g s Isotopes of the same element all have the same Proton nul A plane flying in a uniform horizontal circle at constant speed A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angle of incidence The critical angle of diamond is 24 What is its refractive inde Modern hi fi equipment and televisions often have volume co True or false the threshold of hearing is the lowest level of s An X ray tube operates with a pd across the tube of 80 kV 4 Which of the following is the correct equation for the work fur A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 gm Viewing 15 questions Quiz contains 0 questions W
172. sssesrsssrsenrrerrsansnanunanananusanananananananasasananasananasasan 66 ia e E A EE E T T A 67 Inp tand Output Testing piss cd enteean said edi scdecenag dds aae aE EEE REAA EAT EA 67 Trace Tables sxicsnnnacancscevaaraaunpnads ea E nen E aE N et 74 Navigation TEStinNg misrit semear inantea an a aea a aaa e aa aa aiaa 78 Ma intenante cvcicvedccrscveneddennwncenannenebdentorewnsduwnebdcmnawcnden swvepiuntesundanunebtennpceeoneuientensesemmeieenebieeets 79 Formi Navigation OVErVieW sesiis cnco iiia E a E aT 79 Class OVETVIEW sisalana E A E E EA A E AEREA 80 Forni OVervieW i ooie naasen innere a Aa E e e Ep AE A aug dees cay RE 83 Subroutine and Variable Overview sssssssssssessserssrrssseessssserrssrrrssressressrrsseeensrensseessrnnt 127 frmAddEditQUEStION sire andvianatersinnnsinitivawdansiicunbnedsinnteesiasubacupauntsniiaapeaedinateatemienbneupens 127 PON To e 1E o E EA oeesupenbenualvnn leak E E 129 PCAN GW Cla SS i cticcianeeniciancea tod rannta iaiaaeaia t Erina tanaan naana aaia Seka aoaia 129 TMC LASS WO BS siivcceasuszennschenonseiauiaveasttnunseunaaaanabuuauenta sauces EE EEE EE EEE 130 PFMUFISFDITICUIL ic ccccsenssenaneceasves enstesanstdesversosdessdstaseestwedsesnsetdavessooveaverseasevenesdsets 131 PTE CO ITY DC vecceccectetcdeevavns oc oecaecesunccsa E E 131 FrMFiteErUNit TOPiC ceceesecsecccececeseessseeececeesceesesseaeseeeesceeseeeaeeeeeeseeesessaseeeeesens 131 TATU G IVE cesat EE E EET 132 TOS SSA Ces in sics tas ics
173. stion that Moodle can recognise as this will limit the types that the system can process and my justification for including or not including them in the design of the new system I ve chosen them at an early stage because the layouts of the question types need to be factored into some of the early design processes Type To be included Reasoning Multiple choice Yes They re a common format of exam question and aren t too time consuming for starter questions True False No Although not a type of exam question these can be answered quickly and can be used as filler questions Short Answer Yes They re one of the most common types of exam question and can be applied to every topic Matching No Matching questions can t be applied to every topic and are a very rare exam format Missing word No A large amount of text has to be entered and stored which is time consuming and less efficient than other question types The format also isn t used in exam questions at all Numerical Yes Calculation questions are another common exam format and feature in every topic Description No If uploaded to Moodle these cannot be automatically marked Essay No If uploaded to Moodle these cannot be automatically marked w N Damask Talary Brown 5556 Centre Number 64395 WA Godalming Tokai h College COMP4 Physics Quiz Generator Stepwise Refinement This is a mor
174. stionList i 1 questionList i 1 1 Damask Talary Brown 5556 1 1 8 Centre Number 64395 AR Godalming Physi i Y College COMP4 Physics Quiz Generator Move the higher column of the array to the adjacent lower index questionList i 1 tempData questionList i 1 1 tempData 1 Move the data in the temporary array to the higher index completting the switch End If Next End While IstQuestions Items Clear Clear the question list For i To allQuestions Count 1 For every element in the allquestions collection Add the list display of the alphabetised questions to the question list IstQuestions Items Add questionList i 1 Next Else End If End Sub Private Sub viewClassLogs ByVal sender As System Object ByVal e As System EventArgs Handles btnClassLogs Click menuLogs Click Show class logs form frmClassLogs ShowDialog End Sub Private Sub addNewClass ByVal sender As System Object ByVal e As System EventArgs Handles menuNewClass Click Show the class logs form and open the add class form in front as a dialog frmClassLogs Show frmAddNewClass ShowDialog End Sub Private Sub addToQuiz ByVal sender As System Object ByVal e As System EventArgs Handles btnAddToQuiz Click Calls the addToQuiz subroutine when the shortcut is clicked Call addToQuiz End Sub Private Sub shortcutAddToQuiz ByVal sender As System Object ByVal e As System Windows Forms KeyPressEventArgs Handles lstQuestions KeyPress
175. t 1 If allQuestions ElementAt i getQRating rating Then lstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists End Sub Expected result list display of allQuestions 2 list display of allQuestions 6 list display of allQuestions 10 list display of allQuestions 11 list display of allQuestions 12 where list display of allQuestions i denotes allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp Damask Talary Brown 5556 74 Centre Number 64395 RA Godalming EEE h4 College COMP4 Physics Quiz Generator i allQuestions count rating allQuestions i getQRating Output 0 14 2 1 1 1 2 2 list display of allQuestions 2 3 1 4 1 5 1 6 2 list display of allQuestions 6 7 1 8 1 9 3 10 2 list display of allQuestions 10 11 2 list display of allQuestions 11 12 2 list display of allQuestions 12 13 1 14 1 Final output As expected List display of allQuestions 2 List display of allQuestions 6 List display of allQuestions 10 List display of
176. t gt 500 Then MsgBox You cannot save a log more than 500 characters long Notify the user that their entry was too long Else MsgBox You cannot save a blank log Notify the user that the field cannot be left blank End If txtLog Select End Sub End Class Damask Talary Brown 5556 96 Centre Number 64395 RA Godalming Physi i Y College COMP4 Physics Quiz Generator frmAddNewClass Handles the input and validation of classes being added to the system A txtClassName Public Class frmAddNewClass Private Sub startup ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load Sets the properties determnining whether the user can minimise or maximise the form Me MinimizeBox False Me MaximizeBox False End Sub Private Sub saveClass ByVal sender As System Object ByVal e As System EventArgs Handles btnSave Click If txtClassName Text lt gt Then If the user has not left the class name text field blank Create a new instance of the group class Dim newclass As New Group newclass setGroupName txtClassName Text newclass setGroupLog This class doesn t have a log yet Set the group s name and log frmClassLogs allClasses Add newclass Add the instantiated group into the allclasses system collection frmClassLogs refreshLog Refresh the logs display on the class logs form txtClassName Text txtClassName Select Reset the form controls Me Close Else MsgBox P
177. tQuestion getQAnswer End If Set the rating comboRating Text editQuestion getQRating End Sub Damask Talary Brown 5556 90 Centre Number 64395 WA Godalming Physi Y College COMP4 Physics Quiz Generator Private Sub toggleSize ByVal sender As Object ByVal e As System Windows Forms MouseEventArgs Handles pnlCharacters MouseClick If pnlCharacters Text Then If the panel title contains the symbol then it is in its minimised position Change the size of the form to contain the expanded characters panel Me Size New Point 58 440 pniCharacters Size New Point 167 208 pniCharacters Text pnlButtons Visible True lb1Characters Visible True comboAns Size New Point 486 21 txtAns Size New Point 486 20 txtMultiple1 Size New Point 486 20 txtMultiple2 Size New Point 486 20 txtMultiple3 Size New Point 486 20 btnSaveQuestion Location New Point 448 363 Me MinimumSize New Point 580 440 Create nine new instances of the point class to resize 1 the form base 2 the panel containing the additional characters 3 the true false answer combo box A the text field answer box 5 6 7 the incorrect answer boxes for multiple choice questions 8 the location of the save button the new minimum size of the expanded form o Else If the panel title contains the symbol then it is in its maximised position Change the size of the form to contain the
178. the minimum intensity of sound which a d forsal gg can detect when listening to a frequency of 10 Music E Hz F E Pictures A steady current_of 0 25 A passes through a torch bulb for B Videos 6 minutes Calculate the charge in coulombs which flows through the bulb in this time 90 A metal wire of length 1 4 m has a uniform cross sectional 2 amp 8 Homegroup area 7 8 x 107 7 mA2 Calculate the resistance R of the wire in ol to two significant figures e HE Computer resistivity of the metal 1 7 x 10 8 Om 0 031 Moodle quiz Date modified 23 01 2013 21 01 Date created 23 01 2013 21 01 Text Document Size 1 37 KB Damask Talary Brown 5556 202 Centre Number 64395 na Godalming COMP4 Physics Quiz Generator College o gt 2 DAMI Import questions x e C fi https moodle godalming ac uk learning question import php You are logged in as DAMASK TALARY f i BROWN Logout 70 ming Online Damask Computing Wednesday 23 January 2012 Timetables iSkills email eFiles eStream SeLF Online Payments WisePay IT FAQs Home gt DAM1 gt Quizzes gt My first quiz gt Import questions from file Update this Quiz Info Results Preview Edit L Quiz Questions Categories Import Export Parsing questions from import file Importing 7 questions from file 1 An object is whirled in uniform circular motion in a vertical circle If the weight of the object is W and the tension in the
179. the need for questions to be stored on Moodle at all Students would be able to login through the college network and answer any questions the teacher had assigned Their scores would be stored in the database for the teacher to review and provide e mail feedback This solution isn t feasible in terms of my time constraints and abilities and it doesn t meet the user s needs It would take too long to design and would need access to the College s username and password data which compromises network security The end user wanted questions to be stored on Moodle and saved printed and this solution wouldn t facilitate that meaning it meets few of the objectives for the proposed system and is vastly over complicated The pupils would need computers to be able to answer the questions as a starter activity in the lesson which is impractical and both students and staff would have to adjust to a new learning environment which is unnecessary as Moodle facilitates all of the client s initially outlined needs Damask Talary Brown 5556 3 0 Centre Number 64395 WA Godalming L College COMP4 Physics Quiz Generator Chosen Solution 4 A fully computerised system which could potentially meet all of the objectives and remove all of the time consuming manual processes from the system Questions would be entered by the user and stored with either in a database or text file s along with other relevant data which would allow them to
180. tion in a vertical circ True or false a capacitor consists of two pe What is the force in Newtons acting on a body if its A ray of light falls on a glass block and the ai The critical angle of diamond is 24 What is Modern hi fi equipment and televisions often E This question is already in the quiz True or false the threshold of hearing is the An X ray tube operates with a pd across the Which of the following is the correct equatio A steady current of 0 25 A passes through a The battery in a torch bulb supplies a steady current of 0 25 12 Viewing 15 questions Quiz contains 1 questions J Benchmark File Edit OCOOnNnNoanhwWnh View What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have mo same Proton nui A plane flying in a u iform horizonta A 600g object is B x 4a Isotopes of the same element all have the same f Which of the follo An object is whirled True or false a cap A ray of light falls o The critical angle o An X ray tube operstess witha ET across the tube of 80 kV A Which of the following is the correct equation for the work fur A steady current of 0 25 A passes through a torch bulb for 6 The battery in a torch bulb supplies a steady current of 0 25 Damask Talary Brown 5556 187 Centre Number 64395 RY Godalming bent F College COMP4 Physics Quiz Generat
181. tteeeeeees 27 Objectives for the Proposed Syste in cccicscavescsdecsisesvscsens secs sanccdeascbaceta vayiatcesaustecesevedensthasdens 28 Potential Solutions and Justification of Chosen Solution eee eeeeecseeeeeeeeeeeeeeeesteeeesaes 29 IAAT A a E E E T L E E E A T A T E EAT 32 IOPS ChaT tsin neait 32 System PIO WING iaieiiea niii in aE ESEE RET E A 32 Data Flow Digetainlscccnisouiictemecieneationl ae czsiemaiennqiieananienaiien AE AREE ANE 34 Data Dictionary and Validation sicccaissesiceciigcsaecasend descesedecccsandidensdsdacelens inteapedseecaunncesstbouddess 35 Justification of Included Question TYPES cisiccesiscassecssiscessasecaessasaesessaedanseaadessecaseceastanaceaes 37 Stepwise Refinement ssressciicirirririssieiserisierasicrarsir eainiie enee osissa anaana aitase 38 Database Normalisation and De Sign cccccssscccsssseecessseececssnaececssseeeeceesenaecesseaaeeeeees 39 Table Relationship Diagram ccccccccsssssscececeeecsssesseseeeeeeeeessesseaeseeeesesseesesenaeess 42 Sample of Possible SQL Queries siisneriensia e aat 43 T p Down DESIGN civ cailenccctcailaws nssicnasensteirvs ensliavcendalaws deuseabeeneteews aelsisascehdes onanan siaaa 44 OP Class De sl A a A A E AET EAA 45 Definition of Record Structure ssessssssssssssersssessreessresstessressreenerensstrsstenstensernssreeseresseest 46 Se urity and Integrity of Datacsiinennanncnini te a aait 46 User Interface D SiIQN cccccsessscccececss
182. uestion Created by the teacher Converted by the system and saved on the network to be uploaded to Moodle Paper based mark scheme Created by the teacher Printed and given to students Online mark scheme Created by the teacher Converted by the system and saved on the network to be uploaded to Moodle Current topic details Noted by the teacher Stored in a log on the system Students scores Quiz marks Moodle database Teacher s records Question difficulty ratings Created by the teacher Stored in the database and or printed with the mark scheme s Damask Talary Brown 5556 23 Centre Number 64395 z WA Godalmin WY College i Data Flow Diagrams Between the Teacher Students and Moodle A FN O an is Curie oe rec cove Mark book and or spreadsheet s re je 8 woo BD g E N S F Question eS data converted to Moodle XML Question titles Questions Answers Feedback Moodle database 24 Damask Talary Brown 5556 Question titles Questions Answers Feedback COMP4 Physics Quiz Generator Teacher Students Moodle question creation form Question titles Questions Answers Feedback Centre Number 64395 RA Godalming A f College COMP4 Physics Quiz Generator Between the Teacher Students and Exampro ost cls VU oh 2 0 Phys astet oP hys Cece iore ang man Wize o Teacher Schemes Qu
183. uestion False MsgBox Please select a topic ElseIf radShortAns Checked True Or radCalculation Checked True Or radMultipleChoice Checked True And txtAns Text Or RadTrueFalse Checked True And comboAns Text Then No answer validquestion False MsgBox Please submit an answer ElseIf radCalculation Checked True Then No T F answer Dim integerTest As Integer Try integerTest CInt txtAns Text Catch validquestion False MsgBox Numerical answers cannot contain words or characters End Try ElseIf radMultipleChoice Checked True And txtMultiple1 Text Or txtMultiple2 Text Or txtMultiple3 Text Then validquestion False MsgBox Please submit three incorrect answers Missing incorrect answer s End If Save question data If validquestion True Then Call saveQuestion Call clearQuestion editing False Me Close End If frmHome 1lstQuestions ClearSelected End Sub Sub saveQuestion Create a new instance of the question class Dim currentQuestion As New Question If editing True Then Do not create a new instance of the question class edit the existing one Damask Talary Brown 5556 88 Centre Number 64395 WA Godalming Tokai YW College COMP4 Physics Quiz Generator If questionType TF Then Rewrite the current question Pass the answer as a boolean frmHome updateQuestion txtQuestion Text questionType CInt comboRating Text comboAns Text txtMultiple1 Text
184. uizzes would just be modelled as 2 dimensional arrays of question data Class Question QID as integer Question identifier QText as string The body of the question QAns as string The correct answer QlIncorrect 2 as string Incorrect answers QRating as integer Difficulty rating QTopic as string Topic QUnit as string Unit QType as string Type Class Group Name as string Group name Log as string Record of current topic Damask Talary Brown 5556 45 Centre Number 64395 A Godalming Sakai YW College COMP4 Physics Quiz Generator Definition of Record Structure I ve chosen the Gift file format for converted Moodle questions because of the three supported types the other two of which are Moodle XML and Moodle XHTML it has the simplest syntax which should reduce errors when parsing text and also minimise file sizes It also makes the converted questions more readable because there are no html tags or indented line breaks Gift files have to be exported in UTF 8 variable width encoding but this is the default encoding for VB NET s StreamWriter and therefore won t have to be changed Quizzes and mark schemes will be saved as txt files as they are only used once formatting is not of great concern Because the data stored about each question is minimal evidenced by the number of two column tables in the normalised database planning and won t have to be changed or updated either for
185. ultiple choice question 3 Correct Multiple choice question 4 Correct Multiple choice question 5 Correct Multiple choice question 6 Correct Multiple choice question 7 Correct Multiple choice question 8 Correct Viewing 23 questions Quiz contains 8 questions Damask Talary Brown 5556 208 Centre Number 64395 WA Godalming bent Y College COMP4 Physics Quiz Generator 40 Multiple choice test Notepad mark s choice question mark s choice question mark s d Correct 33 Multiple choice question mark s a xX b Y c Correct d choice question mark s 3 Multiple choice question mark s a x b Y c Correct d Z 6 Multiple question mark s a X b Correct 7 Multiple question mark s a x b Y c Correct d Z 4 Damask Talary Brown 5556 2 09 Centre Number 64395 F cote S 41 J Benchmark COMP4 Physics Quiz Generator Edit View SXi What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nur A plane flying in a uniform horizontal circle at constant speec A 600g object is whirled in a circle on the end of a string If th Which of the following statements is correct for an object mo An object is whirled in uniform circular motion in a vertical circ True or false a capacitor consists of two perpendicular cond A ray of light falls on a glass block and the angl
186. umber 64395 AR Godalming Physi i M College COMP4 Physics Quiz Generator e View class progress logs View current document Add to current document Select a question Is the document Yes finished Add to current document Adding existing questions Select unit Select topic Save question and mark scheme Create new question Enter correct answer Enter incorrect answers Select topic Enter question details title text etc Multiple choice question Export file Print Save file H Select question type Moodle Damask Talary Brown 5556 3 3 Centre Number 64395 RA Godalming Physi i M College COMP4 Physics Quiz Generator Data Flow Diagram Mark book and or spreadsheet s Mo Cun St Ta S congl Crag Mle Q Ce On Quizzes Mark schemes Teacher Students Class ID Current unit Current topic Question type Question text Question answer s Question rating Quizzes Mark schemes Question text New System Question answer s database Question rating Question type Question text Question answer s The main difference between the data flow in the new and old systems is that the two previously separate flows teacher students Moodle and teacher students Exampro have been combined into one system The current topics each class have can also be stored in the system
187. ventArgs Handles btnSearch Click Call the search subroutine Call search End Sub Damask Talary Brown 5556 12 5 Centre Number 64395 WA Godalming Y College COMP4 Physics Quiz Generator Private Sub shortcutSearch ByVal sender As System Object ByVal e As System Windows Forms KeyPressEventArgs Handles txtSearch KeyPress If the user presses the return key call the search subroutine If e KeyChar Chr Keys Return Then Call search End Sub Sub search Dim searchTerm As String If txtSearch Text Then MsgBox Please enter a search term Else searchTerm txtSearch Text If the search field is not blank call the searchquestions subroutine on the home form frmHome refreshList frmHome searchQuestions searchTerm txtSearch Clear Clear the search box End If txtSearch Select End Sub End Class Damask Talary Brown 5556 12 6 Centre Number 64395 WA Godalming WY College COMP4 Physics Quiz Generator Subroutine and Variable Overview Every subroutine and variable in the system is listed under its parent form Where two subroutines in the same form share a name because the private sub handling a form event calls the public sub to perform a task to eliminate repetition of code the private sub is prefaced with Private to differentiate between them Nx before a subroutine name indicates that there are N almost identical subroutines which handle very similar events and have been grouped together
188. x ByVal nodeTitle If treeIndex 1 Then lstQuestions Items Clear For i To allQuestions Count 1 If allQuestions ElementAt i getQUnit nodeTitle Then lstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists ElseIf treeIndex 2 Then lstQuestions Items Clear For i To allQuestions Count 1 If allQuestions ElementAt i getQTopic nodeTitle Then lstQuestions Items Add allQuestions i getQID amp amp vbTab amp allQuestions i getQText amp amp allQuestions i getQAnswer amp amp allQuestions i getQTopic amp amp allQuestions i getQRating amp End If Next Call countLists End If End Sub Damask Talary Brown 5556 141 Centre Number 64395 WA Godalming h4 College COMP4 Physics Quiz Generator Algorithm Shortcut for adding questions to Location frmHome shortcutAddToQuiz the quiz Description If the question list has focus and there is a question selected hitting the return key will call the addToQuiz function This algorithm recognises the input Almost identical to the shortcutDeleteFromQuiz function Pseudo code Var e e keyPressEventArgument IF INT e value 13 THEN AddToQuiz ENDIF Code Private Sub s
189. y Brown 5556 18 1 Centre Number 64395 Godalming east YO College COMP4 Physics Quiz Generator J Question ion Modem hifi equipment and televisions often have volume a z m controls which allow the sound volume to be increased in What is the force in Newtons acting on a steps If each of these steps produces an increase in the Isotopes of the same element all have ti ey Ont L ee ee eee A plane flying in a uniform horizontal circle A 600g object is whirled in a circle on the PHYASB Medical Physics z Which of the following statements is corre An object is whirled in uniform circular moff o Physiesofthe Ear oo True or false a capacitor consists of two f A ray of light falls on a glass block and the The critical angle of diamond is 24 What Modern hi fi equipment and televisions of True or false the threshold of hearing is tf An X ray tube operates with a pd across Which of the following is the correct equaj A steady current of 0 25 A passes throug The battery in a torch bulb supplies a stea Short Answer Tue False Multiple Choice Calculation 1 58 Viewing 15 questions Quiz contains 0 questions r J Benchmark 2a x X CQ What is the force in Newtons acting on a body if its momentu Isotopes of the same element all have the same Proton nur A plane flying in a uniform horizontal circle at cop A 600g object is whirled in a circle on the end
190. z Generator Tasks to be Computerised and the Benefits of Computerising Allowing questions to be exported in a format accepted by Moodle Allowing all questions to be searchable by type difficulty etc Providing templates for teachers to create quizzes and save questions to be stored Allowing the user to keep a record within the system of the most recent topics covered by each class Allowing the user to assign questions a difficulty rating in order to normalise scores when marking Qualitative Benefits A more user friendly interface Questions won t have to be typed out manually to export Moodle Greater flexibility of the types of questions that can be set Complete flexibility of the questions themselves Each record can be stored separately allowing for a changing number of classes Quantitative Benefits A potentially unlimited number of questions can be stored in the system A potentially unlimited number of classes can be recorded Damask Talary Brown 5556 2 i Centre Number 64395 A Godalming h College COMP4 Physics Quiz Generator Objectives for the Proposed System have learned a lot about the existing system both from the staff observations and by using the software myself was able to observe features which worked well features that were unnecessary for the users needs and features which the system lacked altogether 1 The system must be able to store all the relevant details about every question ent

Download Pdf Manuals

image

Related Search

Related Contents

FX3G-8AV-BD INSTALLATION MANUAL  Synology DiskStation DS411J Quick Installation Guide - Use-IP  Samsung GT-I8510/8 Uživatelská přiručka  Philips DVD player DVP3888    

Copyright © All rights reserved.
Failed to retrieve file