review1solns.pdf - CMPS 101 Midterm 1 Review Solutions to selected problems 2 State whether the following assertions are true or false If any statements

review1solns.pdf - CMPS 101 Midterm 1 Review Solutions to...

This preview shows page 1 - 3 out of 7 pages.

CMPS 101 Midterm 1 Review Solutions to selected problems 2.State whether the following assertions are true or false. If any statements are false, give a related statement which is true. a.?(?) = ?(?(?))implies ?(?) = ?(?(?)) Related True Statement: ?(?) = ?(?(?))implies ?(?) = ?(?(?))b.?(?) = ?(?(?))if and only if ?(?) =Ω(?(?)) c.?(?) = 𝛩(?(?))if and only if lim𝑛→∞(?(?)/?(?)) = 𝐿, where 0 < 𝐿 <. False 3.Prove that Θ(?(?)) ⋅ Θ(?(?)) = Θ(?(?) ⋅ ?(?)) . 4.Let ?(?)and ?(?)be asymptotically positive functions (i.e. ?(?) > 0and ?(?) > 0for all sufficiently large n), and suppose that ?(?) = Θ(?(?)). Does it necessarily follow that ?(𝑛)= Θ (1?(𝑛))? Either prove this statement, or give a counter-example. 1 such 1 1
Image of page 1