Unit 1: Base System Conversions - Assignment
Total points for Assignment: 35 points.
Assignments must be submitted as a Microsoft Word document and uploaded to the Dropbox for Unit 1.
All Assignments are due by Tuesday at 11:59 PM ET of the assigned Unit.
NOTE: Assignment problems should not be posted to the Discussion threads. Questions on the Assignment problems should be addressed to the instructor by sending an email or by attending office hours.
You must show your work on all problems. If a problem is worth 2 points and you only show the answer, then you will receive only 1 point credit. If you use a calculator or online website, give the source and tell me exactly what you provided as input. For example, if you used Excel to compute 16 * 16, tell me “I typed =16*16 into Excel and got 256. You may type your answer right into this document.
Part I. Basic Computations
1. (3 points) Convert the binary form (base 2) to decimal form (base 10): 01110111 base 2
|128 |
|115/2 |
| |Decimal |
|M |77 |
|u |117 |
|s |115 |
|i |105 |
|c |99 |
|Capitol M |
|77/2 |
|Lowercase u |
| |
|117/2 |
|Lowercase i |
|105/2 |
|Lowercase c |
|99/2 |
ANS: 1001101 1110101 1110011 1101001 1100011 Decimal ASCII Chart found in Unit 1- Base System Conversions Reading Document.
Part II. Case Study
This week’s episode of “Patty Madeye Mysteries” is called “The case of the missing puppies”.
You have been asked to do research for an episode where Patty will be challenged to find a trio of stolen puppies, shown above. Their names are Moe, Buttercup, and Fluffy. The owners have been raising the puppies with the hopes of winning big prizes in this spring’s season of dog shows. Patty is asked to help find the puppies.
Clue #1: [pic]This Postnet bar-code was found on the floor next to where the puppies were last seen.
Patty knows that Postnet (Postal Numeric Encoding Technique) is a barcoding system used by the United States Postal Service to direct mail. As each piece of mail is processed, a barcode is printed on the envelope indicating the zip-code to which the mail is addressed. The barcode is made up of full bars (representing a “1”) and halfbars (representing a “0”) in a pattern that encodes the characters of the zip-code using a binary representation.
The bar code starts with a full-bar and ends with a half-bar & full-bar, then each number in the zip-code is converted to a four-digit binary representation (e.g. 0010 = “2”), and there is a separator bar between each number in the zipcode.
Since you are an expert on binary numbers, you take away all the separators and determine that the zip code is as follows:
a. (4 points) Can you determine the zipcode from this clue? Be sure to show how you arrived at your answer.
The Bar code the right converts into this: 0001 0011 0001 0100 0101
Then we just convert to decimal which is:
|128 |64 |32 |16 |
|10/2=5R0 |14/2=7R0 |159/2=79R1 |100/2=50R0 |
|5/2= 2R1 |7/2=3R1 |79/2=39R1 |50/2=25R0 |
|2/1= 1R0 |3/2=1R1 |39/2=19R1 |25/2=12R1 |
|1/2=0R1 |1/2= 0R1 |19/2=9R1 |12/2=6R0 |
|=1010 |=1110 |9/2=4R1 |6/2=3R0 |
| | |4/2=2R0 |3/2=1R1 |
| | |2/2=1R0 |1/2=0R1 |
| | |1/2=0R1 | |
| | |=10011111 |=1100100 |
10=00001010
14= 00001110
159=10011111
100= 01100100
ANS: 00001010.00001110.10011111.01100100