midterm1(1) - CS 473 Midterm 1 Questions Version 1 Spring...

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 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

Page1 / 2

midterm1(1) - CS 473 Midterm 1 Questions Version 1 Spring...

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