Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Game Theory Expert

You have TWO OPTIONS on how to send in this assignment (either way will get you the same credit):

[1] Either by HAND

e.g., WRITE OUT a little Table/Figure (use Excel Worksheet? MS Word "Table"? However you want to do it)
that will illustrate the 2 rows of Alphanumeric letters as follows (with OUT the "dots", of course. You'll have to fill
the alphanumeric characters:

Plaintext Letter: | abcdefghij...z ... ABCDEF ....Z 123456...0
------------------+------------------------------
Ciphertext Letter | gqkuiehjr... p ... VZRHPU ...T 869034...2

--- OR:

[2] Write a Program to do it. As far as a "random seed", you could get this accomplished by doing the following

(at least this is the way I would do it):

Let a random generator go from 1 to 26 for EACH SET of ALPHABET LETTERS (e.g., the CAPs and the LOWERCASE LETTERS), and from "0" to "9" for all of the NUMBERS. and use the process of elimination to let it GENERATE each RANDOM character.

o How would you know how to store the letters? Probably by having the original letters in an array/vector and use
their INDEXES as the NUMBERS GENERATED by the RANDOM GENERATOR.

(a) Have the random generator generate an "unused" letter, then STORE that letter into a global array/vector, etc.

(b) Then, use a "checking" method (that could possibly return a BOOL) to CHECK if the NEXT randomly generated
number has been used yet.

(c) If it HAS been used then let the random generator come up with ANOTHER number (until it generates an UNUSED NUMBER)

(d) If the number has NOT been used yet, then add that number to the NEXT INDEX of the array/vector us USED NUMBERS

(e) Do this in a LOOP until you have ALL of the 26 LETTERs ACCOUNTED FOR for each of the sets of ALPHA CHARACTERS,
and 1 through 10 (or 0 thru 9 if you are Zero-basing your indexes).

What Text to Decipher:

[1] If you're doing it by method [1] above (e.g., using a Word/Excel document: Decipher the words of the Declaration of Independence listed below:

IN CONGRESS, July 4, 1776.

The unanimous Declaration of the thirteen united States of America,

When in the Course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume among the powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them,

[2] If you're using method [2] from above, have your program decipher the whole Declaration of Independence.

Game Theory, Economics

  • Category:- Game Theory
  • Reference No.:- M91615760
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Game Theory

In this assessment task you will take the role of an expert

In this assessment task you will take the role of an expert economist, employed by a government department or regulatory authority. Decision-makers in government rely on the advice of experts, like you, when formulating ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As