Homework 4
Covering the bases
Covering the bases
Due: 11:59pm on Monday, February 19, 2018
Submission: submit your solutions at the submissions server
Homework Problems
Homework Problems
These problems investigate different representations for various data and the conversions between them...
- Reading [5 points; individual]
- Problem 1 (Lab 4): Binary/Decimal [30 points; individual or pair]
- Problem 2: Conversions and Compressions [65 points; individual or pair]
- Problem 3: Image Processing [up to +10 extra-credit points; individual or pair]
Keep in mind that Python does offer its own conversion functions, particularly for strings and ints:
str(N)
is a function that takes an integer as input and returns the string version of that integerint(S)
is a function that takes a string of digits as input and returns the integer version of that string.