1. Home
  2. Explore
  3. Computer Science
  4. Turing Machines and Chocolate Computing

Study methods

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

Turing Machines and Chocolate Computing

  • 66Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Turing Foundations
A Turing machine is a simple theoretical model of
.

66 questions

  1. 1
    A Turing machine is a simple theoretical model of
    _____
    .
    Hint

    Think about the general process that computers perform.

    Answer

    computation

  2. 2
    Alan Turing developed the Turing machine to explore what
    _____
    could possibly do.
    Hint

    Consider the machines that carry out computations.

    Answer

    computers

  3. 3
    The original Turing machine was a
    _____
    rather than a physical computer.
    Hint

    It described computation as an idea before actual computers existed.

    Answer

    mathematical model

  4. 4
    Each ordinary Turing machine described in the content has an embedded program for one
    _____
    .
    Hint

    It is like a gadget designed to perform a particular task.

    Answer

    fixed job

  5. 5
    A Turing machine can perform any computation that a computer can perform, although it may be
    _____
    .
    Hint

    The limitation mentioned is about speed, not the kinds of computations possible.

    Answer

    slower

  6. 6
    The original conception of a computer involved a human
    _____
    instructions.
    Hint

    The person carried out each prescribed step.

    Answer

    following

  7. 7
    In the model, computation is fundamentally the
    _____
    of symbols.
    Hint

    The important activity is changing or handling symbols according to rules.

    Answer

    manipulation

  8. 8
    Symbols used for computation can be made from many different physical materials, because their meaning depends on the agreed
    _____
    .
    Hint

    The material itself is less important than the conventions governing its use.

    Answer

    rules

  9. 9
    A Turing machine is useful for exploring the
    _____
    of what computation can do.
    Hint

    It helps investigate what computers can and cannot compute.

    Answer

    limits

  10. 10
    A computation begins with an initial tape, processes it, and can produce an output when the machine
    _____
    .
    Hint

    The output is considered after the process has ended.

    Answer

    stops

  11. 11
    The unbounded storage area of a Turing machine is its
    _____
    .
    Hint

    It is divided into positions that hold symbols and serves as the machine's memory.

    Answer

    infinite tape

  12. 12
    The tape acts as the Turing machine's
    _____
    .
    Hint

    It stores the symbols used during computation.

    Answer

    memory

  13. 13
    The component that reads the current tape symbol and can write a replacement is the
    _____
    .
    Hint

    It points to one tape position at a time.

    Answer

    read/write head

  14. 14
    In the described model, the head moves from tape position to tape position, while the tape can instead be viewed as moving beneath a stationary
    _____
    .
    Hint

    The two descriptions are equivalent ways to picture relative movement.

    Answer

    head

  15. 15
    The machine's current situation is recorded by its
    _____
    .
    Hint

    This component keeps track of which state the machine is in.

    Answer

    state register

  16. 16
    A Turing machine must have a
    _____
    of possible states.
    Hint

    The number of states is fixed rather than unbounded.

    Answer

    finite set

  17. 17
    The state in which a Turing machine begins is its
    _____
    .
    Hint

    It identifies the machine's initial control state.

    Answer

    start state

  18. 18
    The state that indicates a Turing machine has finished is its
    _____
    .
    Hint

    The machine halts when it reaches this designated state.

    Answer

    stop state

  19. 19
    The finite collection of rules that controls a particular machine is its
    _____
    .
    Hint

    It is the machine's built-in program.

    Answer

    instruction table

  20. 20
    In a Turing machine, the only component that is infinite is the
    _____
    .
    Hint

    The other elements, including the states and instruction table, are finite.

    Answer

    tape

  21. 21
    The symbol set must include a designated
    _____
    that represents an empty tape position.
    Hint

    It can be represented by the absence of a mark or object.

    Answer

    blank symbol

  22. 22
    The symbols permitted on the tape are chosen from a specified
    _____
    .
    Hint

    The machine's alphabet may include symbols such as 0 and 1.

    Answer

    set of symbols

  23. 23
    The symbols allowed in the initial input may be all the machine's symbols or only a
    _____
    .
    Hint

    The initial tape does not necessarily have to use every writable symbol.

    Answer

    subset

  24. 24
    An instruction can specify a replacement symbol, a head movement, and a change to the machine's
    _____
    .
    Hint

    This control value records the machine's situation after the rule is applied.

    Answer

    state

  25. 25
    An instruction applies when its conditions match both the current state and the symbol
    _____
    the head.
    Hint

    The head points to the tape cell whose symbol is checked.

    Answer

    under

  26. 26
    An instruction table can be understood as a collection of
    _____
    rules.
    Hint

    Each rule specifies what to do when a particular condition is met.

    Answer

    if-then

  27. 27
    When no instruction applies to the current situation, the machine
    _____
    .
    Hint

    Without a matching rule, it has no next action to take.

    Answer

    stops

  28. 28
    The machine repeatedly chooses a rule based on its state and the symbol being
    _____
    .
    Hint

    The head first examines the symbol at its current position.

    Answer

    read

  29. 29
    A rule can move the head one position in either the left or the
    _____
    direction.
    Hint

    The two possible directions are opposites along the tape.

    Answer

    right

  30. 30
    A rule that leaves the current tape symbol unchanged still may move the head and change the
    _____
    .
    Hint

    The tape is not the only part of a machine's configuration that can change.

    Answer

    state

  31. 31
    The order in which a machine follows successive instructions is an example of
    _____
    in programming.
    Hint

    This is the idea of carrying out steps one after another.

    Answer

    sequence

  32. 32
    Repeating instructions by returning to earlier states demonstrates
    _____
    .
    Hint

    This programming concept is also known as looping.

    Answer

    repetition

  33. 33
    Choosing among rules according to the current state and symbol demonstrates
    _____
    .
    Hint

    This programming concept involves choosing an action based on a condition.

    Answer

    selection

  34. 34
    A Turing machine's tape can hold numbers using binary, decimal, or another chosen
    _____
    .
    Hint

    The same number can be encoded in different ways.

    Answer

    representation

  35. 35
    A decimal representation of numbers requires ten symbols, from zero through
    _____
    .
    Hint

    These are the ten digits used in base ten.

    Answer

    nine

  36. 36
    In unary representation, the number five is encoded using five repeated
    _____
    .
    Hint

    The quantity is represented by counting identical marks.

    Answer

    marks

  37. 37
    Unary representation is easy to demonstrate because the quantity is shown directly by the number of
    _____
    .
    Hint

    To read the represented quantity, count the repeated symbols.

    Answer

    marks

  38. 38
    To distinguish two unary numbers on one tape, the numbers can be separated by a
    _____
    .
    Hint

    This symbol marks the boundary between the two groups.

    Answer

    blank symbol

  39. 39
    In the example of adding unary two and unary three, moving one mark into the gap produces
    _____
    marks in a row.
    Hint

    Combine the two represented quantities.

    Answer

    five

  40. 40
    A simple unary addition method can convert the first symbol of one number and then fill the separating
    _____
    with a mark.
    Hint

    The blank between the two numbers is the location used in this method.

    Answer

    gap

  41. 41
    A Turing machine that adds two to a unary number can scan to the number's end and change two blank positions into
    _____
    .
    Hint

    In unary, adding two means extending the group by two units.

    Answer

    marks

  42. 42
    To return the head to the beginning after adding to a unary number, the machine needs extra instructions that move it
    _____
    .
    Hint

    The head must retrace the tape toward the number's starting end.

    Answer

    back

  43. 43
    In binary, appending a zero to the end of a number is equivalent to multiplying it by
    _____
    .
    Hint

    Appending a binary digit shifts the number one place in its positional system.

    Answer

    two

  44. 44
    A Turing machine can double a binary number by scanning to its end and replacing the first blank there with a
    _____
    .
    Hint

    This is the digit appended to double a binary value.

    Answer

    zero

  45. 45
    To finish the described binary-doubling task with the head back near the start, the machine can move
    _____
    over the number.
    Hint

    This is the direction from the end of the number toward its beginning.

    Answer

    left

  46. 46
    A binary-doubling machine needs three tape symbols: blank, one, and
    _____
    .
    Hint

    It is the other binary digit besides one.

    Answer

    zero

  47. 47
    A different unary-addition algorithm can preserve the number's starting position by removing a mark from the
    _____
    of the second number.
    Hint

    This method changes the final mark rather than the first mark.

    Answer

    end

  48. 48
    Turing machines can use sequence, selection, and
    _____
    to carry out computation.
    Hint

    These are presented as the three core parts of program control.

    Answer

    repetition

  49. 49
    Because they have sequence, selection, and repetition, Turing machines can perform any
    _____
    .
    Hint

    These control structures are described as sufficient for general computing.

    Answer

    computation

  50. 50
    The computational power of a Turing machine does not depend on whether its symbols are made from chocolate, figures, or another
    _____
    .
    Hint

    The physical substance is not what determines what the machine computes.

    Answer

    material

  51. 51
    The statement that a Turing machine can perform anything a standard computer can compute concerns computational
    _____
    rather than speed.
    Hint

    It describes which tasks can be computed, not how quickly they are done.

    Answer

    power

  52. 52
    A Turing machine can be designed to compute tasks carried out by present-day computers and by computers in the
    _____
    .
    Hint

    The claim extends beyond computers that exist now.

    Answer

    future

  53. 53
    The tape must be unbounded because a computation might require more space than has been used
    _____
    .
    Hint

    The amount of space required may not be predictable in advance.

    Answer

    before

  54. 54
    A tape may be defined as infinite in one direction or in both directions without changing the basic idea of the
    _____
    .
    Hint

    These are alternative conventions for the tape's extent.

    Answer

    machine

  55. 55
    Changing which moves—the head or the tape—does not fundamentally change the model because only their relative
    _____
    matters.
    Hint

    Either description tracks the same positions in relation to one another.

    Answer

    movement

  56. 56
    A Turing machine can compute any computation that is
    _____
    to perform.
    Hint

    The claim excludes tasks that cannot be computed at all.

    Answer

    possible

  57. 57
    A
    _____
    Turing machine can simulate other Turing machines rather than being restricted to one fixed task.
    Hint

    Its defining feature is that it can represent and imitate many different machines.

    Answer

    universal

  58. 58
    In a universal Turing machine, the simulated machine's instruction table is represented on the
    _____
    .
    Hint

    The rules themselves become encoded data for the universal machine.

    Answer

    tape

  59. 59
    A universal Turing machine also stores a representation of the simulated machine's current
    _____
    .
    Hint

    This information is needed to determine which simulated rule applies.

    Answer

    state

  60. 60
    The universal machine's tape can contain the simulated machine's initial tape as well as its encoded rules and current
    _____
    .
    Hint

    This is the control information that changes as the simulated computation proceeds.

    Answer

    state

  61. 61
    A universal Turing machine's own fixed instructions explain how to
    _____
    the encoded machine description on its tape.
    Hint

    It must read the encoded rules and determine what they mean.

    Answer

    interpret

  62. 62
    To simulate a step, a universal machine finds an encoded instruction matching the simulated state and the symbol under the simulated
    _____
    .
    Hint

    The simulated head identifies the tape position whose symbol is checked.

    Answer

    head

  63. 63
    After finding a matching simulated instruction, the universal machine updates the simulated tape and the simulated head's
    _____
    .
    Hint

    The instruction may direct the simulated head to move along the tape.

    Answer

    position

  64. 64
    A universal Turing machine separates the program from the task-specific information by encoding both the rules and input as
    _____
    .
    Hint

    The machine reads this information from its tape rather than having every task built into a different machine.

    Answer

    data

  65. 65
    The universal Turing machine introduced the idea of a
    _____
    program that specifies what a machine should do.
    Hint

    The instructions are kept as information rather than being permanently built into a task-specific machine.

    Answer

    stored

  66. 66
    A universal Turing machine can simulate any other Turing machine when its description and input are encoded appropriately on the
    _____
    .
    Hint

    This is where the machine reads the simulated program and data.

    Answer

    tape

1 of 66
Question 1 of 66

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent