Assignment 1, due Jan 27

Part of the homework for 22C:50, Spring 2003
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list! All assignments will be due on Mondays at the start of class, and unless there is what insurance companies call "an act of God", the only exceptions to this rule will be by advance arrangement.

  1. What is your E-mail address? (If you have more than one, give the address you'd prefer used for class purposes.)

    Survey Questions

  2. What programming languages have you used to write even small programs?

  3. What programming languages have you used to write programs that you considered large?

  4. What text editors have you used to develop programs?

  5. What machine architectures have you studied -- at the level of the machine's assembly language or instruction set.

    Questions covering Prerequisites for the Course

  6. A binary tree has n internal nodes. How many leaves does it have?

  7. A binary search tree contains n items. Each item contains a pair of integers plus the minimum number of pointers required to construct the tree. What is the minimum amount of memory that must be allocated for the tree? State any assumptions you had to make in reaching your answer!

  8. Given that:

    a) What is the address of p?

    b) What is the value of p?

  9. What is indirect addressing?

  10. What is indexed addressing?