Unit 6 - Practice Quiz

MTH401 59 Questions
0 Correct 0 Wrong 59 Left
0/59

1 What is the result of the expression ?

divisibility and modular arithmetic Easy
A. 3
B. 1
C. 2
D. 4

2 If we say that " divides " (denoted as ), which of the following statements is definitionally true?

divisibility and modular arithmetic Easy
A. is a non-integer
B. for some integer
C. for some integer
D. and are prime

3 Which of the following numbers is a prime number?

primes Easy
A. 1
B. 23
C. 9
D. 15

4 The Fundamental Theorem of Arithmetic states that every integer greater than 1 can be uniquely represented as:

primes Easy
A. A product of prime numbers
B. The sum of two primes
C. The difference of two squares
D. A power of 2

5 What is the Greatest Common Divisor (GCD) of 12 and 18?

greatest common divisors and least common multiples Easy
A. 36
B. 2
C. 6
D. 3

6 What is the Least Common Multiple (LCM) of 10 and 15?

greatest common divisors and least common multiples Easy
A. 150
B. 30
C. 60
D. 5

7 The Euclidean algorithm is a method for efficiently finding the:

Euclidean algorithm Easy
A. Greatest Common Divisor of two integers
B. Least Common Multiple of two integers
C. Solution to a linear congruence
D. Prime factorization of an integer

8 In the first step of the Euclidean algorithm to find , we divide 70 by 21. What is the remainder?

Euclidean algorithm Easy
A. 10
B. 21
C. 7
D. 3

9 According to Bezout's lemma, for integers and , the smallest positive integer that can be written in the form for some integers and is:

Bezout's lemma Easy
A.
B.
C.
D.

10 Which of the following describes a linear congruence?

linear congruence Easy
A.
B.
C.
D.

11 Which value of is a solution to the linear congruence ?

linear congruence Easy
A.
B.
C.
D.

12 The multiplicative inverse of an integer modulo exists if and only if:

inverse of (a modulo m) Easy
A.
B. is a prime number
C. is a prime number
D.

13 What is the multiplicative inverse of 3 modulo 11?

inverse of (a modulo m) Easy
A. 8
B. 6
C. 4
D. 2

14 The Chinese Remainder Theorem is primarily used to solve what kind of problem?

Chinese remainder theorem Easy
A. Finding the GCD of large numbers
B. Encrypting a message
C. Solving a system of simultaneous linear congruences
D. Finding prime numbers

15 In a Caesar cipher, if the key is 3, how is the letter 'B' encrypted?

encryption and decryption by Ceasar cipher and affine transformation Easy
A. 'C'
B. 'A'
C. 'D'
D. 'E'

16 What is the primary vulnerability of the simple Caesar cipher?

encryption and decryption by Ceasar cipher and affine transformation Easy
A. The decryption key is different from the encryption key.
B. It requires complex mathematics.
C. It only works on short messages.
D. It can be easily broken by brute-force attacks.

17 The encryption function for an Affine Cipher is . This is a generalization of which simpler cipher?

encryption and decryption by Ceasar cipher and affine transformation Easy
A. Caesar Cipher
B. Vigenère Cipher
C. Hill Cipher
D. Playfair Cipher

18 According to Fermat's Little Theorem, if is a prime number, what is for any integer not divisible by ?

Fermat’s little theorem Easy
A. 0
B.
C.
D. 1

19 If , what can be said about ?

divisibility and modular arithmetic Easy
A. is a multiple of
B. is a prime number
C. is equal to 1
D. is a divisor of

20 Two integers are called 'relatively prime' or 'coprime' if their greatest common divisor is:

greatest common divisors and least common multiples Easy
A. 1
B. Their product
C. 0
D. 2

21 What is the remainder when is divided by 11?

divisibility and modular arithmetic Medium
A. 9
B. 5
C. 7
D. 2

22 Using the Euclidean algorithm to find the greatest common divisor of 408 and 148, what are the successive remainders obtained?

Euclidean algorithm Medium
A. 112, 36, 4, 0
B. 112, 36, 0
C. 148, 112, 36, 4
D. 260, 148, 112, 36

23 The linear Diophantine equation has integer solutions for and . According to Bezout's lemma, which of the following could be a value for ?

Bezout's lemma Medium
A. 4
B. 50
C. 40
D. 12

24 How many distinct incongruent solutions does the linear congruence have?

linear congruence Medium
A. 1
B. 0
C. 6
D. 3

25 What is the multiplicative inverse of 17 modulo 45?

inverse of (a modulo m) Medium
A. 13
B. 8
C. 23
D. 38

26 Find the smallest positive integer that satisfies the system of congruences:

Chinese remainder theorem Medium
A. 18
B. 13
C. 23
D. 8

27 Using Fermat's Little Theorem, find the remainder of when divided by 13.

Fermat’s little theorem Medium
A. 9
B. 1
C. 12
D. 3

28 A message is encrypted using the affine cipher function . What is the corresponding decryption function ?

encryption and decryption by Ceasar cipher and affine transformation Medium
A.
B.
C.
D.

29 The least common multiple (lcm) of two distinct positive integers is 180 and their greatest common divisor (gcd) is 12. If one of the numbers is 60, what is the other number?

greatest common divisors and least common multiples Medium
A. 24
B. 72
C. 48
D. 36

30 What is the total number of positive divisors of the integer 720?

primes Medium
A. 18
B. 36
C. 24
D. 30

31 Using the Extended Euclidean Algorithm for and , integers and can be found such that . What is a possible value for ?

Bezout's lemma Medium
A. 7
B. -19
C. -7
D. 19

32 The ciphertext "YJQQF" was encrypted using a Caesar cipher. If it is known that the letter 'F' in the ciphertext corresponds to the letter 'A' in the plaintext, what is the original message?

encryption and decryption by Ceasar cipher and affine transformation Medium
A. TOWER
B. ZORRO
C. XIPPE
D. APPLE

33 What is the last digit of the number ?

divisibility and modular arithmetic Medium
A. 9
B. 7
C. 1
D. 3

34 For which of the following values of 'a' does a multiplicative inverse NOT exist modulo 34?

inverse of (a modulo m) Medium
A. 19
B. 25
C. 28
D. 15

35 When applying the Euclidean Algorithm to find gcd(1001, 343), the sequence of divisions is performed. What is the second quotient, , obtained during the process?

Euclidean algorithm Medium
A. 3
B. 2
C. 1
D. 7

36 Find the smallest positive integer solution to the linear congruence .

linear congruence Medium
A. 18
B. 11
C. 20
D. 15

37 According to Wilson's Theorem, for any prime , . Using this, what is the value of ?

Fermat’s little theorem Medium
A. 16
B. 15
C. 0
D. 1

38 A number of students are arranged in rows. If they are arranged in rows of 5, there are 4 left over. If they are arranged in rows of 7, there is 1 left over. What is the smallest possible number of students?

Chinese remainder theorem Medium
A. 39
B. 9
C. 19
D. 29

39 In an affine cipher encryption, the plaintext letters 'B' (1) and 'D' (3) are mapped to ciphertext letters 'F' (5) and 'L' (11) respectively. What is the encryption key for the function ?

encryption and decryption by Ceasar cipher and affine transformation Medium
A. (a=5, b=1)
B. (a=2, b=3)
C. (a=4, b=1)
D. (a=3, b=2)

40 Two bells toll at intervals of 42 seconds and 56 seconds, respectively. If they start by tolling together, after how many seconds will they next toll together?

greatest common divisors and least common multiples Medium
A. 168 seconds
B. 2352 seconds
C. 14 seconds
D. 98 seconds

41 Find the smallest integer that satisfies the following system of congruences:

Chinese remainder theorem Hard
A. 2003
B. 2333
C. The system has no solution
D. 2153

42 What is the remainder when is divided by $17$?

Fermat’s little theorem Hard
A. 1
B. 13
C. 11
D. 7

