Please enable JavaScript to use CodeHS

AP Computer Science A (Mocha)

Lesson 2.14 De Morgan's Laws

Description

De Morgan?s Laws are rules that show how we can negate ?and?s and ?or?s. Not (A and B) is the same as (not A) or (not B). Similarly, not (A or B) is the same as (not A) and (not B).


Objective

Students will be able to…

  • Explain what De Morgan’s Laws are
  • Use De Morgan’s Laws to negate an OR statement
  • Use De Morgan’s Laws to negate an AND statement