This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Computer Science 130B Midterm Exam Total: 100 pts. Name: (Last) Name: (First) Umail Account: @umail.ucsb.edu Write your name and UCSB umail account on the lines above. Write all your answers on the exam paper. Use the back of the exam paper or attach extra sheets if necessary. At the end of the exam, turn in all sheets in the exam paper whether you answer all the questions or not. There are two questions and the total number of points is 100. IMPORTANT NOTE: When you are asked to explain something concisely , clearly , and/or briefly , please do exactly that . Lengthy answers not to the point will not earn you extra points and will only cost you more time. Also, please write neatly and legibly. Poor penmanship that is hard to decipher will not earn you any sympathy points. Problem 1 (60%) An array A[1..n], with n 1, is called strictly unimodal if there is some integer j , with 1 j n , such that A  &lt; A  &lt; &lt; A [ j ] &gt; A [ j + 1] &gt; &gt; A [ n ]....
View Full Document
This note was uploaded on 02/19/2012 for the course ENGR 361 taught by Professor Drexel during the Spring '12 term at Bloomsburg.
- Spring '12
- Computer Science