SlideShare une entreprise Scribd logo
1  sur  40
Chapter 1 Sets and Logic 2008 학년도  2 학기 고려대학교 과학기술대학 컴퓨터 정보학과
1.1  Sets ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Symbol Set R Set of all REAL numbers Z Set of all INTEGERs Q Set of all RATIONAL numbers superscript indicate + Positive - Negative nonneg nonnegative
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Cardinality &Empty Set A  = {1, 2, 3, 4} , |A| = ? |{R, Z}| = ?
[object Object],[object Object],[object Object],Equal Two sets X and Y are  equal  if X and Y have the same elements. X = Y  if  for every  x , if  x   ∈ X, then  x  ∈ Y and for every  y , if  y   ∈ Y, then  y  ∈ X A = {1, 3, 2}, B = {2, 3, 2, 1}. A = B ? Let us prove that if  A  = { x  |  x 2  + x – 6 = 0 }  and  B  = {2, -3} Then  A = B .
Subset ,[object Object],If  A  and  B  are sets, then  A  is called a  subset  of  B , written  A⊆ B , If, and only if, every element of  A  is also an element of  B . Symbolically : A  ⊆  B  ⇔ ∀ x , if  x  ∈  A  then  x  ∈  B. The phrases  A   is contained in B  and B  contains  A are alternative ways of saying  that A is a subset of B. A set  A  is not a subset of a set  B , written  A  ⊆  B,  if, and only if,  there is  at least one element  of  A  that is not an element of  B . Symbolically : ,[object Object]
[object Object],[object Object],[object Object],Subset Z ⊆  Q ? Let X  = { x  | 3 x 2  – x – 2 = 0 }. X ⊆  Z ? C = {1, 3}, B = {1, 2, 3, 4}. C ⊆ A ?
Proper Subset ,[object Object],[object Object],[object Object],Let  A  and  B  be sets. A  is a  proper subset  of  B , if, and only if, every element of  A  is in  B but there is at least one element of  B  that is not  A . A B A = B A B A B B A A B A = B A ⊆ B A ⊆ B A⊂ B
Power Set ,[object Object],[object Object],Given a set  A , the  power set  of  A , denoted  P(A), is set of all subsets of  A   Find the power set of the set A ={ a, b, c }. That is, find  P ( A) . P ( A ) = ,[object Object],For all integers  n   ≥ 0, if a set  X  has n elements, then  P(X ) has 2 n  elements
Set Operations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],A ={1, 3, 5}, B = {4, 5, 6} A ∪ B = A ∩ B = A – B = B – A = Since Q ⊆ R, R ∪ Q = R ∩ Q = R – Q = Q – R = ,[object Object]
Disjoint ,[object Object],[object Object],Two sets are called  disjoint  if, and only if, they have no elements in  common. Symbolically : A and B are disjoint ⇔ A ∩ B = Φ - {1, 4, 5} and {2, 6} - S = {{1, 4, 5,}, {2, 6}, {3}, {7, 8}}
Set Operations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Set Identity ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Set Identity ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],For  i  ≥ 1, define A i  = { i, i+1 , … }  and  S  = { A 1 , A 2 , …, A n }. Then,    and  ?
Partition of sets ,[object Object],[object Object],[object Object],Sets  A 1 , A 2 , A 3 , …, A n  are  mutually disjoint  if, and only if, no two sets  A i  and  A j  with distinct subscripts have any elements in common. More precisely, for all  i, j  =  1, 2, 3, …, n, A i   ∩  A j   =  Φ  whenever  i ≠  j ,[object Object],[object Object],[object Object],A 1 A 2 A 3 … A n
Cartesian product ,[object Object],[object Object],[object Object],[object Object],Let  n  be a positive integer and let  x 1 , x 2 ,  x 3 , … x n  be elements.  The  ordered n-tuple , (  x 1 , x 2 , x 3 , … x n  ), consists of x 1 , x 2 , x 3 , …, x n  together with the ordering. An ordered 2-tuple is called an  ordered pair ; and an ordered 3-tuples is called an  ordered triple . Two ordered n-tuples (  x 1 , x 2 , x 3 , …, x n  ) and (  y 1 , y 2 , y 3 , …, y n  ) are   equal   if, and only if,  x 1  = y 1 , x 2  = y 2 , x 3  = y 3 , …, x n  = y n . Symbolically :  ( x 1 , x 2 , x 3 , …, x n  ) = ( y 1 , y 2 , y 3 , …, y n  )  ⇔  x 1  = y 1 , x 2  = y 2 , x 3  = y 3 , …, x n  = y n
Cartesian product ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Given two sets  A  and  B , the  Cartesian Product   of  A  and  B , denote  A × B ( read “ A cross B ” ), is the set of all ordered pairs  ( a, b ),  where  a  is in  A  and  b  is in  B . Given  A 1  × A 2  × A 3 , …, × A n , is the set of all ordered n-tuples (  a 1 , a 2 , a 3 , …, a n  ) where  a 1   ∈  A 1 ,  a 2  ∈  A 2 ,  a 3  ∈  A 3 , …,  a n  ∈  A n  .  Symbolically : A × B = { ( a, b ) | a ∈ A and b ∈ B }, A 1  × A 2  × A 3  ×… × A n  =  { (  a 1 , a 2 , a 3 , …, a n  ) |  a 1   ∈  A 1 ,  a 2  ∈  A 2 ,  a 3   ∈  A 3 , …,  a n  ∈  A n  }.
Logic ,[object Object],[object Object],[object Object],[object Object]
1.2 Propositions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],A  proposition  ( 명제 ) is a statement or sentence that can be determined to be either true or false  but not both
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Propositions
Connectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conjunction(  ) ,[object Object],[object Object],If p : It is raining q : It is cold then what is the conjunction of  p  and  q  ? p q p    q T T T T F F F T F F F F
[object Object],[object Object],If p : A decade is 10 years q : A millennium is 100 years then what is the conjunction of  p  and  q  ? Is it true or false? x < 10  &&  y > 4
Disjunction(  ) ,[object Object],[object Object],[object Object],If p : A millennium is 100 years q:  A millennium is 1000 years then what is the disjunction of  p  and  q  ? Is it true or false? x  < 10  ||  y   > 4 p q p  v  q T T T T F T F T T F F F
Exclusive OR ,[object Object],[object Object],p q p ∨ q p ∧ q ~(p ∧ q) ( p ∨ q ) ∧ ~ ( p ∧ q ) T T T T F F T F T F T T F T T F T T F F F F T F
Logical connectives in C programs [Ex] int i, j; i = 2 && ( j = 2 ); printf(“%d %d”, i, j); /* 1 2 is printed */ ( i = 0 ) && ( j = 3 ); printf(“%d %d”, i, j); /* 0 2 is printed */ i = 0 || ( j = 4 ); printf(“%d %d”, i, j); /* 1 4 is printed */ ( i = 2 ) || ( j = 5 ); printf(“%d %d”, i, j); /* 2 4 is printed */
Negation(  ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],  ! (  x  <  10) p  p T F F T
More compound statements ,[object Object],[object Object],[object Object],p q r p ∧ q    r ( p ∧ q ) ∨    r T T T T F T T T F T T T T F T F F F T F F F T T F T T F F F F T F F T T F F T F F F F F F F T T
1.3  Conditional propositions and logical equivalence ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Implication(  ) ,[object Object],p    q is true when both p and q are true or when p is false true by default  or vacuously true p q p    q T T T T F F F T T F F T
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Implication ,[object Object]
Implication ,[object Object],[object Object],[object Object],A  necessary condition  is expressed by the conclusion. A  sufficient condition  is expressed by the hypothesis.
Double Implication(  ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],p q p -> q q -> p ( p -> q )∧( q -> p ) p ↔ q T T T T T T T F F T F F F T T F F F F F T T T T
Logical Equivalence  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Logical Equivalence ,[object Object],Rewrite the following statement in if-then form Either you get to work on time or you are fired. ,[object Object],p q p -> q ~p  ~p ∨ q T T T F T T F F F F F T T T T F F T T T
Logical Equivalence ,[object Object],[object Object],[object Object],[object Object],[object Object],If Jerry receives a scholarship, then he goes to college ,[object Object],[object Object],[object Object],[object Object]
Contrapositive ,[object Object],The  contrapositive( 대우 )   of p -> q is ~ q -> ~ p If the network is down, then Dale cannot access the Internet ,[object Object],The conditional statement and its contrapositive are logically equivalent ,[object Object],p q p -> q ~q ~p ~q -> ~p T T T F F T T F F T F F F T T F T T F F T T T T
Converse & Inverse ,[object Object],[object Object],[object Object],[object Object],The  converse( 역 )  of p -> q is  q -> p The  inverse( 이 )  of  p -> q is ~ p -> ~ q p q p -> q q -> p ~p ~q ~p -> ~q T T T T F F T T F F T F T T F T T F T F F F F T T T T T
Tautology & Contradiction 합성 명제의 진리값이 항상  T 인 명제 ,  즉 ,  합성명제를 구성하고 있는 단순명제들의 진리값에 상관없이 항상  T 의 진리값을 가진 명제  합성명제의 진리값이 항상  F 인 명제 ,  즉 ,  합성명제를 구성하고 있는 단순명제들의 진리값에 상관없이 항상  F 의 진리값을 가진 명제 ,[object Object],[object Object]
Tautology & Contradiction ,[object Object],[object Object],[object Object],Contradiction Tautology ,[object Object],p t p ∧ t T T T F T F p c p ∧ c T F F F F F p ~p p ∨ ~p p ∧ ~p T F T F F T T F

Contenu connexe

Tendances

Tendances (20)

Learn Set Theory
Learn Set TheoryLearn Set Theory
Learn Set Theory
 
Sets and Functions By Saleh ElShehabey
Sets and Functions By Saleh ElShehabeySets and Functions By Saleh ElShehabey
Sets and Functions By Saleh ElShehabey
 
1. set theory
1. set theory1. set theory
1. set theory
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 
Set theory-ppt
Set theory-pptSet theory-ppt
Set theory-ppt
 
Sets
SetsSets
Sets
 
Sets and Subsets
Sets and SubsetsSets and Subsets
Sets and Subsets
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)
 
Set theory
Set theory Set theory
Set theory
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theory
 
Set theory
Set theorySet theory
Set theory
 
Sets Part I The Basics
Sets Part I   The BasicsSets Part I   The Basics
Sets Part I The Basics
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theory
 
Set, Relations and Functions
Set, Relations and FunctionsSet, Relations and Functions
Set, Relations and Functions
 
types of sets
types of setstypes of sets
types of sets
 
Set Theory
Set TheorySet Theory
Set Theory
 
Discreet_Set Theory
Discreet_Set TheoryDiscreet_Set Theory
Discreet_Set Theory
 
2.1 Sets
2.1 Sets2.1 Sets
2.1 Sets
 
SETS [Algebra]
SETS [Algebra]SETS [Algebra]
SETS [Algebra]
 
CBSE Class X - Mathematics Set Theory Topic
CBSE Class X  - Mathematics Set Theory TopicCBSE Class X  - Mathematics Set Theory Topic
CBSE Class X - Mathematics Set Theory Topic
 

Similaire à Ch1 sets and_logic(1)

Set and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNSet and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNbaberexha
 
SETS - Vedantu.pdf
SETS - Vedantu.pdfSETS - Vedantu.pdf
SETS - Vedantu.pdfAneeshRenu
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operationsallyn joy calcaben
 
Sets functions-sequences-exercises
Sets functions-sequences-exercisesSets functions-sequences-exercises
Sets functions-sequences-exercisesRoshayu Mohamad
 
Answers Of Discrete Mathematics
Answers Of Discrete MathematicsAnswers Of Discrete Mathematics
Answers Of Discrete MathematicsSabrina Green
 
Relation function
Relation functionRelation function
Relation functionmentorsnet
 
Relation function
Relation functionRelation function
Relation functionBiswa Nayak
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfMaryAnnBatac1
 
Mathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfMathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfgowhiksankar54
 
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualDiscrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualTallulahTallulah
 
schaums-probability.pdf
schaums-probability.pdfschaums-probability.pdf
schaums-probability.pdfSahat Hutajulu
 
sets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptxsets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptxZenLooper
 
Bba i-bm-u-1.2 set theory -
Bba i-bm-u-1.2 set theory  - Bba i-bm-u-1.2 set theory  -
Bba i-bm-u-1.2 set theory - Rai University
 

Similaire à Ch1 sets and_logic(1) (20)

Set and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNSet and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUN
 
SETS - Vedantu.pdf
SETS - Vedantu.pdfSETS - Vedantu.pdf
SETS - Vedantu.pdf
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
Mtk3013 chapter 2-3
Mtk3013   chapter 2-3Mtk3013   chapter 2-3
Mtk3013 chapter 2-3
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operations
 
Sets functions-sequences-exercises
Sets functions-sequences-exercisesSets functions-sequences-exercises
Sets functions-sequences-exercises
 
Sets.pdf
Sets.pdfSets.pdf
Sets.pdf
 
SETS
SETSSETS
SETS
 
Answers Of Discrete Mathematics
Answers Of Discrete MathematicsAnswers Of Discrete Mathematics
Answers Of Discrete Mathematics
 
Relation function
Relation functionRelation function
Relation function
 
Relation function
Relation functionRelation function
Relation function
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdf
 
Mathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfMathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdf
 
4898850.ppt
4898850.ppt4898850.ppt
4898850.ppt
 
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualDiscrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
 
schaums-probability.pdf
schaums-probability.pdfschaums-probability.pdf
schaums-probability.pdf
 
01_Sets.pdf
01_Sets.pdf01_Sets.pdf
01_Sets.pdf
 
FUZZY LOGIC
FUZZY LOGICFUZZY LOGIC
FUZZY LOGIC
 
sets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptxsets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptx
 
Bba i-bm-u-1.2 set theory -
Bba i-bm-u-1.2 set theory  - Bba i-bm-u-1.2 set theory  -
Bba i-bm-u-1.2 set theory -
 

Dernier

social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

Dernier (20)

social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

Ch1 sets and_logic(1)

  • 1. Chapter 1 Sets and Logic 2008 학년도 2 학기 고려대학교 과학기술대학 컴퓨터 정보학과
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. Logical connectives in C programs [Ex] int i, j; i = 2 && ( j = 2 ); printf(“%d %d”, i, j); /* 1 2 is printed */ ( i = 0 ) && ( j = 3 ); printf(“%d %d”, i, j); /* 0 2 is printed */ i = 0 || ( j = 4 ); printf(“%d %d”, i, j); /* 1 4 is printed */ ( i = 2 ) || ( j = 5 ); printf(“%d %d”, i, j); /* 2 4 is printed */
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.