43 For how many integers in the set does the linear congruence have a solution for ?

inverse of (a modulo m) Hard
A. 160
B. 439
C. 159
D. 440

44 What is the sum of all incongruent solutions to the linear congruence ?

linear congruence Hard
A. There are no solutions
B. 627
C. 597
D. 342

45 The equation has integer solutions for and . Which of the following statements provides the most complete description of the set of all possible integer values for ?

Bezout's lemma Hard
A. The set of all integers.
B. Only the integer 7.
C. The set of all multiples of 49.
D. The set of all multiples of 7.

46 A message is encrypted using an affine cipher . A cryptanalyst discovers that the plaintext if (letters 8, 5) encrypts to the ciphertext XC (letters 23, 2). What is the decryption of the ciphertext PK (letters 15, 10)?

encryption and decryption by Ceasar cipher and affine transformation Hard
A. GO
B. IT
C. WE
D. DO

47 Let be the product of the first prime numbers (). Let . Which of the following statements about is a necessary consequence of its definition?

primes Hard
A. N is a prime number.
B. N is divisible by .
C. N is a composite number.
D. N is divisible by a prime number greater than .

48 Given that for integers and . If we know that , which of the following represents the strongest valid conclusion that can always be drawn?

divisibility and modular arithmetic Hard
A.
B.
C.
D.

49 For three positive integers , which one of the following relations is NOT always true?

greatest common divisors and least common multiples Hard
A.
B.
C.
D.

50 Compute the remainder of when divided by $101$.

Fermat’s little theorem Hard
A. 100
B. 21
C. 1
D. 80

51 What is the total number of incongruent solutions to the quadratic congruence ?

Chinese remainder theorem Hard
A. 8
B. 4
C. 2
D. 16

52 Let and be positive integers with . According to Lamé's theorem, the number of steps (divisions) in the Euclidean algorithm for finding is at most . Which of the following provides the tightest upper bound on based on ? (Let be the golden ratio).

Euclidean algorithm Hard
A.
B.
C.
D.

53 A composite number is called a Carmichael number if for all integers with . According to Korselt's criterion, a composite number is a Carmichael number if and only if it is square-free and for every prime divisor of , it is true that . Which of the following is a Carmichael number?

Fermat’s little theorem Hard
A. 255
B. 561
C. 729
D. 341

54 For which integer values of does the congruence have exactly 3 solutions modulo 185?

linear congruence Hard
A. For all multiples of 37 that are not multiples of 185.
B. For all multiples of 3.
C. Only for .
D. For all integers such that .

55 For an integer , the identity holds, where is Euler's totient function. Using this or other properties, find the value of .

divisibility and modular arithmetic Hard
A. 28
B. 33
C. 40
D. 32

56 Let be a positive integer with prime factorization . An integer has a multiplicative inverse modulo . Which of the following statements about the inverse of modulo each prime power factor is a necessary consequence?

inverse of (a modulo m) Hard
A. The inverse of modulo exists for every .
B. The inverse of modulo exists for at least one, but not necessarily all, of the factors.
C. The inverse of modulo exists only if .
D. The inverse of modulo may not exist for any , as existence is independent.

57 Consider the system of congruences and , where and are not necessarily coprime. A solution for exists if and only if which of the following conditions is met?

Chinese remainder theorem Hard
A. and
B. A solution always exists regardless of the values.
C.
D. and are coprime

58 What is the remainder of the sum when divided by $101$?

Fermat’s little theorem Hard
A. 50
B. 100
C. 1
D. 0

59 An affine cipher is used to encrypt a message. A frequency analysis on a large ciphertext reveals that the most frequent ciphertext letter is 'K' (10) and the second most frequent is 'W' (22). Assuming the original plaintext was standard English, where the most frequent letter is 'e' (4) and the second is 't' (19), what is the encryption key ?

encryption and decryption by Ceasar cipher and affine transformation Hard
A. (5, 11)
B. (7, 18)
C. (3, 24)
D. The key is invalid or cannot be uniquely determined