Hw4

Hw4

Homework 4

Binary Numbers, Images

Submission

Submit your solutions to Moodle.

Homework Problems

These problems investigate different representations for various data and the conversions between them…

  • Reading [5 points; individual]
    (hw4pr0)
  • Problem 4 (Image Processing) Optional Challenge [up to +10 points; individual or pair]
    (filename: hw4pr4.py and up to three .png image files)

Keep in mind that Python does offer its own conversion functions, though only for its built-in types:

  • str(anInteger) is a function that takes an integer as input and returns the string version of that integer
  • int(aString) is a function that takes a string of digits as input and returns the integer version of that string.

Back to the CSCI 203 home page.