Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROBLEM STATEMENTS: Work all the 3 problems with clear and to the point documentation: Problem 1: String Operations and Data Security: To improve data security

image text in transcribed
PROBLEM STATEMENTS: Work all the 3 problems with clear and to the point documentation: Problem 1: String Operations and Data Security: To improve data security in the transmission of data and information, dynamic character coding is being practiced. The modification of the original characters can be using the first 8 prime members [1, 2, 3, 5, 7, 11, 13, 17): First character enhanced by 1; second character by 2, third by 3, . 8h character by 17. Next 8 characters use the prime numbers in the reverse order 17.1, and decrease the values. Use a total message of at least 32 characters and repeat the process of modifying 1-17 for the first 8; modifying by 17-1 for next 8, and so on. Make your own message. After the message is coded, decoding should also be done, to restore the original message. You may want to change the lower case and upper case transitions as well. You may use your modifications to make more security built in. Example: Original Message A B C D 65 66 67 68 Normal ASCI Prime Numbers Modified ASCI Coded Message 66 68 70 73 Problem 2: Card Shuffling: Entertainment Industry Using random number generation, and multi-dimensional array/structure concepts: deal 52 cards into 4 different hands (P, Q, R, and S), 13 cards each hand. The 4 colors are Spades, Hearts, Diamonds and Clubs. 13 cards are: A K, Q, J, 10, 9,8,7,6,5, 4, 3,2. Your software should eliminate any duplication of the cards. (a) Ace has a value of 13; King 12, and so on; Spades value of: 4, Hearts 3, Diamonds 2, and Clubs 1 (b) After each hand is dealt, calculate the total value each hand has in numerical value. (c) Highest score wins. P hand is the dealer and should win at least 3 out of 4 times(75% of the time). (d) Extend the game to 8 players(P,Q,R, S, T, U, V, w) with 6 cards each and 4 cards remaining at random. Dealer hand P should win at least 3 out of 8 times [37.5% of the time] Clearly explain in your report, how you are accomplishing these tasks. (e) Problem 3: Your own modification of Problem 1 or 2. Assess your original problem solution and device and implement your own which would be more efficient, and more portable PROBLEM STATEMENTS: Work all the 3 problems with clear and to the point documentation: Problem 1: String Operations and Data Security: To improve data security in the transmission of data and information, dynamic character coding is being practiced. The modification of the original characters can be using the first 8 prime members [1, 2, 3, 5, 7, 11, 13, 17): First character enhanced by 1; second character by 2, third by 3, . 8h character by 17. Next 8 characters use the prime numbers in the reverse order 17.1, and decrease the values. Use a total message of at least 32 characters and repeat the process of modifying 1-17 for the first 8; modifying by 17-1 for next 8, and so on. Make your own message. After the message is coded, decoding should also be done, to restore the original message. You may want to change the lower case and upper case transitions as well. You may use your modifications to make more security built in. Example: Original Message A B C D 65 66 67 68 Normal ASCI Prime Numbers Modified ASCI Coded Message 66 68 70 73 Problem 2: Card Shuffling: Entertainment Industry Using random number generation, and multi-dimensional array/structure concepts: deal 52 cards into 4 different hands (P, Q, R, and S), 13 cards each hand. The 4 colors are Spades, Hearts, Diamonds and Clubs. 13 cards are: A K, Q, J, 10, 9,8,7,6,5, 4, 3,2. Your software should eliminate any duplication of the cards. (a) Ace has a value of 13; King 12, and so on; Spades value of: 4, Hearts 3, Diamonds 2, and Clubs 1 (b) After each hand is dealt, calculate the total value each hand has in numerical value. (c) Highest score wins. P hand is the dealer and should win at least 3 out of 4 times(75% of the time). (d) Extend the game to 8 players(P,Q,R, S, T, U, V, w) with 6 cards each and 4 cards remaining at random. Dealer hand P should win at least 3 out of 8 times [37.5% of the time] Clearly explain in your report, how you are accomplishing these tasks. (e) Problem 3: Your own modification of Problem 1 or 2. Assess your original problem solution and device and implement your own which would be more efficient, and more portable

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago