To Homework

LSP 121 -- Homework 5

Positional Number Systems

Definitions

Answer the following questions

Show your work for problems 1 and 2.

  1. Convert each of these one-byte binary numbers to decimal. Show your work:

    00010111    00101110    01111001

  2. Convert each of these decimal numbers to one-byte binary. Show your work.

    29    30    115

  3. Convert each of these one-byte binary numbers to hex:

    00010111    00101110    01111001

  4. Convert each of these one-byte hex numbers to binary:

    3E    9B    CA

  5. Make up short message (at most 20 characters) and translate it into binary ASCII. The easiest way to do this is to use the ASCII Table to translate it into hex, then translate each hex digit into binary with the Hex Digits Table. Then give your message to someone to decode.

  6. Get someone else's message to decode. Indicate whose message it is. Translate each group of four digits into hex with the Hex Digits Table. then use the ASCII Table to translate the message into characters.