Loading...
Error
There was an error loading the page.
Feedback
From users who are not members of Content created by Newcastle University :
Bill Foster | said | Ready to use | 5 years, 9 months ago |
History
Bill Foster 5 years, 9 months ago
Gave some feedback: Ready to use
Newcastle University Mathematics and Statistics 8 years, 9 months ago
Created this.Name | Status | Author | Last Modified | |
---|---|---|---|---|
Calculate probability of either of two events occurring | Ready to use | Newcastle University Mathematics and Statistics | 20/11/2019 14:50 | |
Calculate probability of either of two events occurring based on frequency | Ready to use | Peter Chapman | 01/06/2016 09:47 | |
Calculate probability of either of two events occurring based on frequency v2 | draft | Peter Chapman | 15/02/2017 14:00 | |
Calculate probability of either of two events occurring | draft | Xiaodan Leng | 10/07/2019 22:29 | |
Calculate probability of either of two events occurring based on frequency | Ready to use | Xiaodan Leng | 24/10/2019 12:55 |
There are 7 other versions that do you not have access to.
Name | Type | Generated Value |
---|
|
Error in variable testing condition
There's an error in the variable testing condition. Variable values can't be generated until it's fixed.
No variables have been defined in this question.
Generated value:
- :
This variable doesn't seem to be used anywhere.
No parts have been defined in this question.
Select a part to edit.
This gap is not used in the parent part's prompt.
The student will not be able to enter an answer to this gap.
Ask the student a question, and give any hints about how they should answer this part.
Pattern restriction
Variables
String restrictions
For each combination of answer and choice, specify the number of marks to add or subtract when the student picks it.
For each combination of answer and choice, write 1 if the student should tick it, or 0 if they should leave it unticked.
Test that the marking algorithm works
Check that the marking algorithm works with different sets of variables and student answers using the interface below.
Create unit tests to save expected results and to document how the algorithm should work.
There's an error which means the marking algorithm can't run:
This is an extension type part. There is no expected answer, and it's assumed that the marking depends on interactions within the part's prompt.
You can test this part's marking algorithm by interacting with the rendering of the part's prompt below.
Feedback
Score:
Question variables
These variables are available within the marking algorithm.
Name | Value | |
---|---|---|
Marking parameters
These values are available as extra variables in the marking algorithm.
Name | Value |
---|---|
Part settings
These values are available as entries in the settings
variable.
Name | Value |
---|---|
This feedback is based on your last submitted answer. Submit your changed answer to get updated feedback.
Warnings:
Alternative used:
These are the notes produced by this part's marking algorithm.
Note | Value | Feedback |
---|---|---|
|
||
|
Click on a note's name to show or hide it.
Unit tests
No unit tests have been defined. Enter an answer above, select one or more notes, and click the "Create a unit test" button.
The following tests check that the question is behaving as desired.
This test has not been run yet This test produces the expected output This test does not produce the expected output
This test is not currently producing the expected result. Fix the marking algorithm to produce the expected results detailed below or, if this test is out of date, update the test to accept the current values.
One or more notes in this test are no longer defined. If these notes are no longer needed, you should delete this test.
Name | Value |
---|---|
Note | Value | Feedback | |||
---|---|---|---|---|---|
This note produces the expected output | Current: |
|
|||
Expected: |
A difference in feedback messages does not cause this test to fail. A difference in warnings does not cause this test to fail. |
This test has not yet been run.
When you need to change the way this part works beyond the available options, you can write JavaScript code to be executed at the times described below.
To account for errors made by the student in earlier calculations, replace question variables with answers to earlier parts.
In order to create a variable replacement, you must define at least one variable and one other part.
Variable | Answer to use | Must be answered? | |
---|---|---|---|
The variable replacements you've chosen will cause the following variables to be regenerated each time the student submits an answer to this part:
These variables have some random elements, which means they're not guaranteed to have the same value each time the student submits an answer. You should define new variables to store the random elements, so that they remain the same each time this part is marked.
This part can't be reached by the student.
Add a "next part" reference to this part from another part.
None of the parts which can lead to this part are reachable either.
Next part options
Define the list of parts that the student can visit after this one.
Previous parts
This part can follow on from:
This part doesn't follow on from any others.
to
Choose a type for this new .
by | More information |
Select extensions to use in this question.
-
There was an error loading this extension.
Define rulesets for simplification and display of mathematical expressions.
Built-in constants
Custom constants
Names | Value | LaTeX | |
---|---|---|---|
Add styling to the question's display and write a script to run when the question is created.
Use this tab to check that this question works as expected.
There was an error which means the tests can't run:
Part | Test | Passed? |
---|---|---|
Hasn't run yet
Running
Passed
Failed
|
This question is used in the following exams:
- Mathematics and statistics for computer scientists by Newcastle University Mathematics and Statistics in Content created by Newcastle University.
- Mathematics and statistics for bioinformatics by Newcastle University Mathematics and Statistics in Content created by Newcastle University.
- Quantitative Methods for Business Management by Newcastle University Mathematics and Statistics in Content created by Newcastle University.
- Nigel's copy of Mathematics and statistics for bioinformatics by Nigel Atkins in Nigel's workspace.
- Etain's copy of Nigel's copy of Mathematics and statistics for bioinformatics by Etain Kiely in Etain's workspace.
- statisticsfoo by William Barowy in William's workspace.
- Probability Revision by Yvonne Wancke in Yvonne's workspace.
- Probability 4 by Jeremie Wenger in Jeremie's workspace.
- testert by cormac murphy in cormac's workspace.
- 2020 Final Exam Replacement Assessment 2 (FE 2) Not MCQs by cormac murphy in cormac's workspace.
- Probability by Sumetha Karthigeyen in Sumetha's workspace.
- Isaac's copy of Mathematics and statistics for computer scientists by Isaac Mulolani in Isaac's workspace.
- Probability Questions by Norah Storey in Probability.
- Roger's copy of Mathematics and statistics for computer scientists by Roger Cook in Roger's workspace.
- Roger's copy of Roger's copy of Mathematics and statistics for computer scientists by Roger Cook in Test Project 1.
- DTS - entrance test i by Shaheen Charlwood in Shaheen's workspace.
- Shaheen's copy of DTS - entrance test i by Shaheen Charlwood in Shaheen's workspace.
- Week 1 test by John Butler in John's workspace.