Midterm 1 - Illinois Institute of Technology Department of...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Illinois Institute of Technology Department of Computer Science Midterm 1 CS 331 Data-Structures Spring 2007 February 26, 2007 15:1516:30 This is a closed book and closed notes exam. You are not allowed to use calculators or computers during this exam. Do ALL problems in this booklet. Read each question very carefully. You may detach pages, but you must return all pages of this exam. Name Email ID @iit.edu Do not place your social security number anywhere on this exam. Problem Points Score 1 6 2 6 3 6 4 6 5 6 6 6 7 4 8 6 9 4 10 4 11 6 12 6 13 6 Total 72 Percent 100 CS 331 Midterm 1 Spring 2007 1 Abstraction Question 1) (6 points) What is an abstract data type? Why is this concept important? Question 2) (6 points) When writing unit tests, what kinds of situations should you test? Question 3) (6 points) A stack class is often implemented by encapsulating a list class, renaming three methods, and throwing the rest away. We are literally reducing the capability of the class by doing this. Whatthrowing the rest away....
View Full Document

Page1 / 7

Midterm 1 - Illinois Institute of Technology Department of...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online