Logic Operators-Computer Programming For Aeronautical Engineering And Sciences-Lecture Slides, Slides of Aeronautical Engineering

Prof. Balamohan Pawar delivered this lecture at Allahabad University for Aeronautical Engineering and Computer Programming course. Its main points are: Operator, Logical, Programming, And, Xor, Truth, Table, Opposite, Equivalent

Typology: Slides

2011/2012

Uploaded on 07/20/2012

savitha_48
savitha_48 🇮🇳

3

(1)

109 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Lecture C19
Response to 'Muddiest Part of the Lecture Cards'
(9 respondents)
1) Is the an “and/or” or an “xor”?
represents an OR.
2) Say ¬A ¬B, does this mean A and B must be opposites, that is:
0 0 0 1 1
1 1 0 0 1
1 0 1 1 0
0 1 1 0 0
¬
A ¬B
¬
B¬ A
B
¬
No, it does not. There is a mistake in the truth table. ¬A ¬B has the value 1 when both
A and B equals 0.
0 0 0 1 1
1 1 0 0 1
1 0 1 1 0
1 1 1 0 0
¬
A ¬B
¬
B
¬ A
B
docsity.com
pf2

Partial preview of the text

Download Logic Operators-Computer Programming For Aeronautical Engineering And Sciences-Lecture Slides and more Slides Aeronautical Engineering in PDF only on Docsity!

Lecture C

Response to 'Muddiest Part of the Lecture Cards'

(9 respondents)

  1. Is thean “and/or” or an “xor”?

∨ represents an OR.

  1. Say ¬A∨ ¬B, does this mean A and B must be opposites, that is:

¬ A ¬ B ¬A∨ ¬B

B

No, it does not. There is a mistake in the truth table. ¬A∨ ¬B has the value 1 when both

A and B equals 0.

¬ A ¬ B ¬A∨ ¬B

B

docsity.com

  1. Are these equivalent: ¬∀x(N(x) ∧R(x)) ∀x(¬N(x) Æ ¬R(x))?

No they are not.

The first term can be rewritten as: ∃x (¬N(x)∧ ¬R(x))

And the second term can be rewritten as: ∀x (N(x) ∨ ¬R(x))

  1. No mud, cool stuff, etc. (4 students)

docsity.com