Lecture 2 - Introduction to Sets

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

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

View Full Document Right Arrow Icon
Lecture 2 Introduction To Sets CSCI – 1900 Mathematics for Computer Science Fall 2009 Bill Pine
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
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}
Background image of page 3

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

View Full DocumentRight Arrow Icon
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
Background image of page 4
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 Ø { }
Background image of page 5

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

View Full DocumentRight Arrow Icon
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
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/02/2009 for the course CSCI 1900-201 taught by Professor Billpine during the Spring '09 term at East Tennessee State University.

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 Right Arrow Icon
Ask a homework question - tutors are online