Error
There was an error loading the page.
Generator matrix for Simplex code
Ready to use
Write down the lexicographic parity check matrix and generator matrix for a Hamming code, which is the dual of a Simplex code, then determine if a given word is a codeword of the corresponding Simplex code.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of Content created by Newcastle University :
![]() |
said | Ready to use | 6 years, 8 months ago |
History
Christian Lawson-Perfect 4 years, 10 months ago
Published this.Christian Lawson-Perfect 5 years, 11 months ago
Saved a checkpoint:
Replaced javascript in part b with a custom marking algorithm.
Newcastle University Mathematics and Statistics 6 years, 8 months ago
Gave some feedback: Ready to use
Christian Lawson-Perfect 6 years, 8 months ago
Created this.There is only one version of this question that you have access to.
Name | Type | Generated Value |
---|
p | integer |
2
|
||||
rows | integer |
3
|
||||
word_length | number |
7
|
Name | Type | Generated Value |
---|
pcm | list |
List of 3 items
|
||||
gen_matrix | list |
List of 4 items
|
Name | Type | Generated Value |
---|
word | codeword |
codeword("0110011",2)
|
||||
syndrome | codeword |
codeword("0000",2)
|
||||
word_belongs | boolean |
true
|
Name | Type | Generated Value |
---|
swap | permutation |
perm("(1,3,4)")
|
||||
iswap | permutation |
perm("(1,4,3)")
|
||||
permuted_pcm | matrix |
Matrix of size 3×7
|
Name | Type | Generated Value |
---|
Generated value: integer
2
This variable doesn't seem to be used anywhere.
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Matrix entry | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet | ||
Gap-fill | ||
Hasn't run yet | ||
Choose one from a list | ||
Hasn't run yet |
This question is used in the following exams: