{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture 2 - Introduction to Sets

# Lecture 2 - Introduction to Sets - Lecture 2 Introduction...

This preview shows pages 1–7. Sign up to view the full content.

Lecture 2 Introduction To Sets CSCI – 1900 Mathematics for Computer Science Fall 2009 Bill Pine

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
19 June 2009 CSCI 1900 Lecture 2 - 2 Lecture Introduction Reading Kolman - Section 1.1 Set Definition and Notation Set Description and Membership Power Set and Universal Set Venn Diagrams
19 June 2009 CSCI 1900 Lecture 2 - 3 Set Definition Set : any well-defined collection of objects. Well-defined - membership can be verified with a Yes/ No answer Three means of describing a set Describe in English S = The letters a through k Enumerate using { } ‘Curly Braces’ S = {a, b, c, d, e, f, g, h, i, j, k} Specify the Properties that the members have in common S = { x | x is a lower case letter between a and k, inclusively}

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
19 June 2009 CSCI 1900 Lecture 2 - 4 Set Description Examples Star Wars films S = {car, cat, c++} {a,e,i,o,u,y} The 8 bit ASCII character set Good SciFi Films S = { 1, car, cat, 2.03, …} The capital letters of the alphabet Good Bad
19 June 2009 CSCI 1900 Lecture 2 - 5 Finite Set Examples Coins C = {Penney, Nickel, Dime, Quarter, Fifty- Cent, Dollar} Data types D = {Text, Integer, Real Number} A special set is the empty set, denoted by Ø { }

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
19 June 2009 CSCI 1900 Lecture 2 - 6 Infinite Set Examples The Positive Integers Z + { 1, 2, 3, …} The Natural Numbers N (Also called counting numbers) { 0, 1, 2, 3, …} The Integers Z = Z = { …, -3, - 2, -1, 0, 1, 2, 3, …} The Real Numbers
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 23

Lecture 2 - Introduction to Sets - Lecture 2 Introduction...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online