Let X = {strings in A} Name two B, C C X and two D, E C X such that... a) BUC = X B = C = b) DnE + Ø D = E =

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter15: Recursion
Section: Chapter Questions
Problem 8SA
icon
Related questions
Question
100%

Stuck need help! The class I'm taking is computer science discrete structures. 

Problem is attached. please view both attachments before answering.

I need help with parts A and B.

Please explain answer so I can fully understand.

Really struggling with this concept. Thank you so much.

Let X =
{strings in A} Name two B, CE X and two D, E C X such that...
a) BUC = X
B =
C =
b) DnE + Ø
D =
E =
I| ||
Transcribed Image Text:Let X = {strings in A} Name two B, CE X and two D, E C X such that... a) BUC = X B = C = b) DnE + Ø D = E = I| ||
Let Set A
{the quick brown fox jumped over the lazy dog} be a set of strings (two or
%3D
more characters) formed by characters (single letters) in the standard alphabet.
Enumerate (assign numbers to) the alphabet as
A
В
C
E
F
K
M
P
Q
V
W
Y
1
3
4
5
7
8
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Consider the following encryption algorithm written in pseudo code:
Encrypt(set):
define f (x) = x + 13 mod 26.
Now,
Vx E characters of A,
If x = 14 mod 26,
> f (x)
Then x →
If not,
Then x → X
Transcribed Image Text:Let Set A {the quick brown fox jumped over the lazy dog} be a set of strings (two or %3D more characters) formed by characters (single letters) in the standard alphabet. Enumerate (assign numbers to) the alphabet as A В C E F K M P Q V W Y 1 3 4 5 7 8 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Consider the following encryption algorithm written in pseudo code: Encrypt(set): define f (x) = x + 13 mod 26. Now, Vx E characters of A, If x = 14 mod 26, > f (x) Then x → If not, Then x → X
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning