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: CS 473 Midterm 1 Questions Version 1 Spring 2010 This exam lasts 120 minutes. Write your answers in the separate answer booklet. Please return this question sheet with your answers. 1. Each of these ten questions has one of the following five answers: A : ( 1 ) B : ( log n ) C : ( n ) D : ( n log n ) E : ( n 2 ) Choose the correct answer for each question. Each correct answer is worth + 1 point; each incorrect answer is worth- 1 / 2 point; and each I dont know" is worth + 1 / 4 point. Negative scores will be recorded as 0. (a) What is 3 n + n 3 ? (b) What is n X i = 1 i n ? (c) What is s n X i = 1 i ? (d) How many bits are required to write the number n ! (the factorial of n ) in binary? (e) What is the solution to the recurrence E ( n ) = E ( n- 3 ) + 17 n ? (f) What is the solution to the recurrence F ( n ) = 2 F ( n / 4 ) + 6 n ? (g) What is the solution to the recurrence G ( n ) = 9 G ( n / 9 ) + 9 n ?...
View Full Document
- Fall '08