Logic circuits | AP CSP (article) | Khan Academy (2024)

Want to join the conversation?

Log in

  • lucassmithca

    5 years agoPosted 5 years ago. Direct link to lucassmithca's post “What would happen with mo...”

    What would happen with more complex chains with changing variables? Like an "if" statement changes A variable into what B variable is at that moment. Wouldn't that change an entire logic chain?

    (11 votes)

    • pamela ❤

      5 years agoPosted 5 years ago. Direct link to pamela ❤'s post “A circuit that relies on ...”

      From the author:A circuit that relies on variables is known as a "sequential circuit". Sequential circuits must have a way maintain "state"; to retrieve and updates values in memory.

      The diagram in this article shows how a sequential circuit involves both a combinational circuit (what we've learned here) and memory elements:
      https://www.tutorialspoint.com/digital_circuits/digital_circuits_sequential_circuits.htm

      Just like combinational logic circuits, memory is also often implemented as an electronic circuit (https://en.wikipedia.org/wiki/Memory_cell_(computing)).

      (7 votes)

  • grayson.scantlin

    a year agoPosted a year ago. Direct link to grayson.scantlin's post “OoOooOooOOooooOOOOooOoooo...”

    OoOooOooOOooooOOOOooOooooOooooOOOOOO

    (7 votes)

  • parvinrajah

    4 years agoPosted 4 years ago. Direct link to parvinrajah's post “How come when A is 1 and ...”

    How come when A is 1 and B is 0 when it goes through the "and" gate it is 0 and not 1

    (3 votes)

    • KLaudano

      4 years agoPosted 4 years ago. Direct link to KLaudano's post “The AND gate only outputs...”

      The AND gate only outputs 1 when both of its inputs equal 1.

      (4 votes)

  • Leaf Productions

    2 years agoPosted 2 years ago. Direct link to Leaf Productions's post “I understood all of this,...”

    I understood all of this, but can you make a video or article about doing computation with these logic gates? Like multiplication or division with these?

    (4 votes)

  • Dunsin Adelaja

    4 years agoPosted 4 years ago. Direct link to Dunsin Adelaja's post “what is AND?”

    what is AND?

    (3 votes)

    • Hecretary Bird

      4 years agoPosted 4 years ago. Direct link to Hecretary Bird's post “AND is a logic operator t...”

      AND is a logic operator that outputs a true if both of the values that it inputs are true, and false if both of the values are false. If one input is true and the other is false, the output of the AND (&&) operator is false.

      (3 votes)

  • esethna20

    a year agoPosted a year ago. Direct link to esethna20's post “How can I understand logi...”

    How can I understand logic gates better?

    (2 votes)

  • Luna Rivera

    5 years agoPosted 5 years ago. Direct link to Luna Rivera's post “In what ways are these ch...”

    In what ways are these chips used? How do programmers recognize and remember all of them?

    (2 votes)

    • Evan

      4 years agoPosted 4 years ago. Direct link to Evan's post “Programmers don't actuall...”

      Programmers don't actually have to remember what all of the logic circuits and chips do, just that they work reliably to do what they need them to do.
      Put more simply, they don't need to know how exactly it works, just that it does work.
      Hope this helps! (:

      (2 votes)

  • druidwhite

    3 years agoPosted 3 years ago. Direct link to druidwhite's post “Hi there, can I ask if I ...”

    Hi there, can I ask if I put numeric value of AND like 1 and another one is 0. When reached OR value, I put 1, does it will become 1 or 0?

    (2 votes)

    • elveratan89

      3 years agoPosted 3 years ago. Direct link to elveratan89's post “an AND gate will only tur...”

      an AND gate will only turn on when both inputs are 1
      which means the AND output is 0. an OR will be on unless it's inputs are both on, so the output will be 1

      (1 vote)

  • AbigailG

    21 days agoPosted 21 days ago. Direct link to AbigailG's post “a la la la la la a la la ...”

    a la la la la la a la la la la la la la la

    (1 vote)

  • JaylenS

    3 months agoPosted 3 months ago. Direct link to JaylenS's post “an AND gate leads to an O...”

    an AND gate leads to an OR gate. The circuit has three inputs (A, B, C) and a single output and the output is 0

    and input C is 0

    what could be the possible states of inputs A and B?

    (1 vote)

Logic circuits | AP CSP (article) | Khan Academy (2024)

References

Top Articles
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 5813

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.