Trick question? You decide!

Random irrelevance that just didn't fit into other forums. Talk about anything.

Moderator: Talkative People

Post Reply
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Trick question? You decide!

Post by MarauderIIC »

So I'm going over the practice test... study materials... whatever for my CS 375 class (logic & theory of computing) (pdf warning)

And on problem 1, part g

Code: Select all

A = {1, {1}, {2}}*
Is "A intersect {{1}} = {1}**" true?
Which the answer to is 'false'.
Obviously (/sarcasm) it's because the intersection between a set and a set containing an element that is "a set that contains 1" should be "a set containing 'a set that contains 1' " not "a set that contains 1". Since, IIRC, an intersection returns a set. So yes the point of intersection itself is {1} but say we had A = {1, 2, 3}, then A intersect {1, 2, 99} would be {1, 2}.

Translations:
Click here to see the hidden message (It might contain spoilers)
*A is a set containing the elements: "1", a set containing "1", and a set containing "2"
**the intersection between the set 'A' and a set containing an element that is "a set that contains 1" is a set containing "1"


So, I am not a fan of her question. Why am I not a fan of her question? Because it's not testing what the return of an intersection is. It's testing whether or not you get confused by multiple curly brackets. A better, test-actual-knowledge question, assuming she still wants to keep multiple curly brackets, would be,

Code: Select all

Given A = {1, {2}, {3}}, is A intersect {1, {2}, 99} = 1, {2}?
(false, {1, {2}})
By the way, to make 'part g' true, it would have to be
A intersect {1} = {1}
or
A intersect {{1}} = {{1}}

/rant
Last edited by MarauderIIC on Thu Oct 09, 2008 12:13 pm, edited 1 time in total.
Reason: made pretty
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
trufun202
Game Developer
Game Developer
Posts: 1105
Joined: Sun Sep 21, 2008 12:27 am
Location: Dallas, TX
Contact:

Re: Trick question? You decide!

Post by trufun202 »

Fuck.

I don't miss college one bit. :P
-Chris

YouTube | Twitter | Rad Raygun

“REAL ARTISTS SHIP” - Steve Jobs
User avatar
sparda
Chaos Rift Junior
Chaos Rift Junior
Posts: 291
Joined: Tue Sep 23, 2008 3:54 pm

Re: Trick question? You decide!

Post by sparda »

I tried solving your problems here, but I hit a snag. Does your book (im assuming book, not professor),
mean subset, or proper subset for the symbol ⊂?

I ask because I know books use this symbol with different meaning.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Trick question? You decide!

Post by MarauderIIC »

Subset. Proper subset has same symbol with an underline. Like < and <.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
Post Reply