Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Assignment
Synopsis

In this assignment, students work individually to explore images as a form of data representation. To achieve this, students create a program which 'recovers' a number of images from a corrupted file by identifying the start of the image header files in a large string of data. The goal of this resource is to demonstrate how programming can be useful - both for data recovery and for data representation. This resource is most applicable for students who have previously worked with substantive code databases.

Engagement Highlights

This resource Addresses Misconceptions about CS by having students photograph a number of CS students around campus and using the storage media as part of the assignment. This resource Incorporates Student Choice by allowing students to choose between the 'hacker' and normal versions of the problem set specification. This resource Employs Meaningful and Relevant Content as it demonstrates data recovery as well as data representation as images. This resource encourages Student-Faculty Interaction by embedding a number of "shorts" or mini-lectures by current Harvard students.

Materials and Links

Computer Science Details

Computer Science Topic(s)
debugging
struct
file i/o
bit
Programming Language
C

Material Format and Licensing Information

Material Format
HTML
Technology Platform Required
Desktop
Creative Commons License
Unknown

Author's Institutional Information

Institution Type
Universities (Doctoral and Research)
Community Type
Urban