## Dis-junction (∨) vel

If (p) and (q) both are false then (p v q) becomes false, otherwise (p v q) is true (T)

p | q | p v q |
---|---|---|

T | T | T |

F | F | F |

T | F | T |

F | T | T |

If (p) and (q) both are false then (p v q) becomes false, otherwise (p v q) is true (T)

p | q | p v q |
---|---|---|

T | T | T |

F | F | F |

T | F | T |

F | T | T |

No | Connectives | Meaning | Symbol | Called | C++ Operators |
---|---|---|---|---|---|

1 | Nagation | not | ˜ | Tilde | ! |

2 | Congunction | and | ˄ | Hat | && |

3 | Disjunction | or | ˅ | Vel | || |

4 | Conditional | if - then | → | Arrow | if else |

5 | Biconditional | if and only if | ↔ | Double Arrow |

A truth table contain the truth value T and F.

if (p) is a statement then its nagation is (~p), if (p) is false its truth value become (~p) is true.

P | ~p |
---|---|

T | F |

F | T |

If (p) and (q) are statement then the conjunction is (p^q) and it is true when both (p) and (q) are true.

If either (p) or (q) are false and if both are false the result of (p^q) is false.

p | q | p^q |
---|---|---|

T | T | T |

F | F | F |

T | F | F |

F | T | F |

**Statement: **Statement is the meaning of sentence we can understand.

**Sentence: **If we can not understand the meaning of given sentence is called simple sentence.

**Compound Sentence:** Two or more statement join to each other makes a new compound statement.

For-examples:

Statement:

- 2+4 = 6
- Mazar e Sharif is a city.
- Today is hot.
- 3+5 = 20

Sentence:

- Close the door.
- x+y = 6
- Open the door.

Compound Statement:

- Mazar is a city and 2 plus 3 is equal to 5.
- Ali is an intelligent boy and he is 15 years old.

## Leave a Reply