Because there’s actually a pattern between the input and the output in logic gates, and so does calculations. For example, I want to create a 2-bit adder, then first I’ll list the input and output. 0+0=0 0+1=1 1+0=1 1+1=10 The last digit is same to the XOR gate, so the last digit will be a XOR b. The first digit is only 1 when both inputs are one, so it is an AND gate. So if a and b are both single digit, I know that a+b=[a AND b, a XOR b]
The implementation of the gates presented in this video is called TTL Logic, as it uses bipolar junction transistors. Computers use nowadays CMOS gates, that use MOSFET transistors.
Came from crash course to here, this made more sense to me, thank you very much. As I am learning, the more I fear we built life on a seriously limited system.
True! 😅 I never had enough motivation for learning things at school, and often skipped classes to just hang out with friends instead - BUT! As soon as I got home, I suddenly tranformed into a manically obsessed info-geek, consuming EVERY single piece of information I could find about whatever topic appeared on my screen! 😂 ...Now I'm 30 years old - and I just recently arrived at the "engineering" chapter 😉
@@ComputerScienceLessons Ooooh thats a nice way to learn to others logic gates by doing it in Scrap Mechanic, teens i think will be interested since its a video game
Hi, can someone explain to me, why on the diagram for the "OR" schematic (6:10) the output is connected in that way. I don't understand why the resistor is next to the ground and the output is next to them. Thanks in advance.
I have a theory that our brains uses a system like logical gates with NOT, AND and OR including NAND, NOR. When people take medicine having some side effects coming with them, some of those gates are affected by those medicines and the body doesn't work the way it should because of those side effects made by those medicines. For example when a woman is about to deliver, all those gates are giving the green light (according to the program implemented in the brain) that it is time to go into labor. The labor finished naturally, the breasts are starting to give milk very as soon after the baby puts his mouth on them. When a c-section is done, the gates are confused because the baby is out and all the gates did not give the green light that the baby came out through the birth Canal. Confusion inside the brain, milk sometimes not coming, and other side effects for the program to not have been fully followed.... light.Consequently
Hello it is possible if you can add the description please? since English is not my first language is hard for me write on notes the key words just from listening :(
Click on the Settings icon at the bottom of the video window and select Subtitles/CC. This will display an automatically generated transcript for you. It's not perfect but it's OK. There are also some notes on my website. www.computersciencebytes.com/boolean-logic/logic-gates/ I hope this helps. :)KD
Transistor are current-controlled, current devices. Valves are voltage-controlled, current devices. They are closer to a cmos power function then a bjt
can you explain how SR port works? I had an exercise doing AND, OR, XOR, and SR ports, the first three are easy but the when doing the SR part and checking it, its always wrong, cant seem to get it right, the exercise has input 1 S=0 and input 2 R=1 as output=0, and then the other ones are fill ins, thanks in advance.
Not all, but a great many of them are. The CPU is full of logic gates. Memory (CPU cache and RAM) also makes use of them, and they can be be found in the expansion cards like your NIC and the Graphics card. They are all over the place :)KD
@@ComputerScienceLessonsok thanks. Also do logic gates control pixels, for example, my understanding of pixel system in led is the following: each pixel has its liquid crystals which can block light from getting to it or allow light to get to it depending on their orientation, such orientation depends on whether electrical current runs through them or not, which depends on whether the logic gate it's hooked up to is on or off, and this of course depends on how this logic gate is programed based off inputs from other logic gates. So a particular circuit or combo of logic gates program the logic gates that are connected to the liquid crystals corresponding to a particular pixel, so that whether said pixel is on or off is based off your arrangement of logic gates/your programming.
hmm i'm still struggling to understand how these gates can have all voltage on 2-3 lines without a ground. and the not gate that's another set of magic , changing a 0-1 with only 2 pins what kind of magic is that!
I've had a number of students who struggled with the concept of a NOT gate. "How can it change 0 to 1? how can it make something from nothing?" It's important to realise that a logic gate symbol is an abstract diagram of something more complex. See: ruclips.net/video/fw-N9P38mi4/видео.html :)KD
Thermionic values use oxide coated tungsten filaments. They also include other metals such as nickel or molybdenum, and carbonates of barium or strontium. I have some inside my old Marshal amplifier. :)KD
The output of a YES gate is the same as the input. It's purpose is to boost the input signal because electrical signals 'degrade' in complex circuits with lots of resistance. Another name for a YES gate is a buffer. :)KD
Can you give me a real life application of NOT gate? I can't think of any, btw this explained more than how my teacher did... hope she doesn't find this
Glad to help. If you take the output of one NOT gate and feed it into a second NOT gate, then feed the output of the second NOT gate back into the first NOT gate, you have created a circuit that can store a 1 or a 0. This idea is the basis of a Static RAM cell (SRAM is used by CPU registers and the CPU cache memory). There's a diagram here www.researchgate.net/figure/SRAM-memory-cell-circuit-diagrams-for-a-standard-6T-SRAM_fig9_224106933 Also, if you want to delay an electrical signal (which is quite a common requirement in some circuits), you can pass it through several NOT gates (an even number of then) connected together in a line. :)KD
Very well done but it is still incorrect when instructors and texts define transistors as switches. They have a mode to act as switches, but are not switches, they are the transfer resistor hence the name. *In your opening explanation, biasing just the emitter and collector can in fact enable current to flow, it just takes an excessive amount of voltage due to emitter-collector resistance whereas an actual switch would in practical explanation, never close. A transistor's resistance from emitter to collector is incredibly high whereas a switch's continuity is always 0 regarding the NO switch opened.* In the first configuration developed for the transistor, was class-A configuration which as you and others surely know is the quiescent state. *For all intents and purposes of logic gates, they are indeed used as switches.* Without the necessary previous education leading up to logic gates, which is rampant, the population of people that simply understand them as a switch in first and foremost definition *is patently wrong and I find self study "gurus" never know and understand what they in fact are.*
Did I get my history wrong? BTW, I was given a piece of punched tape from Colossus at the National Museum of Computing. Great place to visit if you take in Bletchley Park as well :)KD
This is the clearest and shortest explanation I could possibly find. Thank you!
You're welcome :)KD
Best explanation ever, and the pacing is just right.
Thank you :)KD
Ur comment is efficient and accurate.
wholeheartedly agree
@@decrodedart2688 🗿
I swear my teacher couldn't get this across. I'm glad I found this channel.
How good are you with this stuff 3yrs later? I'm just getting started haha
@@FJ.Y the same here
I have learnt this for three years and I am able to create a calculator myself with logic gates.
@@kingking1223 how does that work?
Because there’s actually a pattern between the input and the output in logic gates, and so does calculations. For example, I want to create a 2-bit adder, then first I’ll list the input and output.
0+0=0
0+1=1
1+0=1
1+1=10
The last digit is same to the XOR gate, so the last digit will be a XOR b.
The first digit is only 1 when both inputs are one, so it is an AND gate.
So if a and b are both single digit, I know that a+b=[a AND b, a XOR b]
Pacing is excellent and the articulation and choice of words is spot on. Great video!
You are very kind. TY :)KD
Dear God. My uni professor could not explain this for two straight weeks. You explained it in seven minutes. Thank you.
I went to aviation maintenance school and had to attend hours of class to have this explained to me and still didn’t understand. Thank you.
Aye that's why I'm here too lol
Ayyye got my General Written tomorrow lol
This is really cool. I managed to get a 93% on my test because of you. Thanks so much!
You're welcome. You did the work yourself - well done :)KD
The implementation of the gates presented in this video is called TTL Logic, as it uses bipolar junction transistors. Computers use nowadays CMOS gates, that use MOSFET transistors.
THANK YOU sooo much for posting this!! This is the CLEAREST video ever!! It’s broken down where anyone can comprehend it!!
I can safely say this is the best introduction to logic gates. Everything flowed in a logical manner.
Thank you :)KD
Fr
Came from crash course to here, this made more sense to me, thank you very much. As I am learning, the more I fear we built life on a seriously limited system.
There's some good content on Crash Course but you need to be handy with the pause button. Glad to help :)KD
i have online school now and this was very helpful for my robotics, thank you for this very educational video :3
You are welcome. :)KD
Wonderful explanation.. after watching multiple videos finally found this one which has cleared many confusions of my mind.. thank you so much!
Thank you. You are most welcome :)KD
This is just the thing I was looking for. It's a perfect explaination
You are very welcome :)KD
Thanks for the video. Needed this to understand my uni books
Best teacher in the world ❤
I'm not sure about that but I really appreciate the sentiment. Thank you :)KD
Thank you! This is the clearest and best explanation I have been able to find. I finally get the gate differences.
You are most welcome :)KD
5 years later and this video is still saving souls
Thank you :)KD
Best explanation ur explanation was most better than my teacher
Delighted to help :)KD
This video should be in a museum of computers, it's just perfectly explained
That's very flattering. Thank you :)KD
when watching you tube is more worth than going to school!`
Thanks for the positive comment. School still has a place (speaking as a teacher). :)KD
@@ComputerScienceLessons ❤love u bro
True! 😅 I never had enough motivation for learning things at school, and often skipped classes to just hang out with friends instead - BUT! As soon as I got home, I suddenly tranformed into a manically obsessed info-geek, consuming EVERY single piece of information I could find about whatever topic appeared on my screen! 😂
...Now I'm 30 years old - and I just recently arrived at the "engineering" chapter 😉
thank you noble anglo saxon computer chief for salvaging me through this class
You've got such a beautiful british accent. And your explanation is very clear!
You're very kind. Thank you :)KD
Thanks using this I was able to build my own logic gates
delighted to help :)KD
Instant sub!
So easy to understand when explained like this
Thank you
Excellent video 🏆
Thank you very much. Welcome :)KD
Very good explanation. Keep up the good work!!
Fantastic british style teaching method.I did not have any idea about logic gate.i undrestood everything.
Delighted to help. :) Kevin
Love it. Very well presented and nice pace!
Thank you :)KD
3:00 How are transistors made at such a small size?
science
@@chesterz4k108 geography*
Man you're too good at teaching 🤝
Thank you. You are very kind :)KD
BEST EXPLAINATION SO FAR
I respect the explanation...simple and precise
Much appreciated. :)KD
So much useful. And the presentation is awesome. Thanks alot!
best explanation ever and wonderful every think
Thank you :)KD
short, simple and useful.
Thank you :)KD
Thanks dude! I passed my ict class with that one :D
Love this video what a great explanation ❤️
Thank you :)KD
this is a great video, clear explaination and pacing, kudos!
Thank you. :)KD
This is good this will help me understand logic gates for the game ScrapMechanics because there are logic gates there
I've just had a look at ScrapMechanics. I might use it in the classroom. Thanks. :)KD
@@ComputerScienceLessons Ooooh thats a nice way to learn to others logic gates by doing it in Scrap Mechanic, teens i think will be interested since its a video game
Perfect and simple. Thank you very much !
You are most welcome :)KD
Nice explanation Bro .... Thank You 👌👍
Hi, can someone explain to me, why on the diagram for the "OR" schematic (6:10) the output is connected in that way. I don't understand why the resistor is next to the ground and the output is next to them. Thanks in advance.
Very well done effort sir! Thank you.
Thank you so much, you have explained it perfectly
Thank you :)KD
Thank god I took intro to Logic before my this class.
I hope I helped :)KD
The way this guy talks makes me think that Jason Statham is teaching me computer science!
Thank you for this video!
I've been told that before. I wish I looked like him! :)KD
@@ComputerScienceLessons Me too!
Thank you for explaining this to me! :D
You're most welcome :)KD
I have a theory that our brains uses a system like logical gates with NOT, AND and OR including NAND, NOR. When people take medicine having some side effects coming with them, some of those gates are affected by those medicines and the body doesn't work the way it should because of those side effects made by those medicines. For example when a woman is about to deliver, all those gates are giving the green light (according to the program implemented in the brain) that it is time to go into labor. The labor finished naturally, the breasts are starting to give milk very as soon after the baby puts his mouth on them. When a c-section is done, the gates are confused because the baby is out and all the gates did not give the green light that the baby came out through the birth Canal. Confusion inside the brain, milk sometimes not coming, and other side effects for the program to not have been fully followed.... light.Consequently
Brain doesn’t trigger labor, the hormones do, brain doesn’t do sensory stuff like that.
@@Chief592 chemical and electrical logic gates
I think neurons work like transistors but different
cheers mate!
more helpful than my prof
Glad to help :)KD
great video, thank you for the effort.
You're most welcome :)KD
Fantastic explanation! 5 stars
Thank you :)KD
Hello it is possible if you can add the description please? since English is not my first language is hard for me write on notes the key words just from listening :(
Click on the Settings icon at the bottom of the video window and select Subtitles/CC. This will display an automatically generated transcript for you. It's not perfect but it's OK.
There are also some notes on my website. www.computersciencebytes.com/boolean-logic/logic-gates/
I hope this helps. :)KD
Just learn English
Fantastic explanation.
im just here, to recreate this in minecraft
I presume you are going to use Redstone? Check this out :)KD
ruclips.net/video/YfbT2bxlV8I/видео.html
@@ComputerScienceLessons hey buddy its XD not KD lol
@@vissdog4k haha its jst similar lol
@@daz_6839 nah dog it kinda ruins the whole effect lol
Transistor are current-controlled, current devices. Valves are voltage-controlled, current devices. They are closer to a cmos power function then a bjt
Thanks, this helps with my homework
thanks for the vid dude this helped me a lot.god bless u
Happy to help. :)KD
So it's the position of the output that determines the behavior? In the not gate the signal bypasses the transistor??
can you explain how SR port works? I had an exercise doing AND, OR, XOR, and SR ports, the first three are easy but the when doing the SR part and checking it, its always wrong, cant seem to get it right, the exercise has input 1 S=0 and input 2 R=1 as output=0, and then the other ones are fill ins, thanks in advance.
great thanks to this tutorial i built an i9 12900k
i really like the xor gate bc of the complex logical sentence it has
What's the name of the follow up tutorial for this subject or the link? Thank you. Sorry I can't find it.
This is the playlist, I hope it helps
ruclips.net/p/PLTd6ceoshprfc_VVJYunO1BN9peCTMQgr
:)KD
@@ComputerScienceLessons thanks heaps :)
Once you understand the concept of the ohm law, how transistors work and logic gates, you wont get stuck in social media anymore.
:)KD
Very Informative
best explanation ,, a sub and a like
Are different parts of computers just certain different combinations of logic gates?
Not all, but a great many of them are. The CPU is full of logic gates. Memory (CPU cache and RAM) also makes use of them, and they can be be found in the expansion cards like your NIC and the Graphics card. They are all over the place :)KD
@@ComputerScienceLessonsok thanks. Also do logic gates control pixels, for example, my understanding of pixel system in led is the following: each pixel has its liquid crystals which can block light from getting to it or allow light to get to it depending on their orientation, such orientation depends on whether electrical current runs through them or not, which depends on whether the logic gate it's hooked up to is on or off, and this of course depends on how this logic gate is programed based off inputs from other logic gates. So a particular circuit or combo of logic gates program the logic gates that are connected to the liquid crystals corresponding to a particular pixel, so that whether said pixel is on or off is based off your arrangement of logic gates/your programming.
Take a look at this: ruclips.net/video/2iURr3NBprc/видео.html
:)KD
@@ComputerScienceLessons thanks for link, couldn't find good sources,, appreciate it.
Great video
Thanks. :)KD
@@ComputerScienceLessons thanks to you..😃
Nice one lad sound
i'm here just bcuz i have a test tomorrow...lol
Good luck :)KD
@@ComputerScienceLessons thks :)
ayo same :/
hmm i'm still struggling to understand how these gates can have all voltage on 2-3 lines without a ground. and the not gate that's another set of magic , changing a 0-1 with only 2 pins what kind of magic is that!
I've had a number of students who struggled with the concept of a NOT gate. "How can it change 0 to 1? how can it make something from nothing?" It's important to realise that a logic gate symbol is an abstract diagram of something more complex. See: ruclips.net/video/fw-N9P38mi4/видео.html :)KD
@@ComputerScienceLessons so it's not like a resistor that can be bought off the shelf.?
Thank you very much! Extremely useful!
Now i can hopefully do my cs50 projects
Real teacher: 📌
Comment most appreciated :)KD
We all know why you're here but anyways good luck
Thanks :)KD
What kind of wire present in valves? Copper and epoxy ,
Thermionic values use oxide coated tungsten filaments. They also include other metals such as nickel or molybdenum, and carbonates of barium or strontium. I have some inside my old Marshal amplifier. :)KD
Thank you so much ! ❤
You are very welcome :)KD
Wich is the logic function of yes gate??? :(
The output of a YES gate is the same as the input. It's purpose is to boost the input signal because electrical signals 'degrade' in complex circuits with lots of resistance. Another name for a YES gate is a buffer. :)KD
Great Sir
Tnx :)KD
Why is it the same as logical operators of C
Behind the scenes, low level program code is engaging these types of circuits (C is considered a low level language these days) :)KD
+5v is always functional even if circuit is switched off
Asking
who is watching this while having computer test tomorrow
Good luck :)KD
My teacher assigned this to us.
Can you give me a real life application of NOT gate? I can't think of any, btw this explained more than how my teacher did... hope she doesn't find this
Glad to help. If you take the output of one NOT gate and feed it into a second NOT gate, then feed the output of the second NOT gate back into the first NOT gate, you have created a circuit that can store a 1 or a 0. This idea is the basis of a Static RAM cell (SRAM is used by CPU registers and the CPU cache memory). There's a diagram here www.researchgate.net/figure/SRAM-memory-cell-circuit-diagrams-for-a-standard-6T-SRAM_fig9_224106933
Also, if you want to delay an electrical signal (which is quite a common requirement in some circuits), you can pass it through several NOT gates (an even number of then) connected together in a line. :)KD
7 minutes only but worth 70 minutes
Thank you :)KD
Thank you ❤
You are most welcome :)KD
Thank you.
You're welcome :)KD
Very well done but it is still incorrect when instructors and texts define transistors as switches. They have a mode to act as switches, but are not switches, they are the transfer resistor hence the name. *In your opening explanation, biasing just the emitter and collector can in fact enable current to flow, it just takes an excessive amount of voltage due to emitter-collector resistance whereas an actual switch would in practical explanation, never close. A transistor's resistance from emitter to collector is incredibly high whereas a switch's continuity is always 0 regarding the NO switch opened.*
In the first configuration developed for the transistor, was class-A configuration which as you and others surely know is the quiescent state.
*For all intents and purposes of logic gates, they are indeed used as switches.*
Without the necessary previous education leading up to logic gates, which is rampant, the population of people that simply understand them as a switch in first and foremost definition *is patently wrong and I find self study "gurus" never know and understand what they in fact are.*
TIP: watch it on 1.25x
save your time 🤫
Life saver😭
AND = *
OR = +
In Boolean algebras I guess
Yes indeed. When you are ready for it, you might find this interesting: ruclips.net/video/EPJf4owqwdA/видео.html
:)KD
Ffs that’s a good explanation
Your voice is beautiful
Why thank you :)KD
Time to make a Turing machine in minecraft!
Go for it. Redstone is fantastic :)KD
XD not KD
XD is funny laughing face
KD is is kill death ratio
Thanks alot
You're welcome :)KD
Why the hell did my professor teach this without mentioning what a transistor is?
I think the underlying electronic components definitely need to be mentioned. You might find my series on DRAM interesting. :)KD
Thanks man!
nice info
Thank you :)KD
@@ComputerScienceLessons ruclips.net/video/ijXBJJiiau8/видео.html pl run and support
display how logic gates combine to form aIC
3:11
collosus was before eniac
Did I get my history wrong?
BTW, I was given a piece of punched tape from Colossus at the National Museum of Computing. Great place to visit if you take in Bletchley Park as well :)KD