mt1(4) - CS 373 U Midterm 1 Questions (February 27, 2004)...

Info iconThis preview shows pages 1–2. 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: CS 373 U Midterm 1 Questions (February 27, 2004) Spring 2004 Write your answers in the separate answer booklet. 1. Multiple Choice: Each question below has one of the following answers. A: Θ(1) B: Θ(log n ) C: Θ( n ) D: Θ( n log n ) E: Θ( n 2 ) X: I don’t know. For each question, write the letter that corresponds to your answer. You do not need to justify your answers. Each correct answer earns you 1 point. Each X earns you 1 4 point. Each incorrect answer costs you 1 2 point. Your total score will be rounded down to an integer. Negative scores will be rounded up to zero. (a) What is n ∑ i =1 lg i ? (b) What is lg n ∑ i =1 i 2 i ? (c) How many decimal digits are required write the n th Fibonacci number? (d) What is the solution of the recurrence T ( n ) = 4 T ( n/ 8) + n log n ? (e) What is the solution of the recurrence T ( n ) = T ( n- 3) + 5 n ? (f) What is the solution of the recurrence T ( n ) = 5 T (ceilingleftbig n +13 3 ceilingrightbig + floorleft √ n floorright ) +(10...
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.

Page1 / 2

mt1(4) - CS 373 U Midterm 1 Questions (February 27, 2004)...

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

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