SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Mais procurados (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
 

Semelhante a 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 functionBiswa Nayak
 
Relation function
Relation functionRelation function
Relation functionmentorsnet
 
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
 
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
 

Semelhante a 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
 
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 -
 
Sets
SetsSets
Sets
 

Último

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 

Último (20)

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 

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.