1. Home
  2. Explore
  3. Computer Science
  4. Counter Machines vs Turing Machines

Study methods

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

Counter Machines vs Turing Machines

  • 30Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Turing Machines
A Turing machine is described as a universal model of computation that can calculate basically anything a
can do.

30 questions

  1. 1
    A Turing machine is described as a universal model of computation that can calculate basically anything a
    _____
    can do.
    Hint

    Think about the broad category of devices that perform calculations and data processing.

    Answer

    computer

  2. 2
    A Turing machine features an infinite
    _____
    divided into individual cells, where symbols are written.
    Hint

    This component is used for storage in a Turing machine and is conceptually similar to a physical recording medium.

    Answer

    tape

  3. 3
    The symbols typically written on a Turing machine's tape are from a zero and one
    _____
    .
    Hint

    This term refers to the set of allowed characters or symbols for a given system.

    Answer

    alphabet

  4. 4
    The component that moves across the Turing machine's tape, reading and writing symbols, is called a tape
    _____
    .
    Hint

    Think of the part of a tape recorder that interacts with the tape.

    Answer

    head

  5. 5
    Turing machines derive their computing power from instructions that dictate actions based on the current state and the
    _____
    being read.
    Hint

    These instructions depend on two factors: the internal state and the data encountered on the tape.

    Answer

    symbol

  6. 6
    No computational devices found so far have been shown to
    _____
    a Turing machine.
    Hint

    This implies that Turing machines represent a theoretical upper bound for computational power.

    Answer

    outperform

  7. 7
    Unlike Turing machines with their tapes, counter machines use individual
    _____
    which can be thought of as opaque bags.
    Hint

    These are the fundamental storage units in a counter machine.

    Answer

    counters

  8. 8
    In a counter machine, the primary operations are adding a counter, subtracting a counter, and checking if a counter is
    _____
    .
    Hint

    This operation determines if a counter currently holds any value.

    Answer

    empty

  9. 9
    One cannot 'peek inside' a counter to see its exact value because doing so would itself be a
    _____
    task.
    Hint

    If a counter holds a very large number, determining its value instantly is not a simple action.

    Answer

    computational

  10. 10
    Despite their simple operations, counter machines are just as
    _____
    as a Turing machine.
    Hint

    This implies they have equivalent computational capabilities.

    Answer

    powerful

  11. 11
    The 'Hello World' of counters involves the simplest operation, which is to
    _____
    a counter.
    Hint

    This action aims to set a counter's value back to zero.

    Answer

    reset

  12. 12
    To reset a counter, one repeatedly
    _____
    one from it until it is empty.
    Hint

    This operation removes individual items from the counter.

    Answer

    subtracts

  13. 13
    A state machine diagram is similar to the visual representation of counter machine operations, but the labels on the edges tell us what the machine is
    _____
    .
    Hint

    These labels describe the actions or operations performed by the machine, not just inputs.

    Answer

    doing

  14. 14
    When adding two counters (e.g., C2 to C1), the contents of C2 are
    _____
    in the process.
    Hint

    This means the original value of one of the source counters is lost.

    Answer

    destroyed

  15. 15
    To perform a copy operation from C2 to C4 without destroying C2, an additional
    _____
    counter is needed.
    Hint

    This extra counter acts as an intermediate storage space.

    Answer

    temporary

  16. 16
    When copying from C2 to C4 using a temporary counter T, items are first moved from C2 to both C4 and
    _____
    .
    Hint

    This is the intermediate storage counter used to preserve the original C2 value.

    Answer

    T

  17. 17
    After transferring items to C4 and the temporary counter T during a copy operation, the contents of
    _____
    are then moved back into C2.
    Hint

    This step restores the original value of the source counter.

    Answer

    T

  18. 18
    To double the contents of a counter (e.g., C1), items are moved from C1 into a temporary storage, adding
    _____
    counters to temporary storage for each one removed from C1.
    Hint

    Think about the multiplication factor needed for doubling.

    Answer

    two

  19. 19
    Halving the value of a counter involves subtracting
    _____
    from the source counter and adding one to the temporary storage.
    Hint

    Consider how many items need to be processed to produce one item in the halved result.

    Answer

    two

  20. 20
    When halving a counter with an odd number of items, a
    _____
    of one is typically disregarded or can be stored separately.
    Hint

    What happens when you divide an odd number by two?

    Answer

    remainder

  21. 21
    Simulating a Turing machine with counter machines requires capturing the information stored on the Turing machine's tape inside the
    _____
    .
    Hint

    These are the storage units of a counter machine.

    Answer

    counters

  22. 22
    The information on a Turing machine's tape is conceptually split into three pieces for counter machine simulation: left of the tape head, right of the tape head, and the symbol
    _____
    the tape head.
    Hint

    This refers to the exact position of the tape head.

    Answer

    under

  23. 23
    When representing tape content in binary, the numbers are arranged so that the bits closest to the tape head are the least
    _____
    bits.
    Hint

    This relates to the positional value of digits in a binary number.

    Answer

    significant

  24. 24
    Moving the tape head one square to the right on a Turing machine can be simulated by
    _____
    the C1 counter's value and adding the contents of C2.
    Hint

    This operation is equivalent to a bit shift to the left in binary representation.

    Answer

    doubling

  25. 25
    When moving the tape head to the right, the C3 counter's value (representing the right part of the tape) is
    _____
    by two, effectively a right bit shift.
    Hint

    This operation is the inverse of doubling and corresponds to a bit shift to the right.

    Answer

    halved

  26. 26
    The value of C2, representing the symbol under the tape head, becomes the
    _____
    of C3 when divided by two when moving right.
    Hint

    This is what's 'pushed out' from the right-hand binary number during a right shift.

    Answer

    remainder

  27. 27
    To write a zero on the tape head, the corresponding counter C2 simply needs to be
    _____
    .
    Hint

    This operation sets the counter's value back to zero.

    Answer

    reset

  28. 28
    To write a one on the tape head, the counter C2 is first reset to zero and then
    _____
    by one.
    Hint

    This operation adds a single unit to the counter.

    Answer

    incremented

  29. 29
    A read operation for the tape head is determined by checking what is in the
    _____
    counter (C2), which should only ever be zero or one.
    Hint

    This counter specifically holds the symbol currently under the tape head.

    Answer

    C2

  30. 30
    To read a 'one' from counter C2, one must temporarily
    _____
    one from it and add it to a temporary counter to check if it was not empty.
    Hint

    This is the only way to indirectly 'look' inside a counter without a direct peek.

    Answer

    subtract

1 of 30
Question 1 of 30

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent