Error
There was an error loading the page.
This is the simplest demonstration of the "code" part type I could think of: write Python to assign x = 1
.
An alternative answer gives a hint if the student's code doesn't define x at all.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of Demos :
![]() |
said | Ready to use | 3 years, 1 month ago |
History
Christian Lawson-Perfect 3 years, 1 month ago
Gave some feedback: Ready to use
Christian Lawson-Perfect 3 years, 1 month ago
Published this.Christian Lawson-Perfect 3 years, 1 month ago
Created this as a copy of Assign a variable.Name | Status | Author | Last Modified | |
---|---|---|---|---|
Assign a variable | draft | Christian Lawson-Perfect | 10/05/2023 13:28 | |
Assign a variable | Ready to use | Christian Lawson-Perfect | 23/11/2023 11:36 | |
Manajit's copy of Assign a variable | Ready to use | Manajit Chakraborty | 16/11/2022 15:24 |
There are 10 other versions that do you not have access to.
Name | Type | Generated Value |
---|
No variables have been defined in this question.
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Code | ||
Hasn't run yet | ||
Code | ||
Hasn't run yet |
This question is used in the following exams:
- Python-tmp by Sergei Nayakshin in Sergei's workspace.
- Programming extension demo by Christian Lawson-Perfect in Demos.
- claire's copy of Programming extension demo by claire lines in claire's workspace.
- Simon's copy of Programming extension demo by Simon James in Simon's workspace.
- Lars's copy of Programming extension demo by Lars Hansson in Lars's workspace.
- claire's copy of Programming extension demo by claire lines in claire's workspace.
- NUMBAS TRAINING claire's copy of Programming extension demo by claire lines in Brunel University Maths.
- Alexander's copy of Programming extension demo by Alexander Holvoet in Alexander's workspace.
- Mahdieh's copy of Programming extension demo by Mahdieh Zaker in Mahdieh's workspace.