Logic Gates Flashcards

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

What is a logic gate?

A

The LOGIC that every computer has to follow from the inside

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

What does a ‘not’ Gate do?

A

It reverses the input

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

What does an ‘and’ gate do?

A

If both inputs are 1, then the output will be 1. If not then the output will be 0

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

What does an ‘or’ gate do?

A

If both or one of the inputs are 1, then the output will be 1, if not then the output will be 0

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

What does a ‘XOR’ gate do?

A

If one or the other inputs are 1, the output will be 1. If both are 1, the output will be 0

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

How do you convert denery to binary?

A

Draw a table with the numbers:128,64,32,16,8,4,2,1

Get all the numbers that can add up to the denery number you want

When you find all of them, put 1s one the ones that you need to add up to the denery number but put 0s on the ones you dont need

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

How do you convert binary to deanery?

A

Write 128,64,32,16,8,4,2,1

And underneath, plot the ones and zeroes underneath the numbers

Add up all the numbers that have a 1– ignore the 0

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

How do you convert hexadecimal to binary?

A

Plot 8,4,2,1 (plot it multiple times if there are multiple numbers)
For example if im trying to find A:

8=1,4=0,2=1,1=0
The reason why is because these numbers add up to 10

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

What does A,B,C,D,E,F in hexadecimal mean?

A
A=10
B=11
C=12
D=13
E=14
F=15
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How to convert denery to hexadecimal?

A

Convert the number to binary– then plot the numbers into
8,4,2,1 and then 8,4,2,1 again
Then add all the numbers that have a one together, but dont combine both columns’ answer, instead just put the numbers together

If the number is over 9 refer to the previous card

Then you have the hexadecimal

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