How Computers Calculate - the ALU: Crash Course Computer Science #5

Sdílet
Vložit
  • čas přidán 1. 05. 2024
  • Today we're going to talk about a fundamental part of all modern computers. The thing that basically everything else uses - the Arithmetic and Logic Unit (or the ALU). The ALU may not have to most exciting name, but it is the mathematical brain of a computer and is responsible for all the calculations your computer does! And it's actually not that complicated. So today we're going to use the binary and logic gates we learned in previous episodes to build one from scratch, and then we'll use our newly minted ALU when we construct the heart of a computer, the CPU, in episode 7.
    CORRECTION
    We got our wires crossed with the Intel 4004, which we discuss later. The 74181 was introduced by Texas Instruments in 1970 but appeared in technical manuals around 1969. The design of the 74181, like most of the 74xx/74xxx series, was an open design which was manufactured by many other companies - Fairchild was one such manufacturer. They produced a chip, the Fairchild 9341, which was pin-for-pin compatible with the 74181.
    Fairchild was the first to prototype an ALU, building the Fairchild 4711 in 1968 - a one-off device not optimized for scale manufacturing. In 1969, Signetics came out with the 8260, which they marketed in a very limited sense (it was attached, AFAICT, to one particular computer, the Data General SUPERNOVA). TI follows afterwards (March 1970) with the 74181, coupled with the 9341 from Fairchild. The 74181 became the standard number for this part, and was available from many manufacturers (back in those days, chip makers cross-licensed designs all over the place in order to provide assurance that their part could be sourced from multiple manufacturers).
    Produced in collaboration with PBS Digital Studios: / pbsdigitalstudios
    The Latest from PBS Digital Studios: czcams.com/users/playlist?list...
    We’ve got merch!
    store.dftba.com/collections/c...
    Want to know more about Carrie Anne?
    about.me/carrieannephilbin
    Want to find Crash Course elsewhere on the internet?
    Facebook - / youtubecrashc. .
    Twitter - / thecrashcourse
    Tumblr - / thecrashcourse
    Support Crash Course on Patreon: / crashcourse
    CC Kids: / crashcoursekids
    Want to find Crash Course elsewhere on the internet?
    Facebook - / youtubecrashcourse
    Twitter - / thecrashcourse
    Tumblr - / thecrashcourse
    Support Crash Course on Patreon: / crashcourse
    CC Kids: / crashcoursekids

