2 - Logical Operators Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does 1 represent?

A

TRUE

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

What does 0 represent?

A

FALSE

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

What does the operation OR do?

A

Takes two inputs and outputs 1 (true) if either is true

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

What does the operation AND do?

A

Takes two inputs and outputs 1 (true) if both are true

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

What does the operation NOT do?

A

Takes one input and outputs the opposite value

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

What does the operation XOR do?

A

Takes two inputs and outputs 1 if only one of the inputs is true

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

What is the Order of Precedence in boolean algebra? (Highest first)

A

Brackets
NOT
XOR
AND
OR

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

What does A + 0 simplify to?

A

A + 0 simplifies into just A

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

What does A + 1 simplify to?

A

A + 1 simplifies to just 1

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

What does A + A simplify to?

A

A + A simplifies to just A

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

What does A + Ā simplify to?

A

A + Ā will always = 1

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

What does A.0 simplify to?

A

A.0 simplifies to 0

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

What does A.1 simplify to?

A

A.1 simplifies to A

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

What does A.A simplify to?

A

A.A simplifies to A

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

What does A.Ā simplify to?

A

A.Ā simplifies to 0

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