Topic 8 - Logic gates

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/40

encourage image

There's no tags or description

Looks like no tags are added yet.

41 Terms

1
New cards

What is a computer basically made of?

a collection of transistors and circuits.

2
New cards

In basic electronics, what does the "on" state of a component mean?

a current is flowing through the component

3
New cards

In basic electronics, what does the "off" state of a component mean?

a current is not flowing through the component

4
New cards

What binary value represents the "on" (TRUE) state in a computer component?

1

5
New cards

What binary value represents the "off" (FALSE) state in a computer component?

0

6
New cards

What does a logic circuit do?

makes decisions – it receives two or more inputs and determines the output from the inputs.

7
New cards

What is digital logic based on?

digital switches called logic gates.

8
New cards

What binary digit represents true, on, or high?

1

9
New cards

What binary digit represents false, off, or low?

0

10
New cards

What is a logic gate?

an electronic circuit in a device that enables a digital system to make a decision based the inputs.

11
New cards

How many inputs and outputs are usually present in a logic gate circuit?

two inputs to the circuit and one output.

12
New cards

What state is represented by 1 in a logic gate?

on or high

13
New cards

What state is represented by 0 in a logic gate?

off or low

14
New cards

What does a truth table show?

the logic rules of a logic gate.

15
New cards

What does a truth table list?

all combinations of input values and the resulting output.

16
New cards

When will an AND gate give a TRUE output?

Only if all of the inputs are TRUE.

<p>Only if all of the inputs are TRUE.</p>
17
New cards

What is the output of an AND gate except when both inputs are 1?

The output is always 0 (or FALSE).

18
New cards

In elevator systems, when can the output of an AND gate be TRUE?

Only when both the doors closed is TRUE (one input) and the "floor selected" button is TRUE

19
New cards

When will an OR gate give a TRUE output?

If either of the inputs is TRUE.

20
New cards

What is the output of an OR gate except when two inputs are 0?

The output is always 1 (or TRUE).

21
New cards

In a home security system using an OR gate, when will the alarm sound?

if the burglar breaks in through the window OR the front door.

22
New cards

How many inputs does a NOT gate have?

Only one input.

<p>Only one input.</p>
23
New cards

When will a NOT gate give a high output?

If the input is low (or 0).

24
New cards

What is a NOT gate used for in most traffic lights?

to make sure the red light and green can never ben shown together in any sequence.

25
New cards

What is a NAND gate?

A NOT-AND gate, which is equivalent to an AND gate followed directly by a NOT gate.

<p>A NOT-AND gate, which is equivalent to an AND gate followed directly by a NOT gate.</p>
26
New cards

What is a NOR gate?

A NOT-OR gate, which is equivalent to an OR gate followed directly by a NOT gate.

<p>A NOT-OR gate, which is equivalent to an OR gate followed directly by a NOT gate.</p>
27
New cards

When is the output of a NOR gate high (1)?

If both inputs are low (or 0).

28
New cards

What does an XOR gate compare and generate?

It compares two input bits and generates one output bit.

29
New cards

In an XOR gate, what is the result if the bits are the same?

0 (or FALSE).

<p>0 (or FALSE).</p>
30
New cards

In an XOR gate, what is the result if the bits are different?

1 (or TRUE).

<p>1 (or TRUE).</p>
31
New cards

What is XOR often referred to as?

exclusive OR

32
New cards

Where is XOR often used?

cryptography

33
New cards

What can be used to produce a complex logic system in a device such as a burglar alarm?

A combination of different logic gates

34
New cards

How are logic gates used in game design?

to create complex behaviours and decision-making processes for non-player characters.

35
New cards

What do logic gates contribute to in video games?

the artificial intelligence in video games.

36
New cards

What is the logic sign/operator for an AND gate?


<p></p>
37
New cards

What is the logic sign/operator for an OR gate?

Plus or Disjunction.

38
New cards

What is the logic sign/operator for a NOT gate?

Overline (Bar) or Negation.

39
New cards

What is the logic sign/operator for a NAND gate?

Overlined Dot or Negated Conjunction.

40
New cards

What is the logic sign/operator for a NOR gate?

Overlined Plus or Negated Disjunction.

41
New cards

What is the logic sign/operator for an XOR gate?

Circle Plus or Exclusive OR.