Komentáře • 1,1K

  • @UdeyRishi
    @UdeyRishi Před 7 lety +1988

    I'm a computer engineer, and I have to say that I am really impressed by the quality of this series. Nice way to summarize a 4-year degree program! And that "new level of abstraction" thing is all that computer engineering really is. You might as well call it abstraction engineering :p

    • @UteChewb
      @UteChewb Před 7 lety +39

      Ex-software engineer here. A brilliant software architect I used work with would often use the phrase, "... and lets go to another level of abstraction." On the downside, levels of abstraction although giving you huge amounts of power reduce clarity so shouldn't be overused, but that's mostly a software issue.

    • @joshuacook2
      @joshuacook2 Před 7 lety +60

      "There is no problem in computer science that cannot be solved with another level of indirection, except the problem of too many levels of indirection" - Quote from a long forgotten source.

    • @vampirica89
      @vampirica89 Před 7 lety +9

      I'm a complete amateur, so this is pretty hard to imagine and conceptualise. Is it sort of like a combination of the movies Inception and The Matrix, so that the further away we are from the first level of dream (or abstraction) the more Matrix-like it becomes? Or am I totally off? Thanks.

    • @UteChewb
      @UteChewb Před 7 lety

      Joshua Cook, yep. Forgot that quote. It should be a rule of software framed and hanging on a wall.

    • @joshuacook2
      @joshuacook2 Před 7 lety +31

      Scattered Moon Shards Allot of people get this confused at first. It's just like in biology. You have a fundamental level that's easy to understand, but note a useful way to view most problems. As you look at bigger systems (more abstract ones) you forget about the details and conceptualize it differently.
      Back to the physics analogy, physics is fundamental, chemistry is a level of abstraction, biology adds another level, psychology adds another level, and sociology adds another level.
      Generally, more abstract concepts are more similar to how you normally think about problems, but doesn't specify as many details.

  • @ricardolages5412
    @ricardolages5412 Před 7 lety +2119

    I'm a computer engineering student and I'm truly impressed by how good these videos are! Congratulations!

    • @joshuacook2
      @joshuacook2 Před 7 lety +17

      Eh, these are really too shallow for any in depth discussions, but a decent introduction. Its a good compromise if you want to talk about a bunch of topics, but don't plan on really using any of them. That is, they are good information for the general public, but not enough for engineers.

    • @ericfortney2167
      @ericfortney2167 Před 7 lety +190

      It's almost as if we had some term for a quick overview of a subject laid out in segments. Like some sort of.....crash course.

    • @ricardolages5412
      @ricardolages5412 Před 7 lety +37

      You are totally right, these are all very introductory concepts, but well presented. Also, you have to assume that these are intended for the curious general public and for high school students that would like to start studying college stuff. I'm saying because I subscribed when in high school and I know I'd have enjoyed this overview of what I ended up knowing in depth today

    • @BlackPhillip-sw8xf
      @BlackPhillip-sw8xf Před 7 lety +33

      +Ricardo Lages Yeah. She just explained something in a very simpler way than my teacher that took ages to explain the very same thing and let everybody confused...

    • @ricardolages5412
      @ricardolages5412 Před 7 lety +4

      lol welcome to good college teachers hunt

  • @migueldoliveiracomposer
    @migueldoliveiracomposer Před 7 lety +629

    In binary when you add 1+1, you get 0 and Carrie Anne.

  • @taitaisanchez
    @taitaisanchez Před 7 lety +995

    i'm a 34 year old software developer that's become burnt out.
    This series is reminding me that this stuff is fun and exciting and not just "oh my god why is this library broken?"

    • @Xiliquentoo
      @Xiliquentoo Před 5 lety +50

      like Einstein once said. " Intellectual growth should commence at birth and cease only at death" Life is like riding a bicycle to keep your balance you must keep moving.

    • @uemusicman
      @uemusicman Před 5 lety +47

      I'm 38 and I got burned out so bad when I was 35 that I've been out of work for 3 years while recovering. All I can say is do whatever you need to do to take care of yourself and I hope you can find the spark again. :)

    • @yonassamuel4082
      @yonassamuel4082 Před 4 lety +1

      @@uemusicman were you a software engineer as well?

    • @EvilSandwich
      @EvilSandwich Před 4 lety +3

      .dll files are a hellava drug.

    • @svcogssvcogs4252
      @svcogssvcogs4252 Před 4 lety +1

      Sorry, but what are the inputs hooked to? Whey are they turning on or off in the first place? And if you get a 1 from A is that different than a 1 from B? What do the result do for you? if it's 1 or 0? There are two ways to get a 1. Is that make a difference in the bit result?

  • @vkillion
    @vkillion Před 7 lety +293

    I took a computer architecture course at university and we build an 8-bit ALU that could Add, Subtract, AND, OR, XOR, and a few other logic functions that I can't remember for sure (maybe multiply and divide). We designed a PCB and sent off our design to be manufactured. Then we soldered the chips into our board ourselves. It was a really fun project.

    • @pl9742
      @pl9742 Před 4 lety +39

      which university is that? Our university just did everything on paper and the instructor's always in an angry and gloomy mood, reluctant to respond to questions while suppressing the class' will to bring up questions. We never thoroughly understood how it worked.

  • @domobrah2671
    @domobrah2671 Před 5 lety +218

    I love how you explain the levels of abstraction. Each time something seems overcomplicated, I just remember that it's just a bunch of transistors wired up in clever ways at the core of it all and at the core of those transistors are on and off electric signals. Helps me relax and admire the beauty and craftsmanship of computers.

  • @clock4883
    @clock4883 Před 4 lety +126

    Me: It's simple as 1+1!
    ALU: Is it really?

  • @eugenio5774
    @eugenio5774 Před 7 lety +584

    *inhales deeply* good lord I am going to need all of my brain power to understand this.

    • @parkersmith3886
      @parkersmith3886 Před 5 lety +12

      Or do meth

    • @vjzb3
      @vjzb3 Před 4 lety +151

      In any scientific endeavor--especially computer science--it's a positive sign if you're feeling overwhelmed. That means you're trying. The only way to become an expert is to allow yourself to be constantly overwhelmed and to continue persevering. If you invest enough time and effort, all of a sudden you'll realize that things start clicking and making sense. No matter how difficult a concept seems, or how slowly you feel like you're learning, just don't give up, keep coming back, and one day you'll have mastered what you once thought was too difficult for you to learn. You can do it.

    • @DrGrasscopper
      @DrGrasscopper Před 4 lety +28

      @@vjzb3 Dude, I needed to hear this. Thank you. Computer Science is so hard.

    • @vjzb3
      @vjzb3 Před 4 lety +15

      Justin Touchdown Yes it is. But you can certainly do it, my friend. Just set small goals and tackle one thing at a time. Also, try to start building things as early as you’re comfortable, because it can make the learning process a lot more enjoyable. Lastly, if you ever have questions, feel free to drop ‘em right here. I’d be glad to help out with anything if I’m able

    • @brandm5176
      @brandm5176 Před 4 lety +2

      @@parkersmith3886 and then do a little meth*

  • @johnarken1810
    @johnarken1810 Před 7 lety +321

    It's like I'm looking at my computers soul.

  • @N0616JCProductions
    @N0616JCProductions Před 7 lety +306

    The more I watch CrashCourse, the more I want to complain as to why this kind of video wasn't around when I was in high school. Could have helped me a lot when I need to look up something that I have forgotten, but I can't understand what my textbook was trying to say to me to get me to understand to concept.

    • @joselitoborces7354
      @joselitoborces7354 Před 5 lety +1

      I agree with you..:-)

    • @peatea16
      @peatea16 Před 4 lety +9

      What kind of highschool had you learning computer science

  • @basiec.9705
    @basiec.9705 Před 7 lety +107

    I've just started watching this, Crash Course mythology, sociology and physics. Much to my surprise, I've enjoyed this one the most!

    • @LesterRomano
      @LesterRomano Před 7 lety +2

      Try watching the history. You'll enjoy it

    • @UteChewb
      @UteChewb Před 7 lety +11

      Crash Course World History is amazing. Many other good ones though. Astronomy is excellent as well. Really they are all worth watching. I find this one to be very good.

    • @EmbraceTheThunder
      @EmbraceTheThunder Před 7 lety +4

      Maybe you have a future in computer science.

  • @MFMegaZeroX7
    @MFMegaZeroX7 Před 7 lety +267

    As a side note to those wondering how subtraction is done, it is also done through addition. The way computers store negative integers in binary is a system called 2's complement, which is difficult to discuss in a short text comment, but it allows the addition of a positive integer X and a negative integer Y to equal X - Y. If you want to subtract Y from X you just turn Y into a negative number (which is a very fast operation) and then add them together.

    • @joshuacook2
      @joshuacook2 Před 7 lety +7

      Interesting note, some early computers used other solutions. Try looking up 1's compliment, the way to go if you prefer a negative 0.

    • @MFMegaZeroX7
      @MFMegaZeroX7 Před 7 lety +15

      Well, typically computers didn't want a negative 0, as it was generally seen as wasteful. Two's compliment was created to be more efficient in terms of number usage. 1's compliment was used for simplicity when computers increased in speed naturally all of the time.

    • @joshuacook2
      @joshuacook2 Před 7 lety +8

      Oh yeah, there are many reasons 2s compliment is better. It's just a fun foot note in Comp Sci history, like sexidecimal (hexidecimals true name), and using bytes to represent two digit numbers for human readability.

    • @mikejohnstonbob935
      @mikejohnstonbob935 Před 7 lety +1

      How does it do divisions?

    • @G8tr1522
      @G8tr1522 Před 7 lety

      You can just do a multiplication that has the decimal shifted over. The multiplier circuit would see two integers, but then you'd need additional circuitry to account for decimals.

  • @javierfigueroa7405
    @javierfigueroa7405 Před 7 lety +314

    You better add a counter to the abstraction level animation

    • @MFMegaZeroX7
      @MFMegaZeroX7 Před 7 lety +33

      levelOfAbstraction++

    • @shami1kemi1
      @shami1kemi1 Před 7 lety +9

      You could also do
      `++levelOfAbstraction`
      Since ++ before or after a variable (++var vs var++) is essentially the same operation, although on older compilers, ++var would result in less instructions if it's not in an assignment or anything like that. A little bit of random micro-optimisation trivia (nowadays, if the result of ++var is not being assigned into another variable in style of `int foo = ++var;` or `int bar = var++;`, it will be optimised into the same instructions)

    • @IceMetalPunk
      @IceMetalPunk Před 7 lety +8

      Yeah, I always use ++var when I can, just because I never trust the compiler to optimize that for me :P
      (For the non-programmers reading this and wondering: ++x adds 1 to x and then returns the result. x++ returns the current value of x, but then adds 1 to it. You can't have instructions continue after returning a value, so in order to do x++, you first have to store the current value of x in a temporary variable, then add 1 to it, then return the value you stored; that's extra instructions compared to just the "add and return" of ++x.)

    • @MFMegaZeroX7
      @MFMegaZeroX7 Před 7 lety +2

      Yeah, in this case it doesn't matter. In does matter though when post-increment and pre-increment makes a difference, as you mentioned. I usually just do post-increment/decrement by habit.

    • @TheMysticshroom
      @TheMysticshroom Před 7 lety +2

      Javier Figueroa the number at the top of the elevator

  • @HemmligtNavn
    @HemmligtNavn Před 7 lety +91

    being a professor of computer science I have to say that I really think you are doing a great job! keep it up!!!

  • @SuperHappyNotMerry
    @SuperHappyNotMerry Před 7 lety +61

    I can't believe crash course is now doing a computer science course. I'm kind of really proud that they've come so far

  • @RedwoodGeorge
    @RedwoodGeorge Před 7 lety +39

    It's somewhat worrisome just how happy this series makes me. Carrie Anne does a great job explaining the basics (and the abstractions that follow), the writers have put in just the right amount of detail and the animators are, as always, exemplary.
    I spent a decade writing low level code for microcontrollers, bit slice processors and very early GPUs. I lived at the ALU level, passing data from register to register while checking flags. These days I program for the web and it's so much more abstract than physically pushing bits from A to B; I kind of miss the simplicity ;-)

  • @AdnanCucak
    @AdnanCucak Před 7 lety +2029

    I'm not a computer engineering student and I have to say, I have No idea whats going on.

  • @mostlyfocused
    @mostlyfocused Před 7 lety +154

    This is such a great series, definitely one of the best crash courses. you guys are nailing it

    • @FewMinuteProgramming
      @FewMinuteProgramming Před 7 lety +7

      Mostly Focused Brings me memories of my classes in Uni. Except that crash course actually makes it easy 😒

  • @KerriCz
    @KerriCz Před 7 lety +23

    I don't have a background in computer science at all whatsoever, so these concepts are completely new to me. This series is doing a great job at explaining the concepts, and I feel like I kind of understand it even though I haven't heard of any of these things before. And the host is great, too. Keep it up!

  • @spencerwhite3400
    @spencerwhite3400 Před 7 lety +199

    "Sees video title" WHAT!?!? They went from the binary system to a full blown ALU?

    • @ThunderWolf2100
      @ThunderWolf2100 Před 7 lety +60

      A basic ALU is actually pretty simple, complexity goes up the more operations you need to implement via hardware (a multiplication made by hardware is incredible complex, like, a few hundreds of logic gates for a 4 bit product)

    • @Lukeff7
      @Lukeff7 Před 7 lety +10

      Spencer White well they did discuss transistors and logic gates already so :)

    • @luizdevil6855
      @luizdevil6855 Před 7 lety +1

      It's incredibly clever too, I was mystified for days when I found a paper describing how to implement it for real. Then I got how it worked, I felt as my IQ increased, but I don't believe in IQ.

    • @user-gd6il5zb8l
      @user-gd6il5zb8l Před 4 lety +2

      Still, the video misleads saying that we've build an ALU at that point, while we've only build an Adder. I kind of can't believe she promised to move on from ALU after this video, without even explaining how the hell ALU works. I mean, it's definitely not an obvious thing for a newbie, even less obvious than binary addition which _was_ discussed in the series.

  • @taleofkaran
    @taleofkaran Před 4 lety +12

    I'm studying computer engineering (Sophmore) and this series turned out to be more valuable than my entire first semester! Thanks to everyone who is involved with the production. Cheers!! I'm gonna watch every playlist on this channel during the Quarantine now.

  • @abramneumann6324
    @abramneumann6324 Před 7 lety +16

    CrashCourse is amazing. I didn't think I'd ever get the privilege of understanding how a computer works or how a muscle works on the cellular level. Keep up the excellent work!

  • @MrBlitzpunk
    @MrBlitzpunk Před 7 lety +2

    this is good, not just because the information she's giving
    more so is the fact that she's capable of explaining it all
    i cant even explain why im single

  • @ZubairKhan-tt8ev
    @ZubairKhan-tt8ev Před 7 lety +6

    For the longest time I've believed that electrical engineering coursework is not hard instrinsically, but made unnecessarily difficult with confusing and boring lectures from professors who've been given no incentive to rethink how to best teach the content. This video series is complete validation of that. The clarity with which CrashCourse/PBS Digital presented this is awe-inspiring. Thank you so much!

  • @MrWhity-zv1ny
    @MrWhity-zv1ny Před rokem +4

    I think it is surprisingly more than a crash course! Just amazing! Thank you guys for all you are doing here!

  • @UteChewb
    @UteChewb Před 7 lety +3

    This video on ALUs gives me such a warm feeling. Half bit adders, full adders, operands.

  • @carolinec729
    @carolinec729 Před 4 lety +2

    I watched this series when it first came out, before I started uni. I loved it. I was so exciting to learn about these magical things that goes on inside of computers. Now I just started my second year of computer science engineering, partly thanks to this course. It's so wonderful to go back an rematch the episodes with a whole new understanding of the topics. This is truly a wonderfully produced series!

  • @Raaawrrrrr
    @Raaawrrrrr Před rokem +2

    English is not my first language, I very reluctantly put it to 0.75... It takes more time but I am less frustrated and can understand each concept much better. Amazing course.

  • @samyanez94
    @samyanez94 Před 7 lety +6

    I'm currently studying Computer Science and these videos are gold! Great job CrashCourse!

  • @deadpoolreborn5322
    @deadpoolreborn5322 Před 6 lety +4

    I am speechless, how amazing this series is.

  • @ricadatoc3943
    @ricadatoc3943 Před 4 lety

    I've downloaded this series a long time ago but have only watched it now, and it's great to be reminded of how fun Computer Science was.

  • @emewyn
    @emewyn Před 7 lety +26

    While watching this, I kept thinking about quantum computing, which would theoretically use 6 states instead of 2 (on/off). It's already hard to follow all the logic for our binary system, it blows my mind how complex a six-state system would then have to be.

    • @periwinkle43
      @periwinkle43 Před 5 lety +3

      Once quantum computing is mastered and made easy to mass produce we will have a lot of power at our hands. Unfortunately that also means that hackers have that power, and a lot of modern encryption methods are easiily broken by quantum computing. I see the advancements in quantum computing putting a lot more emphasis in security and encryption for future computer scientists.

  • @JohnRenraGloser
    @JohnRenraGloser Před 7 lety +7

    I make my living as a programmer and I've never heard such a good explanation of ALUs. Great job!

  • @pradyutdas7358
    @pradyutdas7358 Před rokem +4

    Really high quality education out there... Don't have enough words to congratulate this team appropriately...

  • @hollowpurity2061
    @hollowpurity2061 Před 4 lety +1

    My Professor added this playlist to his recommended refferences for our homework. This series is great. Thank you!

  • @ScoopDogg
    @ScoopDogg Před rokem +1

    Of the many years ive been alive nobody put across these basics of what a computer is composed of better than this series, I just wish i had the chance to have watched these when i was a kid because it would have helped me grasp the concept of computing alot easier. I thankyou.

  • @MovonBaden
    @MovonBaden Před 7 lety +15

    I study computer science - so i know all this stuff - but still enjoy very much, how you explain all this in such an elegant easy way! .Its important, so many peaople think of computers as sort of magic, which they aren't. Especially since computers shape our lives, in a way that in democratic societies, we need more people to be able to discuss computer related issues. Thanks.

  • @Thais1985
    @Thais1985 Před 7 lety +12

    I love this series and I love Carrie Anne as a host! She's so good at explaining really complex stuff! That and I love that's she so enthusiastic and even more of a nerd that I am xD

  • @peatea16
    @peatea16 Před 4 lety

    This series just makes me want to learn more and more stuff about computer science. Hardware, software, really just everything.

  • @adamszava4582
    @adamszava4582 Před 3 lety

    This is one of my favourite videos ever, it made me start to actually understand how computers work. I’m going to school for computer engineering starting next year and am very excited

  • @TerryRoyer
    @TerryRoyer Před 7 lety +3

    A very interesting series so far, I'm excited to learn more

  • @aeresesdori7804
    @aeresesdori7804 Před 7 lety +7

    I'm really impressed at the quality of this series so far (this coming from a software engineer). The explanations so far are spot on. The more industrious students can Google the remaining content. For those that do... you need to have a good understanding of the material covered in the previous four episodes to be able to implement the remaining operations.
    Next episode: flops/latches!

  • @coolcooler293
    @coolcooler293 Před 5 lety

    I'm impressed! Such a delightful, easy to understand, deserving to be recommended to everyone computer science course! Nailed it!

  • @ariMuayad
    @ariMuayad Před 7 lety +2

    Impressive , I am a computer science student and You make the subjects so much more interesting than what a professor does. Well done. I can't get enough of these videos

  • @andrewweiss8323
    @andrewweiss8323 Před 7 lety +4

    This is the best series on crash course yet. I'm a middle school student but stuff is explained well and it's really enjoyable thx

  • @Sordatos
    @Sordatos Před 7 lety +842

    I hope the budget cut to PBS doesn't hit this channel hard...

    • @TheMan83554
      @TheMan83554 Před 7 lety +51

      The budget is only the Executive Branch's wish list. Congress can, and almost always does, veto it in favour of their own budget which the Execs are required by law to implement.

    • @__malte
      @__malte Před 7 lety +66

      Sordatos Probably not. Even if the budget it passed and Crash Course, as a consequence, gets completely cut from PBS funding, there would still be the money from the patreon support (and several other sponsors). So if you're worried, just sponsor them on patreon!

    • @sdushdiu
      @sdushdiu Před 7 lety +11

      "there would still be the money from the patreon support (and several other sponsors)"...as it SHOULD be....

    • @paxdriver
      @paxdriver Před 7 lety +15

      Sordatos I'm commenting and liking all videos on digital studios now. I don't ever wanna think I took this for granted while it lasted.

    • @fakjbf3129
      @fakjbf3129 Před 7 lety +11

      @Asitya Mathur What??? PBS gets it's funding from the federal government and private donations. President Trump's recently proposed Federal Budget completely cuts PBS and many other small programs completely off from federal funds. While not final, if Congress approves the change then yes PBS will lose a significant source of revenue. Congress can't directly tell PBS to stop funding Crash Course, but it can remove the funds PBS needs to do so. Without federal funds there's basically no way PBS could continue paying for all the shows on TV and CZcams that it does, it will need to cut some of them. And that's the best case scenario, it's possible that without federal funds PBS will be unable to sustain anything and will completely shut down.

  • @rubikfan1
    @rubikfan1 Před 7 lety +1

    you are truly the only one that explains all the layers in the computer. and i thank you for that. i finaly start to understand everything instead different layer on there own.

  • @dylanreilly6888
    @dylanreilly6888 Před 4 lety

    Fantastic series. Learning assembler to program 8-bit microcontrollers in assembler and these videos are just what I needed.

  • @MathiasJ89
    @MathiasJ89 Před 7 lety +6

    This show really helps you appreciate the machine you are sitting in front of. Wow o.O

  • @mingyan5740
    @mingyan5740 Před 5 lety +5

    I am a computer science graduate in a famous university for 4 year. I have learned a whole bunch of details and complexities. I know how to explain and apply it but have never been told to see them as a whole. You can call me an expert compared with those beginers. But this series helps me to understand the assemble of a complexity from scratch and as a whole. Thank you, Carrie.

  • @roeltz
    @roeltz Před 7 lety

    I'm loving the new-level-of-abstraction transition!

  • @olivierbegassat851
    @olivierbegassat851 Před 5 lety

    Amazing series, seriously great work! One of the best series on youtube, and to be frank I couldn't name another that comes close to this!

  • @scishowfan2.050
    @scishowfan2.050 Před 7 lety +123

    i subbed to this crash course mainly because this computer course I LOVE YOUR VIDEOS

  • @kieranbishop1481
    @kieranbishop1481 Před 7 lety +5

    This is great, it's pretty much like a class but easier for people new to computer science to understand and far more interactive/interesting. haha, I'm a grade 12 student and I've been doing web programming/design, and I love to learn things about computers so this is perfect! Thanks

  • @NANA-yh2wx
    @NANA-yh2wx Před 5 lety

    I absolutely enjoy the Crash Course series. It's extremely informative and interesting. Thank you for your efforts and good job !

  • @Flargenyargen
    @Flargenyargen Před 7 lety +2

    That is just incredible! Top notch explanation, presentation. I love everything about this series.

  • @OnekiKai
    @OnekiKai Před 7 lety +8

    +CrashCourse Texas Instruments made this ALU. It was part of their 7400 series TTL.

  • @johnesco
    @johnesco Před 7 lety +7

    this is so amazingly clear and well explained exclamation point

  • @fahimshahriaranik8107
    @fahimshahriaranik8107 Před 6 lety

    You describe things in such an interesting way. This playlist will give anyone a very clear idea about what is computer science.

  • @johnnyCahuenga
    @johnnyCahuenga Před 4 lety +1

    I am currently in Advanced computer architecture having trouble and your videos are super helpful and super clear! keep up the amazing work.

  • @EduardKieser
    @EduardKieser Před 7 lety +9

    Really enjoyed the show. I was, in theory, already familiar with the topic, but that was several years ago, so I really enjoyed the refresher course! I dont suppose you would have the apatite to go from transistors to op-amps in a future episode with this same awesome format?

    • @Shivang4
      @Shivang4 Před 7 lety

      Why do you think its called Crash Course? :) (smug smile)

  • @greenredblue
    @greenredblue Před 7 lety +4

    Logic circuits make me bizarrely excited...
    Also! You can't trivially tell if A > B just by testing (B - A) < 0! Joshua Bloch wrote a good article about how this trick only works if you know the subtraction won't overflow, but on true arbitrary numbers it will fail half the time. (Maybe ALUs have different ways around this, but programming languages do not...) Spread the knowledge far and wide :D
    Great episode!

  • @serinecherifi9556
    @serinecherifi9556 Před 5 lety

    her way of explining thingsmakes it look that its so simple and everyone could get it thank u i am really impressed

  • @evanzhao2865
    @evanzhao2865 Před 4 lety

    this series is so well explained! Even though I'm not in high school yet, I am still able to fully understand this and enjoy the series!

  • @CSRocks
    @CSRocks Před 7 lety +25

    finally! new episode :)

    • @FewMinuteProgramming
      @FewMinuteProgramming Před 7 lety +1

      CSRocks Hey, just letting you know. I checked out your vids and subscribed!

    • @CSRocks
      @CSRocks Před 7 lety

      Thank you! I checked your channel as well, very nice content :) +1 sub ;)

  • @yourcurtainsareugly
    @yourcurtainsareugly Před 7 lety +3

    I remember having to write out the logic for a 4-bit carry look ahead adder by hand in my computer architecture class. Not hard, but quite tedious.

  • @foxsmith770
    @foxsmith770 Před 7 lety

    This course came just in time for me. Thank you for providing this great content.

  • @jukeldups
    @jukeldups Před 7 lety +2

    Thank you so much for this! I took a course in uni last year where we were supposed to learn this, but I didn't quite understand it. But now I do :) Thanks!

  • @tommyrosendahl7238
    @tommyrosendahl7238 Před 7 lety +16

    Can't wait till you get to how algorithms work!

    • @BlackPhillip-sw8xf
      @BlackPhillip-sw8xf Před 7 lety +6

      +Tommy Rosendahl She's going to explain it better later but...
      Algorithms are just thought processes, they are not executed directly by computers. They are defined through programs written in a programming language.
      Program code are translated to assembly code. Assembly code are translated to machine code. Machine code is just a bunch of sequence of 0's and 1's that defines your very one program and everything boils down to very simple commands of sum, subtraction, addition, comparison, etc... All executed by the ALU she just explained.
      There are way more things than that obviously (like memories she's going to explain later) but you can see the bigger picture...

    • @iluan_
      @iluan_ Před 7 lety

      "They are defined through programs written in a programming language" Not necessarily. With an FPGA (Field Programmable Gate Array) one can build custom hardware architectures for the implementation of an specific algorithm using logic gates and some good old sequential logic. Now, if one is using the FPGA as a hardware accelerator, it is possible to use a program in a programming language to feed and receive data into the FPGA, however the whole point of it is that this program will only give it the ones and zeros of the data and some configurations, and the actual algorithm will be executed by the custom architecture.

    • @verdatum
      @verdatum Před 7 lety

      Yeah, but FPGAs are generally written with a sort of programming language, such as VHDL.

    • @iluan_
      @iluan_ Před 7 lety

      verdatum Yes, but VHDL and Verilog are not programming languages, they are hardware description languages. Even if they have some behavioural synthesis options, after you compile your code you end up with a bitsteram that is sent via jtag and configures the registries in the LUTs to implement your architecture.

    • @nemoalvaradoTV
      @nemoalvaradoTV Před 7 lety

      The hype is real! Algorithms!!

  • @FewMinuteProgramming
    @FewMinuteProgramming Před 7 lety +7

    Love the videos! Always helps me out with mine :)

    • @thynguyen61
      @thynguyen61 Před 7 lety

      Few Minute Programming if you don't mind. What software do you use to make your videos?

  • @mikelakner5622
    @mikelakner5622 Před 7 lety +2

    I'm greatly enjoying the series so far. It's apealing even to us old computer folk.

  • @shusch3629
    @shusch3629 Před 4 lety

    I am an Architect who always find myself looking for improving myself. Computer Science isn't my expertise but I find it very intriguing. I truly appreciate the video series of the Crash-Course lesson on line. The videos are done professionally and well presented. I want to thank you so much for sharing your profound knowledgeable.

  • @yehboy8550
    @yehboy8550 Před 3 lety +5

    I'm still impressed that all of this is just made up of very tiny transistors

    • @9numbernine
      @9numbernine Před 3 lety +5

      I still can't imagine how do they produce something so complicated and so small at the same time

  • @yawzheek6722
    @yawzheek6722 Před 7 lety +33

    I'm actually surprised at how low-level these videos get. Not complaining, just a bit of a shock, as many CS courses just gloss over architecture and go to algorithms.

    • @verdatum
      @verdatum Před 7 lety +5

      Courses generally don't, but if you major in CS, you'll pretty much always end up taking a Computer Hardware course that covers all this, but in still-greater detail.

    • @jamesgreenwood1703
      @jamesgreenwood1703 Před 6 lety

      I mean it is an overview, not like a CS degree on YT.

  • @andreagondova9211
    @andreagondova9211 Před 6 lety

    This is such a marvellous series!! Thank you so much for the wonderful introduction into computer science!:)

  • @BlueyMcPhluey
    @BlueyMcPhluey Před 7 lety

    can I just say I'm LOVING this series

  • @Thulgon
    @Thulgon Před 7 lety +71

    Seriously? You're talking about [insert topic here] and you didn't even mention [insert overlooked stuff here]?

  • @rachelalaine1914
    @rachelalaine1914 Před 6 lety +10

    I think I'm in love with Computer Science, I'm only 15!

    • @Starjester1
      @Starjester1 Před 5 lety +3

      I recommend looking at codeacademy or khan academy to learn more!

    • @autofocus4556
      @autofocus4556 Před 5 lety +6

      No one cares

    • @mazapanputrefacto3299
      @mazapanputrefacto3299 Před 4 lety +4

      Rachel your enthusiasm for life reminds me of my dear daughter, sweet and loving and with a bright future ahead of herself. She killed herself a few months ago at the age of 17. No one suspected that she had depression and was constantly fighting with her inner daemons.

    • @user-gd6il5zb8l
      @user-gd6il5zb8l Před 4 lety

      Lol, this thread

    • @MidnightEkaki
      @MidnightEkaki Před 4 lety +5

      @@mazapanputrefacto3299 sorry for your loss but why do you feel the need to comment that? Perhaps you need to seek therapy instead of commenting something like this to a young girl

  • @chiquilio
    @chiquilio Před 7 lety +2

    I just saw this in class last week, the animations makes it really easy to understand :)

  • @leoashmountain3060
    @leoashmountain3060 Před 5 lety

    I have been looking for a video that explains this to me for such a long time. I've always had this gap in understanding computers and this video perfectly closes it. :D Great job!

  • @jimmyboy10709
    @jimmyboy10709 Před 7 lety +12

    You're missing 101 10 from your Full Adder truth table

  • @LorrTube
    @LorrTube Před 7 lety +16

    Is it me or has Carrie Anns sitting-posture improved greatly since her first episode?
    Btw, is there going to be an episode about silicone computing contra human brain computing? At this point there seems to be a lot of similarity, but human brains seems to be able to multiply without convoluted logic gates.

    • @MFMegaZeroX7
      @MFMegaZeroX7 Před 7 lety +7

      The brain is complicated. I mean, we don't use logic gates, but we use retrieve the multiplication answer we memorized through a request from neurons that get it from our memory area. For big numbers, we use an algorithm to do it (the multiplication one we teach elementary school students). Computer engineers have experimented with simulating this with lookup table hybrids with a faster algorithm. I think the faster algorithm is used on its own nowadays IIRC.

    • @joshuacook2
      @joshuacook2 Před 7 lety +2

      You might as well be comparing Conways game of life to a turing machine. Are the conceptual models of both able to solve any computationally solvable problem? Sure. Do they really have similare operational features, or is the conversion from one to the other obvious? No. Not at all. Its like trying to compare a rifle to a chainsaw because they can both break things. Yeah, there is something there, but not really.
      Of course, go up a few level of abstractions and they look similar again.

    • @robinbowman1926
      @robinbowman1926 Před 7 lety +2

      I would say that although the organisation of the brain is different than computers their are low level components that appear similar: neurons are like transistors, and neural nets are like logic gates.
      As for how humans do multiplication, I agree with MegaZeroX7, humans generally use lookup tables (memorization) to determine the answer to simple multiplication. I use a lookup table as reference and then offset from there (I know 5 x 7 = -7 + (6 x 7), and I have 6 x 7 = 42 memorized, so 42 - 7 = 35).

    • @verdatum
      @verdatum Před 7 lety +1

      Unfortunately, we've still got a ton to learn about how the brain works. At the moment, it's still kind of difficult to compare them. However, this show might address Neural Networks, which is slightly related to how the mind works. And btw, it's "silicon" not "silicone". Silicone is for stuff like heat-resistant rubber cookware and breast augmentations. Silicon is a metallic element that can be modified into a semiconducting material :-)

    • @saeedbaig4249
      @saeedbaig4249 Před 6 lety +1

      "Is it me or has Carrie Anns sitting-posture improved greatly since her first episode?"
      How do people notice these things?

  • @jayjayd
    @jayjayd Před 7 lety +2

    Every chapter makes me love a little more this CC!

  • @PocketRocketGaming
    @PocketRocketGaming Před 7 lety +1

    This and the astronomy series are my favorite please continue this!!!

  • @valdonchev7296
    @valdonchev7296 Před 7 lety +10

    Logic + Electricity = Math apparently.

  • @anttibjorklund1869
    @anttibjorklund1869 Před 7 lety +3

    "We just made a full adder!"
    A "Black Adder"?.... I'll get my coat.

    • @edwardliu111
      @edwardliu111 Před 7 lety +2

      Antti Björklund meh. Stay. It wasn't that funny.

  • @jorgegomes799
    @jorgegomes799 Před 7 lety +2

    thank you all for this course!

  • @pinklady7184
    @pinklady7184 Před 7 lety +2

    I hope you will continue making more videos on computer science. Hopefully, you will eventually get onto programming languages like C, C++, Java, etc. I love to see how you teach them to us. Your tutorials are brilliant. They make our brains swollen.

  • @FedJimSmith
    @FedJimSmith Před 7 lety +4

    Excellent explanation my dear. This course should be a prerequisite before studying computers formally

  • @wenxuan9440
    @wenxuan9440 Před 7 lety +3

    Does anyone also get the 42 reference at 00:11?

    • @featurepreacher9010
      @featurepreacher9010 Před 7 lety +1

      It refers to the answer for everything from the story "The HitchHiker's Guide To The Galaxy".

    • @wenxuan9440
      @wenxuan9440 Před 7 lety +1

      Feature Preacher Yessss😆

  • @ddobefaest9334
    @ddobefaest9334 Před 5 lety +2

    First off, this is great. Coming back after two years because I had to start intensive work since this first came out and couldn't wait for the episodes one at a time.
    I have to say at this point, you first drop the ball. After taking us step by step in precise detail about how each individual, fundamental step works on the construction, you suddenly zoom past the full adder part without taking the time to outline how it works in detail or show examples to demonstrate. Also, I think it helps to overstate the significance of xor gates essentially being single bit binary adders. To me, that helps acknowledge where that actual adding process is occurring in the circuit.
    You move up the level of abstraction too quickly here. Also, I know you come back to it after, but it's really not initially apparent where the first C input comes from in the full adder.
    v=VPw9vPN-3ac maybe this will help people if they want to go through it again slowly before moving past the full adder and actually understanding it.
    Remember A**ange \m/

  • @jorgeibarra6987
    @jorgeibarra6987 Před 9 měsíci

    I love the quality of this video. I just started a CS master's program and this topic has been racking my brain until I watched this. Thanks!

  • @thedemonlord8685
    @thedemonlord8685 Před 7 lety +5

    they say intel but why is there a Texas instruments logo on it?

  • @ianrbuck
    @ianrbuck Před 7 lety +30

    Why does that Intel ALU have the Texas Instruments logo on it?

    • @armorsmith43
      @armorsmith43 Před 7 lety +5

      Presumably they designed it. Here is its data sheet: www.ti.com/lit/ds/symlink/sn54ls181.pdf

    • @eddiesantos7232
      @eddiesantos7232 Před 7 lety +3

      When ever they said "Intel 74-181" they really mean Texas Instruments. Intel was still a start-up making RAM chips at the time that beast was incorporated into the mini computers of the time (late-60s, early-70s). See this for more info: www.righto.com/2017/03/inside-vintage-74181-alu-chip-how-it.html

    • @eddiesantos7232
      @eddiesantos7232 Před 7 lety +3

      CORRECTION: I'm scouring the internet and there's debate if it was TI or Fairchild that introduced it first... but I can't find any definitive source. It definitely wasn't Intel though. 😲

    • @ianrbuck
      @ianrbuck Před 7 lety

      Andrew Farrell wow, they even put the logic gate diagrams in there! Very cool.

    • @ianrbuck
      @ianrbuck Před 7 lety +1

      Eddie Santos thanks for the info! Intel certainly has come a long way since then.

  • @cpi23
    @cpi23 Před 5 měsíci

    this series is such a gem

  • @navintamilchelvam5761
    @navintamilchelvam5761 Před 4 lety

    Crash course is awesome. Cant wait to watch rest of this series..

  • @dhardingham
    @dhardingham Před 7 lety +12

    I need a 1/2 speed button :-)

    • @verdatum
      @verdatum Před 7 lety +4

      CZcams has one. Click the gear thingy on the lower right of the video.

    • @anuel3780
      @anuel3780 Před 7 lety

      You can choose x0.25, but it's useless because the audio is cut. Or, if you are up for the challenge, x2!

  • @Elesario
    @Elesario Před 7 lety +4

    Get ready to put your flip-flops on ;)

  • @binnieb173
    @binnieb173 Před 7 lety +2

    Loving the new series CC! Keep it up!

  • @asxcgbfc5112
    @asxcgbfc5112 Před 4 lety

    I am trully grateful for this content. Finally someone who can explain how a computer works from the order i wanted. Thank you! And if you guys are getting difficulty learning this just pause a lot and go back a lot.