SlideShare a Scribd company logo
1 of 5
Logic Operators
Logical Operators:
• In logic, a logical operators (also called a logical connectives) is a symbol or
word used to connect two or more sentences in a grammatically valid way.
Types of logical Operators:
• Negation • Conjunctions • Disjunctions • Conditional • Bi-conditional;
Negation:
 • Changing a statement so that it has the opposite meaning and truth
values • Also known as “Not” • The symbol for negation is ‘~’
 Example:
 P: There is snow on the ground ~P: There is not snow on the ground
Conjunctions:
 • A proposition that presents two or more alternative terms, with the
assertion that both are true. • Also known as And. • symbol that we use is
‘^’ (Looks like an A without the middle line – ).
 Example:
 – P: I found $5
 – Q: I crashed my car into a telephone pole
 – P^Q: I found $5 AND I crashed my car into a telephone pole.
. Disjunctions:
• A proposition that presents two or more alternative terms, with the
assertion that at least one is true. • Also known as “Or” • symbol that we
use is ‘V’
• Example:
– P: The number 3 is odd
– Q: 57 is a prime number
– PVQ: The number 3 is odd OR 57 is a prime number.
Conditionals:
• An conditional is only false when the first statement is true and the
second one is false, otherwise it is true. • Also known as an “If-Then”
Statement • An Conditional for statements P and Q is denoted P=> Q • An
Conditional is read either “If P, then Q” or “P implies Q”
• Example: If you brush every day, you probably won’t get cavities or
Bi-conditional:
• Bi-conditionals are true when both statements have the exact same truth
value. • Also known as “ If and only If ” • An Biconditional for statement
P and Q is denoted by P<=> Q • An Bi-conditional is read “P if and only
if Q”
• Example: The candidate becomes president if and only if he wins the
election

More Related Content

More from Laiba Yaseen

Social Networking Sites and Terminologies
Social Networking Sites and TerminologiesSocial Networking Sites and Terminologies
Social Networking Sites and Terminologies
Laiba Yaseen
 

More from Laiba Yaseen (20)

Transitivity Analysis
Transitivity AnalysisTransitivity Analysis
Transitivity Analysis
 
Social Networking Sites and Terminologies
Social Networking Sites and TerminologiesSocial Networking Sites and Terminologies
Social Networking Sites and Terminologies
 
Sense Relations
Sense RelationsSense Relations
Sense Relations
 
Sense Relation & Semantic
Sense Relation & SemanticSense Relation & Semantic
Sense Relation & Semantic
 
Semantic Priming
Semantic PrimingSemantic Priming
Semantic Priming
 
Print Media
Print MediaPrint Media
Print Media
 
Pragmatic Development
Pragmatic DevelopmentPragmatic Development
Pragmatic Development
 
Politeness & Interaction
Politeness & InteractionPoliteness & Interaction
Politeness & Interaction
 
Point of View
Point of ViewPoint of View
Point of View
 
Phonological and Phonetic Features of Pakistani English
Phonological and Phonetic Features of Pakistani EnglishPhonological and Phonetic Features of Pakistani English
Phonological and Phonetic Features of Pakistani English
 
Pakistan Film Industry
Pakistan Film IndustryPakistan Film Industry
Pakistan Film Industry
 
Organizational Structure of Television
Organizational Structure of TelevisionOrganizational Structure of Television
Organizational Structure of Television
 
Oedipus Rex as a Tragic Hero
Oedipus Rex as a Tragic HeroOedipus Rex as a Tragic Hero
Oedipus Rex as a Tragic Hero
 
Love Tale Orpheus & Eurydice
Love Tale Orpheus & EurydiceLove Tale Orpheus & Eurydice
Love Tale Orpheus & Eurydice
 
Washback effect of a Test
Washback effect of a TestWashback effect of a Test
Washback effect of a Test
 
Authenticity and Objectivity of a Test
Authenticity and Objectivity of a TestAuthenticity and Objectivity of a Test
Authenticity and Objectivity of a Test
 
Validity of Test
Validity of TestValidity of Test
Validity of Test
 
Approaches to DA
Approaches to DA Approaches to DA
Approaches to DA
 
Language Teaching and Learning DDL Corpora.pptx
Language Teaching and Learning DDL Corpora.pptxLanguage Teaching and Learning DDL Corpora.pptx
Language Teaching and Learning DDL Corpora.pptx
 
Language Teaching & Learning
Language Teaching & LearningLanguage Teaching & Learning
Language Teaching & Learning
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
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
 
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 khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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 ...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
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
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 

LOGICAL OPERATOR

  • 2. Logical Operators: • In logic, a logical operators (also called a logical connectives) is a symbol or word used to connect two or more sentences in a grammatically valid way. Types of logical Operators: • Negation • Conjunctions • Disjunctions • Conditional • Bi-conditional;
  • 3. Negation:  • Changing a statement so that it has the opposite meaning and truth values • Also known as “Not” • The symbol for negation is ‘~’  Example:  P: There is snow on the ground ~P: There is not snow on the ground Conjunctions:  • A proposition that presents two or more alternative terms, with the assertion that both are true. • Also known as And. • symbol that we use is ‘^’ (Looks like an A without the middle line – ).  Example:  – P: I found $5  – Q: I crashed my car into a telephone pole  – P^Q: I found $5 AND I crashed my car into a telephone pole.
  • 4. . Disjunctions: • A proposition that presents two or more alternative terms, with the assertion that at least one is true. • Also known as “Or” • symbol that we use is ‘V’ • Example: – P: The number 3 is odd – Q: 57 is a prime number – PVQ: The number 3 is odd OR 57 is a prime number. Conditionals: • An conditional is only false when the first statement is true and the second one is false, otherwise it is true. • Also known as an “If-Then” Statement • An Conditional for statements P and Q is denoted P=> Q • An Conditional is read either “If P, then Q” or “P implies Q” • Example: If you brush every day, you probably won’t get cavities or
  • 5. Bi-conditional: • Bi-conditionals are true when both statements have the exact same truth value. • Also known as “ If and only If ” • An Biconditional for statement P and Q is denoted by P<=> Q • An Bi-conditional is read “P if and only if Q” • Example: The candidate becomes president if and only if he wins the election