COMPUTER ARCHITECTURE
Spring Semester 2001

COMPUTER ARCHITECTURE - Spring 2001 Programming Assignments

  1. PROG #4: HISTOGRAM OF HEX DIGITS - Bit Manipulation and Files

    Write a program that will create a new class involving files. This class should
    maintain private variables for the filename and certain other statistics, such
    as the total number of characters in the file and totals for each of the
    hexadecimal digits that form those characters. Public functions should be able
    to access all statistics.

  2. Include the ability print the frequency distribution of hex digits as a table
    of 16 percentages.