Recently published items
-
Modular arithmetic
QuestionAsks students to add and multiply two integers modulo another integer. The modulus is a random number between 30 and 70, the summands are set to be large enough that modular reduction will be necessary.
Published on 27/09/2023 16:05 CC BY-NC-SA -
Multiplicative inverse
QuestionAsks students to compute the multiplicative inverse of $a$ in $\mathbb{Z}_n$ where $n$ is an odd number between 31 and 61 and $a$ is an integer coprime to $n$ that lies between $n/4$ and $3n/4$.
Published on 27/09/2023 15:59 CC BY-NC-SA -
Square-and-multiply
QuestionThis question tests students' ability to use repeated squaring to perform modular exponentiation. Moduli are random numbers between 30 and 70, the base is a number between 10 and 29. To generate questions of approximately uniform difficult the exponent is taken to be 256 plus two smaller powers of 2.
Published on 27/09/2023 15:40 CC BY-NC-SA -
Vigenère Cipher encryption/decryption
QuestionA straightforward test of encrypting and decrypting an eight-letter message with the Vigenère Cipher using a four-letter key. Message letters are generated uniformly at random from the English alphabet, as are the key letters. Students are expected to be able to map English letters onto elements of $\mathbb{Z}_{26}$ in the usual order.
Published on 27/09/2023 15:31 CC BY-NC-SA -
Vernam Cipher encryption/decryption
QuestionA straightforward test of encrypting and decrypting an eight-bit message with the Vernam Cipher. The message and the key are uniform and independently generated eight-bit strings.
Published on 27/09/2023 15:10 CC BY-NC-SA -
Substitution cipher encryption/decryption
QuestionA straightforward test of encrypting and decrypting an eight-letter message with the Substitution Cipher. Message letters are generated uniformly at random from the English alphabet and the key is a uniformly chosen random permutation of the alphabet. Students are expected to be able to map English letters onto elements of $\mathbb{Z}_{26}$ in the usual order.
Published on 27/09/2023 15:05 CC BY-NC-SA -
Test Yourself Week 5
Exam (6 questions)No description given
Published on 27/09/2023 13:48 No licence specified -
Test Yourself Week 3
Exam (1 question)No description given
Published on 27/09/2023 13:36 No licence specified -
Test Yourself Week 4
Exam (6 questions)No description given
Published on 27/09/2023 09:47 No licence specified -
MATH1023 Week 1 vocabulary
QuestionNo description given
Published on 27/09/2023 04:43 No licence specified