Docsity

CS 1050 Practice Quiz: Mathematical Problems, Quizzes of Computer Science

Toggle sidebar
bg1
Practice Quiz 2
CS 1050
1. Find the value of
2. Prove that if A, B, and C are sets, then A ๏ƒ‡ (B B ๏ƒ‡ C) = (B A ๏ƒ‡ B) ๏ƒ‡ C.
3. Use mathematical induction to prove that 1+2n ๏‚ฃ 3n for all n ๏‚ณ 1.
4. Let k be a positive integer. Show that 1k+2k+โ€ฆ+nk is O(B nk+1).
5. Find a closed form solution for
1
iโˆ’1
i +1
โŽ›
โŽ โŽž โŽ 
i=1
n
โˆ‘
. (Do not use mathematical
induction.)
6. Use mathematical induction to prove that
1
iโˆ’1
i +1
โŽ›
โŽ โŽž โŽ 
i=n
2n
โˆ‘
=n + 1
n(2n + 1)
for all
positive integers n.
1
j=0
i
โˆ‘
โŽ›
โŽ
โŽœ โŽž
โŽ 
โŽŸ
i=1
5
โˆ‘

Partial preview of the text

Download CS 1050 Practice Quiz: Mathematical Problems and more Quizzes Computer Science in PDF only on Docsity!

Practice Quiz 2

CS 1050

**1. Find the value of

  1. Prove that if A, B, and C are sets, then A** ๏ƒ‡ (B B ๏ƒ‡ C) = (B A ๏ƒ‡ B) ๏ƒ‡ **C.
  2. Use mathematical induction to prove that 1+2n**^ ๏‚ฃ 3 n^ for all n ๏‚ณ **1.
  3. Let k be a positive integer. Show that 1k+2k+โ€ฆ+nk**^ is O(B nk+1). 5. Find a closed form solution for

i

i + 1

i= 1 โŽ  n

โˆ‘.^ (Do not use mathematical

induction.)

6. Use mathematical induction to prove that

i

i + 1

i =n^ โŽ  2 n

โˆ‘ =^

n + 1 n( 2 n + 1 ) for all positive integers n.

j= 0 i

i= 1 5