Software Programming

Here is a famous mathematical game named Googol, invented by Martin Gardner in his column in Scientific American in 1960. The rules are as follows: Player 1 writes 10 different numbers on cards, and the cards are turned face down and shuffled. Player 2 flips the cards over one by one until he decides to stop. Player 2 wins if the number on the last opened card is the largest of all the cards; otherwise Player 1 wins. There is a mathematical strategy that gives Player 2 the best chance of winning, but without using any mathematics, think about the game and describe what rule you would use to decide when to stop flipping cards.

Instructions:

Based on the problem of the above question, and what you learned in the textbook, complete the following:

Write a problem statement for the “Googol” game.
Document the algorithm for the “Googol” game.
Document the decision points and label what type of decisions they are.
Based on your problem and algorithm, document which programming language, or type of programming language, you think would be most appropriate for building a program to play the “Googol” game.

p(2)

Place your order now to enjoy great discounts on this or a similar topic.

People choose us because we provide:

Essays written from scratch, 100% original,

Delivery within deadlines,

Competitive prices and excellent quality,

24/7 customer support,

Priority on their privacy,

Unlimited free revisions upon request, and

Plagiarism free work,

 

 

Order Similar Assignment Now!

  • Our Support Staff are online 24/7
  • Our Writers are available 24/7
  • Most Urgent order is delivered within 4 Hrs
  • 100% Original Assignment Plagiarism report can be sent to you upon request.

GET 15 % DISCOUNT TODAY use the discount code PAPER15 at the order form.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: