Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 .Which of the following Bare Bones programs is self-terminating Assume X > 0 A. while X not 0: B. while X not 0: decr
1.Which of the following Bare Bones programs is self-terminating Assume X > 0
A. while X not 0:
B. while X not 0:
decr X
C. decr X
while X not 0:
2: If c = x mod n then c is guaranteed to be in which of the following sets
a.{ 1, 2, 3, n-1 }
b.{ 0, 1, 2, 3, . n-1 }
c.{ -(n-1), -(n-2), -(n-3), -2, -1 0 }
d.{ 1, 2, 3, . n }
3. If xa mod n = c and xb mod n = d then xa+b mod equals
A. c + d mod n
B. c*d mod n
C. cd mod n
D. None of the above
4. Using the private keys n = 133 and d = 5, decrypt the message 7
a. 7
b. 37
c. 49
d. None of the above
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started