Modular Arithmetic Flashcards

mod stuff (19 cards)

1
Q

If x=
7 mod 4, then x can be?

a. 2
b. 1
c. 3

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If 12 mod 5 = x , then x can be
a. 2
b. 3
c. 5

A

2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is 100 mod 11?

a. 1
b. 0
c. 2

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following solves 2 x = 5 mod 3?

a. 5

b. 10

c. 6

A

10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

If x + 3 = -1 mod 5, then x can be

a. 1

b. - 3

c. 2

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

congruent or not

30 = 11 ( mod 3)

A

not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

congruent or not

-6 = 5 ( mod 2)

A

not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

congruent or not

18 = -7 (mod 5)

A

congruent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

congruent or not

12 = 24 ( mod 6)

A

congruent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

congruent or not

13 = 13 ( mod 7)

A

congruent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

congruent or not

-10 = -32 (mod 4)

A

not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In cryptography, encryption is the process of transforming the original representation of an information, known as ______ into an alternative (or secret) form known as _______

A

plaintext, cyphertext

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

caesar cypher decoding formula

A

y = 3x + 2(mod 26)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

decode the letter T = 20 using the caesar cypher

A

= 3(20) + 2 (mod 26)
= 62 (mod 26)
= 10 (mod 26)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

formul for caesar cypher inverse

A

y≡9(x−2) (mod26)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

solve for addition modulo m

8⊕7 ≡ 15 (mod9)

16
Q

solve for multiplication modulo m
8⊗7 ≡ 56 (mod9)

A

≡ 2 (mod 9).

17
Q

when the modulus m = 4, we have

A

Z4 = {0,1,2,3}.