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 don’t 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
This note was uploaded on 01/22/2012 for the course CS 573 taught by Professor Chekuri,c during the Fall '08 term at University of Illinois, Urbana Champaign.
- Fall '08