You are on page 1of 5

CS 205 Quiz #4R Oct 25, 2012

NAME: __________________________________________________________________________

RUID:___________________________________________________________________________

Electronic Devices are not permitted during the quiz. These include but are not restricted to calculators,
computers and cell phones.
No communication between students or anyone outside of class is permitted during the quiz.
Textbooks, notes and any other written materials are not permitted during the quiz.

DO NOT OPEN UNTIL


INSTRUCTED TO DO SO

1. For each of the following statements, provide the cardinality of the result.

___________

a)

{ 3, 3, 3, 3, 4 }

___________

b)

{ , } { 1, 2, , }

___________

c)

{ , } { 1, 2, , }

___________

d)

{ 1, 2, , } - { , }

___________

e)

{ 5, { } }

___________

f)

{ 5 } { { } }

___________

g)

{ 1 } { 2 }

___________

h)

{ 1, 1 } { 2, 2 }

___________

i)

( { 1, 2 } { 3, 4 } ) { }

___________

j)

{ 1, 2 }

___________

k)

({ 1, 2 } { 3 }) ({ 3 } { 2, 1 })

___________

l)

({ 1, 2 } { 3 }) ({ 3 } { 2, 1 })

2. For each of the following statements, provide the cardinality of the result.

___________

a)

P( { 1, 2, 3 } )

___________

b)

P( )

___________

c)

P( { } )

___________

d)

P( { { } } )

___________

e)

P( { { { } } } )

___________

f)

P( { , { }, { { } } } )

___________

g)

P( { 1 } ) P( { 1 } )

___________

h)

P( { 1 } { 1 } )

___________

i)

P( { 1 } ) P( { 1 } )

___________

j)

P( { 1 } P( { 1 } ) )

___________

k)

P( { 1, 2, 3, 4 } ) P( { 4, 5, 6, 7 } )

___________

l)

P( { 1, 2, 3, 4 } ) P( { 4, 3, 6, 7 } )

3. For each of the following statements, provide the cardinality of the result.

___________

a)

P( { 1, 2, 3 } { 4, 5, 6 } )

___________

b)

P( ({ 1, 2, 3 } { 4, 5, 6 }) )

___________

c)

P( ({ 1, 2, 3 } { 4, 5, 6 }) { 7, 8, 9 } )

___________

d)

P( { 1, 2 } ) - P( { 1, 2, 3, 4 } )

___________

e)

P( { 1, 2, 3, 4 } ) - P( { 1, 2 } )

___________

f)

- P( P( ) P( {1} ) )

___________

g)

P( P( ) P( {1} ) )

___________

h)

P( P( P ( ) ) )

___________

i)

P( P( ) P( ) )

___________

j)

P( ( P( { 1 } ) P( { 2 } ) ) )

___________

k)

P( ( P( { 1 } ) P( { 2 } ) ) )

___________

l)

P( { 1, 2, 3, 4 } { 5, 6, 7, 8 } )

Scratch Paper

You might also like