Assignment 1

Due: This assignment includes hand-written material, so it needs to be turned in via hard copy, so it is due Friday at the beginning of class.

Collaboration: Each student must work on and submit assignment individually. It can be worked on during a mentor session, but our mentor will not do these specific questions as group demos.

1) Convert each of the following positive integers (in binary notation) to the equivalent base ten (decimal) representation. Show your work.
(a) 110011
(b) 101110

2) Convert each of the following integers (in decimal notation) to the equivalent binary representation. Show your work. Left-leading zeros may be omitted.
(a) 17
(b) 72

3) Perform the following binary addition, showing your work and giving the result in binary notation.
 1110101
+0110101

4) Perform the following binary multiplication, showing your work and giving the result in binary notation.
 011
×101

5) Write a brief message, encoded in ASCII (i.e., each character in the message should be given by the decimal representation of the associated ASCII character code). Your message should be meaningful (as opposed to random characters), and it should include both an upper- and lower-case letter, punctuation, and either a numeric digit or other symbol.

One place you can find the ASCII table is https://www.ascii-code.com/

Here is an example (with a little bonus):
84  119  101  101  116  33  7

6) Explain what this display means if you were to see it as a result of an ls -l command in terminal:

drwxr--r--

7) Email Prof. Rodrigues the file for your first (perhaps rather short) completed Twine story (it has a beginning, middle, and end).