1 |
h14 |
CCS CS20 S18 |
Name: | ||||
---|---|---|---|---|
(as it would appear on official course roster) | ||||
Umail address: | @umail.ucsb.edu | |||
Optional: name you wish to be called if different from name above. | ||||
Optional: name of "homework buddy" (leaving this blank signifies "I worked alone" |
h14: Number Conversions
ready? | assigned | due | points |
---|---|---|---|
true | Thu 05/24 12:30PM | Thu 05/31 12:30PM |
You may collaborate on this homework with AT MOST one person, an optional "homework buddy".
This assignment should be submitted by scanning the pages in the correct order to a PDF file and uploading to gradescope.com.
For more information, visit ucsb-cs8.github.io and look for Gradescope: Student Self Submission under "topics".
Even though it is a Gradescope submission, nevertheless, *please fill in the information at the top of this homework sheet*, including your name and umail address.
READING ASSIGNMENT
Please review the notes from lecture on Tuesday 05/22, and if necessary, review the material at this page: https://ucsb-cs8.github.io/topics/number_conversions
Then complete these problems and turn in your completed homework in class on the due date.
-
(10 pts) These 10 points are for filling in your name at the top of the sheet, and scanning correctly on Gradescope. (Having these here gives me a place to give you feedback if there is some glitch with the way you are doing it.)
-
Complete each of the number conversions shown:
(a) (10 pts) Convert 0110 1110 1101 0011 from binary to base 16 final answer only in box above (b) (10 pts) Convert 90 from decimal to binary final answer only in box above (c) (10 pts) Convert 141 from decimal to binary final answer only in box above -
Complete each of the number conversions shown:
(a) (10 pts) Convert 0010 1010 from base 2 to base 10 final answer only in box above (b) (10 pts) Convert 1011 0001 1010 1000 from binary to base 16 final answer only in box above -
Complete each of the number conversions shown:
(a) (10 pts) Convert 96 from decimal to binary final answer only in box above (b) (10 pts) Convert 241 from decimal to binary final answer only in box above (c) (10 pts) Convert 26b8 from base 16 to base 2 final answer only in box above (d) (10 pts) Convert 2 from octal to base 2 final answer only in box above