Error
There was an error loading the page.
Guides the student through the process of writing an integer in binary. They can pick any number they like, then choose from a selection of methods, or just do their own method and have the answer checked.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
History
Christian Lawson-Perfect 2 years, 5 months ago
Published this.Christian Lawson-Perfect 2 years, 5 months ago
Created this.There is only one version of this question that you have access to.
Name | Type | Generated Value |
---|
n | integer |
3435
|
||||
working_n | integer |
3435
|
||||
largest_power_of_2 | number |
2048
|
||||
powers | list |
[ ]
|
||||
subtracting_powers_description | string |
3435
|
||||
binary_encoding | string |
110101101011
|
||||
is_odd | boolean |
true
|
||||
odds | list |
[ ]
|
||||
dividing_description | string |
3435
|
Generated value: integer
3435
This variable doesn't seem to be used anywhere.
Parts
-
Pick a number
Number entry
-
Choose your path
Information only
-
What's the largest power of 2?
Number entry
-
Finished subtracting powers of 2
Information only
-
Write the binary encoding - subtracted powers
Match text pattern
-
Binary encoding hint - subtracted powers
Information only
-
Subtract 1 if odd
Yes/no
-
Finished dividing by 2
Information only
-
Write the binary encoding - dividing by 2
Match text pattern
-
Binary encoding hint - dividing by 2
Information only
-
Write the binary encoding - own method
Match text pattern
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Number entry | ||
Hasn't run yet | ||
Information only | ||
Number entry | ||
Hasn't run yet | ||
Information only | ||
Match text pattern | ||
Hasn't run yet | ||
Information only | ||
Yes/no | ||
Hasn't run yet | ||
Information only | ||
Match text pattern | ||
Hasn't run yet | ||
Information only | ||
Match text pattern | ||
Hasn't run yet |
This question is used in the following exams: