Groupwork 2, Understanding the number systems in homework 4.

Short Description:

Attempt to understand the number systems in homework 4

Goals

When you finish this homework, you should have:

Note

This homework is an alternative assignment for class on 3/14.

Formal Description

Download the group work document. Append the answers to the following questions/requests relating to Homework Four to this document. Make sure you include the questions/requests.
  1. Explain how 42 is represented in each number system. (do no just give the representation, which you could copy from the assignment, explain it!)
  2. Explain how 314 is represented in each number system. (do no just give the representation, which you could copy from the assignment, explain it!) You may skip Unary for this problem, but explain why you want to skip Unary.
  3. Represent 27 in each system. Show why each is a valid representation.
  4. Provide a discussion on the data structure you will use to represent numbers in bases other than base 10.
  5. Provide an algorithm to
    1. Convert from unary to decimal.
    2. Convert from decimal to unary.
    3. Given a number 0 ≤ n < 20, produce the mayan digit that represents that number. (Do not use a 20 place if/switch-case statement, come up with a computation.)

When forming your answers, remember, you are working on developing algorithms for your next program.

When I wrote the program, I converted all input to decimal and stored it that way, then converted everything back to the required representation for output.

Required Files

Each member of the group must submit a word document containing the groupwork form and the answers.

Submission

Submit the assignment to the D2L folder Gropwork 2 by the due date.

Groups

Group AlphaAshley, Devon, Adrian, Celeste
Group 1Pralisha, Jordi, Jacob, Zandrew
Group AGabriel, Junior, Hussein, Caden
Group IMaya, Bryan, Hayden, Connor
Group FirstNoah, Zach, Bianca, Chris
Group OriginMason, Mari, Rafael