This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:create:points [26.01.2015 08:38] – [Multiple Choice Response Pattern] alexander.ritter | en:create:points [26.01.2015 09:56] – [Correct and Incorrect Answers] alexander.ritter | ||
---|---|---|---|
Line 18: | Line 18: | ||
The simplest way of keeping score is for a quiz or a knowledge test. These have a range of selection questions and one of the options is correct for each one. | The simplest way of keeping score is for a quiz or a knowledge test. These have a range of selection questions and one of the options is correct for each one. | ||
- | The following PHP code initially defines which questions will be analyzed | + | The following PHP code initially defines which questions will be evaluated |
- | Following this, all questions are checked in a FOR loop -- it is significantly more compact than having a dozen IF constructions. | + | Following this, all questions are checked in a FOR loop -- this is significantly more compact than having a dozen IF constructions. |