Symmetric Ciphers Questions and Answers – Number Theory

This set of Cryptography Multiple Choice Questions & Answers (MCQs) focuses on “Number Theory”.

1. If a|b and b|c, then a|c.
a) True
b) False
View Answer

Answer: a
Explanation: The statement is true. For ex, 11|66 and 66|198 = 11|198.

2. GCD(a,b) is the same as GCD(|a|,|b|).
a) True
b) False
View Answer

Answer: a
Explanation:This is true. gcd(60,24) = gcd(60,-24) = 12.

3. Calculate the GCD of 1160718174 and 316258250 using Euclidean algorithm.
a) 882
b) 770
c) 1078
d) 1225
View Answer

Answer: c
Explanation: GCD(1160718174, 316258250) = 1078.
advertisement
advertisement

4. Calculate the GCD of 102947526 and 239821932 using Euclidean algorithm.
a) 11
b) 12
c) 8
d) 6
View Answer

Answer: d
Explanation: GCD(102947526, 239821932) = 6.

5. Calculate the GCD of 8376238 and 1921023 using Euclidean algorithm.
a) 13
b) 12
c) 17
d) 7
View Answer

Answer: a
Explanation: GCD(8376238, 1921023) = 13.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. What is 11 mod 7 and -11 mod 7?
a) 4 and 5
b) 4 and 4
c) 5 and 3
d) 4 and -4
View Answer

Answer: d
Explanation:11 mod 7 = 4 ; -11 mod 7 = -4 mod 7 = 3 mod 7.

7. Which of the following is a valid property for concurrency?
a) a = b (mod n) if n|(a-b)
b) a = b (mod n) implies b = a (mod n)
c) a = b (mod n) and b = c (mod n) implies a = c (mod n)
d) All of the mentioned
View Answer

Answer: d
Explanation: All are valid properties of congruences and can be checked by using substituting values.
advertisement

8. [(a mod n) + (b mod n)] mod n = (a+b) mod n
a) True
b) False
View Answer

Answer: a
Explanation: The equivalence is true and can be checked by substituting values.

9. [(a mod n) – (b mod n)] mod n = (b – a) mod n
a) True
b) False
View Answer

Answer:b
Explanation:The equivalence is false and can be checked by substituting values. The correct equivalence would be [(a mod n) – (b mod n)] mod n = (a – b) mod n.
advertisement

10. 117 mod 13 =
a) 3
b) 7
c) 5
d) 15
View Answer

Answer: d
Explanation: The correct answer is 2. Or in this case 15 mod 13 = 2.

11. The multiplicative Inverse of 1234 mod 4321 is
a) 3239
b) 3213
c) 3242
d) Does not exist
View Answer

Answer: a
Explanation: The multiplicative Inverse of 1234 mod 4321 is 3239.

12. The multiplicative Inverse of 550 mod 1769 is
a) 434
b) 224
c) 550
d) Does not exist
View Answer

Answer: a
Explanation: The multiplicative Inverse of 550 mod 1769 is 550.

13. The multiplicative Inverse of 24140 mod 40902 is
a) 2355
b) 5343
c) 3534
d) Does not exist
View Answer

Answer: d
Explanation: The multiplicative Inverse does not exist as GCD (24140, 40902) = 34.

Sanfoundry Global Education & Learning Series – Cryptography and Network Security.

To practice all areas of Cryptography and Network Security, here is complete set of 1000+ Multiple Choice Questions and Answers

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.