1 / 14

Conditional statements

Conditional statements. Lesson 2.3. Conditional Statements. KEYWORDS Conditional statement – a statement that can be written in “if…then…” form. If-then statement – the form “ if p, then q ”, or “ p implies q ” Hypothesis – the phrase immediately following the word “ if ”

redell
Download Presentation

Conditional statements

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Conditional statements Lesson 2.3

  2. Conditional Statements • KEYWORDS • Conditional statement – a statement that can be written in “if…then…” form. • If-then statement – the form “if p, then q”, or “p implies q” • Hypothesis – the phrase immediately following the word “if” • Conclusion - the phrase immediately following the word “then”

  3. Conditional Statements • For example: • If you had a statement… • If the forecast is rain, then I will take an umbrella. • The hypothesis: • The conclusion:

  4. Conditional Statements • For example: • If you had a statement… • A number is divisible by 10 if its last digit is a 0. • Hypothesis: • Conclusion:

  5. Conditional Statements • But, what if the statement didn’t have “if…then…” in it? • For example: • The statement might read: “Points will be deducted from any paper turned in after Wednesday’s deadline. • In this case, the hypothesis is: paper turned in after Wednesday’s deadline. The conclusion is: points will be deducted.

  6. Conditional Statements • Practice: (you write the conditional) • Hypothesis: An animal is a mammal • Conclusion: It is warm-blooded • Hypothesis: A prism has bases that are regular polygons. • Conclusion: It is a regular prism

  7. Conditional Statements • The hypothesis and the conclusion of a conditional statement can have a truth value of true or false, as can the conditional statement itself. Consider the following conditional.

  8. Conditional Statements • If Tom finishes his homework, then he will clean his room.

  9. Conditional Statements • In the last two: The conditional only indicates what will happen if Tom DOES finish his homework. It never states what will happen if he DOESN’T do his homework. He could clean his room or not clean his room if he does not finish his work. • When the hypothesis of a conditional is not met, the truth of a conditional cannot be determined. When the truth of a conditional statement cannot be determined, it is considered TRUE by default.

  10. Conditional Statements Notice that a conditional is false ONLY when its hypothesis is true and its conclusion is false. Notice too that when a hypothesis if false, the conditional will ALWAYS be considered true, regardless of whether the conclusion is true of false

  11. Conditional Statements • Determine the truth value for each statement: • If you divide an integer by another integer, the result is also an integer.

  12. Conditional Statements • Determine the truth value for each statement: • If a triangle has four sides, then it is concave.

  13. Conditional Statements

  14. Conditional Statements

More Related