Binary, denary and hexadecimal Flashcards

(26 cards)

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

What is Boolean logic?

A

A form of algebra in which all values are reduced to either true or false.

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

True or False: In Boolean logic, the value of a variable can be both true and false at the same time.

A

False

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

Fill in the blank: The basic operations of Boolean logic are AND, OR, and ____.

A

NOT

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

What does the AND operator do in Boolean logic?

A

It returns true only if both operands are true.

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

True or False: The NOT operator inverts the value of its operand.

A

True

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

What is the outcome of the expression TRUE AND FALSE?

A

FALSE

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

What is the outcome of the expression TRUE OR FALSE?

A

TRUE

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

What is the result of NOT TRUE?

A

FALSE

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

True or False: In Boolean logic, the expression A AND NOT A is always TRUE.

A

False

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

What is a truth table?

A

A table that shows all possible truth values for a set of Boolean variables.

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

Fill in the blank: In Boolean algebra, the expression A OR A is equivalent to ____.

A

A

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

What is the result of the expression (A OR B) AND (A OR NOT B)?

A

A

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

True or False: The expression A AND B is associative.

A

True

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

What is De Morgan’s Theorem?

A

It states that NOT (A AND B) is equivalent to (NOT A) OR (NOT B) and NOT (A OR B) is equivalent to (NOT A) AND (NOT B).

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

What does the XOR operator do?

A

It returns true if one operand is true and the other is false.

17
Q

Which of the following is a property of Boolean addition? A) Commutative B) Non-commutative

A

A) Commutative

18
Q

Fill in the blank: In Boolean logic, TRUE is represented by ____ and FALSE is represented by ____.

19
Q

What is the result of the expression A AND (B OR C)?

A

A AND B OR A AND C (distributive law)

20
Q

True or False: In Boolean logic, A OR NOT A always equals TRUE.

21
Q

What is a minterm?

A

A product term in a Boolean expression that corresponds to a single row in a truth table where the output is true.

22
Q

What does the term ‘canonical form’ refer to in Boolean expressions?

A

A standardized way of expressing a Boolean function using minterms or maxterms.

23
Q

True or False: The expression A AND (B AND C) is equivalent to (A AND B) AND C.

24
Q

What is the result of the expression NOT (A OR B)?

A

NOT A AND NOT B (De Morgan’s Theorem)

25
Fill in the blank: In a truth table for three variables, there are ____ possible combinations of truth values.
8
26
What is the main use of Boolean logic in computer science?
To perform logical operations in programming and digital circuit design.