University of Iowa Computer Science Department

Quiz 09

1. What is an exception and describe how C# handles them using try/catch blocks.

2. If you were searching for a key value in an integer array with 1000 elements, which would be faster: a linear search or a binary search. Explain your answer.

UI CLAS CRA ACM Valid CSS! Valid XHTML 1.0 Transitional Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0 Cynthia tested
| Modified: .