Lecture 10 Flashcards

1
Q

Boolean logic is named after which person?

A

George Boole

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What boolean value is represented by the number 0?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What boolean value is represented by the number 1?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which operator does ‘^’ represent?

A

AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which operator does ‘v’ represent?

A

OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

AND is also known as ‘conjuction’, or ‘disjunction’?

A

Conjunction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

OR is also known as ‘conjuction’, or ‘disjunction’?

A

Disjunction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the full name of XOR?

A

Exclusive OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What operator does ‘¬’ represent?

A

NOT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which operators have higher precedence?

Unary, or Binary

A

Unary (generally)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is ‘¬’ a unary or binary operator?

A

Unary. It operates on one operand.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Express XOR using only AND, OR, and NOT.

A

(A ^ ¬B) v (¬A ^ B)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What symbol represents the ‘implication’ operator?

A

->, =>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the only set of input values which will make A -> B false?

A

A is True, B is False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Express -> using only OR and ¬.

A

¬A v B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Express using only AND, NOT, and OR.

A

(A ^ B) v (¬A ^ ¬B)