You are Here: Home

# Can anyone doing A Level Computing help me with De Morgan's Law? watch

1. I didn't get the class explanation of it and none of the online explanations make sense to me. Does anyone know of any good resources for it?

This is the sort of stuff I'm finding online, but it doesn't make any sense to me:
Code:
`In propositional logic and boolean algebra this law conformed of a pair of transformational rules that are both solid and valid rules of inference, these rules allow for the expression of conjunctions and disjunctions purely in terms of eachother via negation.`
2. Nevermind, I found a good video for it here https://www.youtube.com/watch?v=gkPUBCaLiJE. It's for the AQA spec rather than OCR but only the notation is different. See:
3. "not (A or B)" is the same as "(not A) and (not B)".

Say if your a programmer writing the next gen Zoo simulation game you might have a rule that says:
Dont pet oscar if hes hungry or angry.

You could write the code like:
if (oscarIsNotAngry and oscarisNotHungry)
pet()

or
if( !(oscarIsAngry or oscarIsHungry))
pet()

Because demorgans law says they are the same.
4. (Original post by oscarandjo)
I didn't get the class explanation of it and none of the online explanations make sense to me. Does anyone know of any good resources for it?

This is the sort of stuff I'm finding online, but it doesn't make any sense to me:
Code:
`In propositional logic and boolean algebra this law conformed of a pair of transformational rules that are both solid and valid rules of inference, these rules allow for the expression of conjunctions and disjunctions purely in terms of eachother via negation.`
https://en.wikibooks.org/wiki/A-leve...organ%27s_Laws

This resource helped me so much. They explain it about 3 different ways include a logic table proof and practice questions with explained answers.

Nothing else explains it as well. Good luck!

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: March 3, 2016
Today on TSR

Will it ever be possible?

### University open days

1. University of Cambridge
Wed, 26 Sep '18
2. Norwich University of the Arts
Fri, 28 Sep '18
3. Edge Hill University
Faculty of Health and Social Care Undergraduate
Sat, 29 Sep '18
Poll
Useful resources

Can you help? Study Help unanswered threadsStudy Help rules and posting guidelines

## Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE