ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
DAFFODIL INTERNATIONAL UNIVERSITY
Department: Software Engineering
Course: Discrete Mathematics
ASSIGNMENT
Submitted To
Nazia Nishat
Lecturer
Daffodil International University
Submitted By
Md. Ashiqur Rahman
ID:152-35-1264
Section: C
Daffodil International University
Submission Date:25-October-2016
AND ( )∧ − The AND operation of two propositions is true if both the
propositional variable is true. Its a binary variable.
Lets say,
P: Today is Friday.
Q: It’s raining outside.
P Q:Today is Friday an it’s raining outside.∧
P Q P Q∧
F F F
F T F
T F F
T T T
OR ( )∨ − The OR operation of two propositions A and B (written as A B) is∨
true if at least any of the propositional variable A or B is true. It’s also a binary
variable.
Lets’s say,
A:Today is friday.
B:It’s raining outside.
A B:Today is Friday or it’s raining outside.∨
A B A B∨
F F F
F T T
T F T
T T T
XOR: The XOR operation of two propositions is true if one of the
propositional variable is true. Here Both can’t be true.
Let’s Say,
P:Winner will get a laptop.
Q:Winner will get an Iphone.
P(+)Q:Winner will get a laptop or an Iphone.
P Q P XOR Q
F F F
F T T
T F T
T T F
Conditional Statement: Conditional statement is also called as implications.
Form of conditional statement is if P then Q.
Let’s Say,
P:It is raining and
Q:We will not play.
P→Q: It is raining and we will not play.
P Q P->Q
F F T
F T T
T F F
T T T
Biconditional Statement: A biconditional statement is defined to be true
whenever both parts have the same truth value.
Let’s Say,
P: He attend all classes.
Q:He will get bonus mark.
P<->Q:He will get bonus mark if and only if he attend all the classes.
P Q P<->Q
F F T
F T F
T F F
T T T

More Related Content

AND | OR |XOR | Conditional | Bi-condtional

  • 1. DAFFODIL INTERNATIONAL UNIVERSITY Department: Software Engineering Course: Discrete Mathematics ASSIGNMENT Submitted To Nazia Nishat Lecturer Daffodil International University Submitted By Md. Ashiqur Rahman ID:152-35-1264 Section: C Daffodil International University Submission Date:25-October-2016
  • 2. AND ( )∧ − The AND operation of two propositions is true if both the propositional variable is true. Its a binary variable. Lets say, P: Today is Friday. Q: It’s raining outside. P Q:Today is Friday an it’s raining outside.∧ P Q P Q∧ F F F F T F T F F T T T OR ( )∨ − The OR operation of two propositions A and B (written as A B) is∨ true if at least any of the propositional variable A or B is true. It’s also a binary variable. Lets’s say, A:Today is friday. B:It’s raining outside. A B:Today is Friday or it’s raining outside.∨ A B A B∨ F F F F T T T F T T T T XOR: The XOR operation of two propositions is true if one of the propositional variable is true. Here Both can’t be true. Let’s Say, P:Winner will get a laptop. Q:Winner will get an Iphone. P(+)Q:Winner will get a laptop or an Iphone.
  • 3. P Q P XOR Q F F F F T T T F T T T F Conditional Statement: Conditional statement is also called as implications. Form of conditional statement is if P then Q. Let’s Say, P:It is raining and Q:We will not play. P→Q: It is raining and we will not play. P Q P->Q F F T F T T T F F T T T Biconditional Statement: A biconditional statement is defined to be true whenever both parts have the same truth value. Let’s Say, P: He attend all classes. Q:He will get bonus mark. P<->Q:He will get bonus mark if and only if he attend all the classes. P Q P<->Q F F T F T F T F F T T T