1. Home
  2. Explore
  3. Computer Science
  4. How Computers Work

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

How Computers Work

  • 39Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Transistors and CMOS
Computers treat information as binary, where a high voltage represents a value of
.

39 questions

  1. 1
    Computers treat information as binary, where a high voltage represents a value of
    _____
    .
    Hint

    Think about the two possible voltage levels in a digital circuit.

    Answer

    1

  2. 2
    An N-channel MOSFET acts like a push-to-make switch, meaning it conducts when the gate voltage is
    _____
    .
    Hint

    Consider which type of MOSFET closes the circuit when a high voltage is applied.

    Answer

    high

  3. 3
    A P-channel MOSFET acts like a push-to-break switch, meaning it breaks the circuit when the gate voltage is
    _____
    .
    Hint

    Contrast with the N-channel behavior.

    Answer

    high

  4. 4
    The technique of using pairs of N-channel and P-channel MOSFETs with connected gates is called
    _____
    .
    Hint

    The acronym stands for Complementary Metal-Oxide-Semiconductor.

    Answer

    CMOS

  5. 5
    Silicon doped with gallium (three valence electrons) becomes P-type, while doping with arsenic (five valence electrons) creates
    _____
    -type silicon.
    Hint

    Consider the number of valence electrons relative to silicon's four.

    Answer

    N

  6. 6
    The three layers of a MOSFET are metal, oxide, and
    _____
    .
    Hint

    The acronym MOSFET stands for Metal-Oxide-Semiconductor Field-Effect Transistor.

    Answer

    semiconductor

  7. 7
    The process of building transistors on a die using deposition and etching is called
    _____
    .
    Hint

    It literally means 'writing on stone'.

    Answer

    lithography

  8. 8
    A material that blocks etching in certain areas is called a
    _____
    .
    Hint

    It is sensitive to light and used in patterning.

    Answer

    photoresist

  9. 9
    A NOT gate outputs the opposite of its input; in CMOS, it is implemented by swapping the positions of the two
    _____
    .
    Hint

    Think about how the N-channel and P-channel are arranged to invert the input.

    Answer

    MOSFETs

  10. 10
    The AND gate outputs 1 only when both inputs are 1, and its complementary gate is called
    _____
    .
    Hint

    The complementary gate is the opposite of AND.

    Answer

    NAND

  11. 11
    The XOR gate outputs 1 when inputs are different, and its complement is called
    _____
    .
    Hint

    The complement of XOR gives 1 when inputs are the same.

    Answer

    XNOR

  12. 12
    The NAND gate is considered
    _____
    because any other logic gate can be constructed from it.
    Hint

    This property means that with enough NAND gates, you can build any digital circuit.

    Answer

    universal

  13. 13
    A three-input AND gate can be made by connecting two
    _____
    gates in series.
    Hint

    Think about combining two 2-input gates to handle three inputs.

    Answer

    AND

  14. 14
    In base 2, the digits are 0 and 1, called
    _____
    .
    Hint

    It stands for binary digit.

    Answer

    bits

  15. 15
    The binary number 101 in base 10 equals
    _____
    .
    Hint

    Consider the powers of 2: 4, 2, 1.

    Answer

    5

  16. 16
    A group of 8 bits is called a
    _____
    .
    Hint

    It is the standard unit for storage in modern computers.

    Answer

    byte

  17. 17
    Adding two 1-bit numbers A and B produces a sum bit that is the output of an XOR gate and a carry bit that is the output of an
    _____
    gate.
    Hint

    The carry is 1 only when both inputs are 1.

    Answer

    AND

  18. 18
    Multiplying a binary number by 2 in base 10 is equivalent to a
    _____
    operation.
    Hint

    It involves moving each bit to the left.

    Answer

    bit shift

  19. 19
    To subtract or compare numbers, computers use networks of
    _____
    gates.
    Hint

    These are the basic building blocks for arithmetic.

    Answer

    logic

  20. 20
    In a signed binary number, the leading bit indicates the sign: 0 for positive and
    _____
    for negative.
    Hint

    The leftmost bit is used as a sign flag.

    Answer

    1

  21. 21
    A circuit that can store a single bit of data is called a
    _____
    .
    Hint

    It uses feedback to hold its output.

    Answer

    latch

  22. 22
    A group of 8 latches forms a
    _____
    .
    Hint

    It stores a byte of data.

    Answer

    register

  23. 23
    The
    _____
    synchronizes operations in a computer by switching voltage at a specific rate.
    Hint

    It provides regular timing signals.

    Answer

    clock

  24. 24
    Random access memory (RAM) uses
    _____
    to store data, which need to be refreshed periodically.
    Hint

    These components store charge and leak over time.

    Answer

    capacitors

  25. 25
    The memory hierarchy includes cache, RAM, and hard disk; cache is the
    _____
    (fastest/slowest) to access.
    Hint

    It is small but very quick.

    Answer

    fastest

  26. 26
    Each byte in RAM has a unique
    _____
    which is itself a binary number.
    Hint

    Like a post box number.

    Answer

    address

  27. 27
    In the von Neumann architecture, both data and
    _____
    are stored in the same memory.
    Hint

    This includes the program code.

    Answer

    instructions

  28. 28
    A jump instruction causes the program to
    _____
    to a specified memory address.
    Hint

    It changes the flow of execution.

    Answer

    jump

  29. 29
    A conditional jump only executes the jump if a certain condition is met, such as two numbers being
    _____
    .
    Hint

    Use a comparison circuit like XNOR gates.

    Answer

    equal

  30. 30
    A computer that can perform any computation given enough memory and time is called
    _____
    .
    Hint

    Named after Alan Turing.

    Answer

    Turing complete

  31. 31
    A high-level programming language is translated into machine instructions by a program called a
    _____
    .
    Hint

    It converts source code to executable code.

    Answer

    compiler

  32. 32
    A reusable block of instructions that can be called from different parts of a program is called a
    _____
    .
    Hint

    Also known as a method.

    Answer

    function

  33. 33
    A pixel on a display consists of three light sources: red, green, and
    _____
    .
    Hint

    These are the primary colors of light.

    Answer

    blue

  34. 34
    The brightness of each subpixel is typically represented by a value from 0 to
    _____
    .
    Hint

    The maximum value for an unsigned byte.

    Answer

    255

  35. 35
    To draw a line between two points, an algorithm like
    _____
    can be used.
    Hint

    It uses integer arithmetic to step along the line.

    Answer

    Bresenham

  36. 36
    Speakers produce sound by moving a
    _____
    back and forth to create pressure waves.
    Hint

    It is attached to a magnet and coil.

    Answer

    membrane

  37. 37
    When a key is pressed on a keyboard, it makes an electrical contact between a horizontal and
    _____
    row in the key matrix.
    Hint

    The grid allows identifying the specific key.

    Answer

    vertical

  38. 38
    A mouse sends messages to the computer including its change in
    _____
    along the x and y axes.
    Hint

    It reports movement relative to the surface.

    Answer

    position

  39. 39
    The entire process of computing builds up from CMOS pairs to
    _____
    gates, then to logic gates, instructions, and finally programs.
    Hint

    This gate is universal and can be made from CMOS.

    Answer

    NAND

1 of 39
Question 1 of 39

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent