1. Home
  2. Explore
  3. Computer Science
  4. Theory of Computation

Study methods

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

Theory of Computation

  • 71Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Computation Foundations
In 1936, Alan Turing invented the machine that provided a minimalistic definition of computation: the
machine.

71 questions

  1. 1
    In 1936, Alan Turing invented the machine that provided a minimalistic definition of computation: the
    _____
    machine.
    Hint

    It was named after the mathematician who introduced it.

    Answer

    Turing

  2. 2
    The mathematical challenge that motivated Turing's machine was whether mathematics could be
    _____
    .
    Hint

    The question concerned carrying out mathematical reasoning mechanically.

    Answer

    automated

  3. 3
    Before Turing's work, mathematicians had used the idea of computation without formally
    _____
    it.
    Hint

    The issue was giving the concept a precise meaning.

    Answer

    defining

  4. 4
    Turing's work showed that defining computation becomes especially necessary when proving that computation is
    _____
    .
    Hint

    A precise boundary is needed to show that something lies outside it.

    Answer

    impossible

  5. 5
    The principle that a very minimal system can perform every computable task is called
    _____
    .
    Hint

    It is the idea that it hardly takes anything to have everything.

    Answer

    universality

  6. 6
    A universal machine can be taught to perform different tasks by inserting the appropriate
    _____
    .
    Hint

    Think of software or encoded instructions supplied to the machine.

    Answer

    bit stream

  7. 7
    Turing proved that some simple-to-state mathematical problems are computationally
    _____
    .
    Hint

    No program can solve these problems in every case.

    Answer

    unsolvable

  8. 8
    The question of whether an arbitrary program eventually stops or runs forever is the
    _____
    problem.
    Hint

    It asks whether a program will halt or loop.

    Answer

    halting

  9. 9
    Because the halting problem is unsolvable, no program can generally determine whether another program is
    _____
    .
    Hint

    This concerns verifying the behavior of arbitrary programs.

    Answer

    correct

  10. 10
    Turing also studied the mind and helped define the field of
    _____
    intelligence.
    Hint

    This field attempts to construct systems with intelligent behavior.

    Answer

    artificial

  11. 11
    Turing's results made computer science aware of its own
    _____
    from the beginning.
    Hint

    These are boundaries on what computation can accomplish.

    Answer

    limitations

  12. 12
    Ten years after Turing's foundational work, von Neumann helped define what a physical
    _____
    is.
    Hint

    His work connected abstract computation with a built machine.

    Answer

    computer

  13. 13
    Moore's Law describes the approximate doubling of computer capability every
    _____
    .
    Hint

    The interval is about eighteen months.

    Answer

    year and a half

  14. 14
    The lecture characterized Moore's Law primarily as a social phenomenon rather than a
    _____
    phenomenon.
    Hint

    Its continuation depends on interactions among science, business, and society.

    Answer

    physical

  15. 15
    The three forces that pulled one another through the progress associated with Moore's Law were science, business, and
    _____
    .
    Hint

    This was the third part of the lecture's triad.

    Answer

    society

  16. 16
    The second major engine of information technology identified in the lecture was
    _____
    algorithms.
    Hint

    These algorithms allow faster hardware to produce practical gains.

    Answer

    fast

  17. 17
    A dramatic increase in computer speed must be coupled with
    _____
    algorithms to produce useful gains.
    Hint

    The algorithms must avoid excessive growth in running time.

    Answer

    efficient

  18. 18
    If an algorithm takes exponential time, it gains essentially no advantage from
    _____
    Law.
    Hint

    This law concerns the continuing growth of computer capability.

    Answer

    Moore's

  19. 19
    The classical algorithm for multiplying two nnn by nnn matrices requires an order of
    _____
    operations.
    Hint

    There are n2n^2n2 output entries, each requiring order nnn work.

    Answer

    n3n^3n3

  20. 20
    In asymptotic notation, the phrase order of n3n^3n3 hides constant factors and lower-order
    _____
    .
    Hint

    The exact classical expression includes a squared term.

    Answer

    terms

  21. 21
    Volker Strassen challenged the belief that matrix multiplication could not be performed faster than
    _____
    time.
    Hint

    This was the running time of the classical algorithm.

    Answer

    n3n^3n3

  22. 22
    Strassen's matrix multiplication method recursively treats a large matrix as a
    _____
    matrix whose entries are smaller matrices.
    Hint

    His method began with a special procedure for the smallest block structure.

    Answer

    two by two

  23. 23
    The key improvement in Strassen's two-by-two method was reducing the number of multiplications to
    _____
    .
    Hint

    The usual method would use eight block multiplications.

    Answer

    seven

  24. 24
    The lower-bound problem mentioned in the lecture was eventually proved using a
    _____
    method.
    Hint

    The proof relies on randomness.

    Answer

    probabilistic

  25. 25
    The two main ways randomness helps in computer science are guarding against bad inputs and testing between competing
    _____
    .
    Hint

    Sampling helps determine which of two possible explanations is consistent with evidence.

    Answer

    hypotheses

  26. 26
    Randomization can protect an algorithm from an adversary who deliberately supplies
    _____
    inputs.
    Hint

    The adversary tries to make the algorithm perform poorly.

    Answer

    bad

  27. 27
    Quicksort uses
    _____
    to reduce the risk of poor performance caused by unfavorable inputs.
    Hint

    Its choice of pivot can be made randomly.

    Answer

    randomization

  28. 28
    For testing whether a large number is prime, Fermat's theorem provides a condition involving modular exponentiation that a prime number should
    _____
    .
    Hint

    The test checks whether the number behaves as Fermat's theorem predicts.

    Answer

    satisfy

  29. 29
    If a number is composite, many sampled values can act as
    _____
    to the Fermat-based primality test.
    Hint

    They expose that the number fails the expected prime property.

    Answer

    witnesses

  30. 30
    Repeating the randomized primality test many times makes the probability of an incorrect conclusion extremely
    _____
    .
    Hint

    The lecture used 2−1002^{-100}2−100 as an example of an acceptable error probability.

    Answer

    small

  31. 31
    The lecture described random graphs using the classical model developed by Erdos and
    _____
    .
    Hint

    These two Hungarian mathematicians gave the model its name.

    Answer

    Renyi

  32. 32
    In the Erdos-Renyi random graph model, each possible edge is included independently with a fixed
    _____
    .
    Hint

    The example used a 1% chance for each pair.

    Answer

    probability

  33. 33
    A graph is called an
    _____
    when it cannot be disconnected by removing only a cheap or small set of nodes.
    Hint

    This property reflects strong connectivity and resistance to being split apart.

    Answer

    expander

  34. 34
    The surprising computational contrast underlying modern cryptography is that primality testing is easy while
    _____
    is hard.
    Hint

    The difficult task is recovering the factors of a number.

    Answer

    factoring

  35. 35
    The best-known factoring algorithm described in the lecture has running time
    _____
    in the number of bits.
    Hint

    Its running time grows too quickly for large inputs.

    Answer

    exponential

  36. 36
    The class P contains problems solvable in
    _____
    time.
    Hint

    These problems have efficient algorithms whose running time grows as a polynomial of input size.

    Answer

    polynomial

  37. 37
    In the lecture's informal description, NP contains problems solvable by
    _____
    exhaustive search.
    Hint

    The search may require examining an exponentially large number of candidate solutions.

    Answer

    exponential

  38. 38
    NP-complete problems are described as the
    _____
    problems in NP.
    Hint

    Every problem in NP can be related to these problems through reductions.

    Answer

    hardest

  39. 39
    Most researchers believe that
    _____
    is not equal to NP.
    Hint

    This is the central unresolved question in complexity theory.

    Answer

    P

  40. 40
    A polynomial-time transformation from one problem to another is called a
    _____
    .
    Hint

    It shows that an algorithm for one problem could solve another.

    Answer

    reduction

  41. 41
    To prove that a new problem is NP-complete, one reduces a known
    _____
    problem to it.
    Hint

    The source problem must already be known to be among the hardest problems in NP.

    Answer

    NP-complete

  42. 42
    Stephen Cook proved in 1971 that Boolean satisfiability, or
    _____
    , is NP-complete.
    Hint

    The problem asks whether a Boolean formula has a satisfying assignment.

    Answer

    SAT

  43. 43
    The problem of splitting numbers into two equal parts is an example of a problem that appears to require
    _____
    time.
    Hint

    The number of possible partitions grows rapidly with input size.

    Answer

    exponential

  44. 44
    Matching boys and girls can be solved in polynomial time, with the cited champion algorithm running in time n2.55n^{2.55}n2.55, so it is considered
    _____
    .
    Hint

    Polynomial-time problems are generally treated as efficiently solvable.

    Answer

    tractable

  45. 45
    Matching boys, girls, and pets is a three-way matching problem that was described as computationally
    _____
    .
    Hint

    Adding the third type makes the problem fundamentally more difficult.

    Answer

    hard

  46. 46
    Finding whether a social network contains a clique of 60 mutually connected people was presented as a problem whose efficient solution is
    _____
    .
    Hint

    The speaker said, “We don't know how to do this.”

    Answer

    unknown

  47. 47
    The problem of covering the alphabet with as few given words as possible is called
    _____
    cover.
    Hint

    It asks for a small collection of sets whose union covers all required elements.

    Answer

    set

  48. 48
    In practice, proving that a problem is NP-complete does not mean abandoning it; researchers may seek an approximation, heuristic, or
    _____
    .
    Hint

    The lecture emphasized trying alternative practical approaches rather than expecting an exact efficient algorithm.

    Answer

    something

  49. 49
    The PCP theorem addresses whether certain NP problems can be solved approximately or within a specified
    _____
    .
    Hint

    It concerns approximation rather than requiring a perfect solution.

    Answer

    tolerance

  50. 50
    The lecture presented theoretical computer science as a methodology whose goal is often to identify the
    _____
    problem rather than directly solve every problem.
    Hint

    The focus is on asking an algorithmic question that fits the available framework.

    Answer

    right

  51. 51
    The lecture distinguished
    _____
    learning, in which examples are provided with target information, from unsupervised learning.
    Hint

    The speaker said he would discuss this form while another speaker would discuss its counterpart.

    Answer

    supervised

  52. 52
    The expert's problem is an example of
    _____
    learning.
    Hint

    The learner makes a choice repeatedly and receives feedback after each choice.

    Answer

    online

  53. 53
    In the expert's problem, the learner repeatedly chooses one of
    _____
    financial experts.
    Hint

    The scenario involves six newspaper columns.

    Answer

    six

  54. 54
    The outcomes in the expert's problem can be
    _____
    because they may be chosen to prevent the learner from doing well.
    Hint

    They are not assumed to come from a fixed probability distribution.

    Answer

    adversarial

  55. 55
    The goal of the expert's problem is to perform nearly as well as the
    _____
    expert over many rounds.
    Hint

    The learner does not need to identify the expert in advance.

    Answer

    best

  56. 56
    The strategy that solves the expert's problem is called the Monte Carlo
    _____
    weights algorithm.
    Hint

    It updates the relative importance of experts after each outcome.

    Answer

    multiplicative

  57. 57
    The multiplicative weights algorithm begins by assigning every expert an equal probability of
    _____
    .
    Hint

    There are six experts and the initial distribution is uniform.

    Answer

    1/6

  58. 58
    After each round, the multiplicative weights method increases the probabilities of experts who performed
    _____
    .
    Hint

    Their weights are boosted relative to the others.

    Answer

    better

  59. 59
    The multiplicative weights update uses a
    _____
    constant so that the updated values remain probabilities.
    Hint

    The values must sum to one after the update.

    Answer

    normalizing

  60. 60
    For small values of the learning parameter, the multiplicative update using 1+ϵ1 + \epsilon1+ϵ is approximately equivalent to using
    _____
    .
    Hint

    The exponential form is the more standard mathematical expression.

    Answer

    eϵe^\epsiloneϵ

  61. 61
    The multiplicative weights algorithm guarantees expected performance within approximately log⁡nT\sqrt{\frac{\log n}{T}}Tlogn​​ of the best expert, where nnn is the number of experts and TTT is the number of rounds; this type of guarantee is called a
    _____
    bound.
    Hint

    It measures how far the learner falls behind the best fixed choice in hindsight.

    Answer

    regret

  62. 62
    The multiplicative weights algorithm has applications in convex programming, network congestion, and
    _____
    .
    Hint

    In this field, the method is known as AdaBoost.

    Answer

    AI

  63. 63
    In AI, the multiplicative weights method is known by the name
    _____
    .
    Hint

    The name combines adaptive behavior with boosting.

    Answer

    AdaBoost

  64. 64
    The lecture described computer science as having worked productively with other sciences, including
    _____
    and evolution.
    Hint

    This field applies computational methods to biological questions.

    Answer

    computational biology

  65. 65
    The Wallacean fallacy concerns the mistaken assumption that a trait must have been directly used by
    _____
    in order to exist.
    Hint

    The example asks how a population could have a piano-related ability without historically needing it.

    Answer

    selection

  66. 66
    The lesson that a small mechanism can support many different capabilities connects universality with biological
    _____
    .
    Hint

    The lecture used the Wallacean fallacy as an example from this field.

    Answer

    evolution

  67. 67
    The lecture proposed that randomness may be needed more extensively in models of the
    _____
    .
    Hint

    This was the neuroscience-related modeling challenge mentioned from Wolfgang Maass's talk.

    Answer

    brain

  68. 68
    The lecture's broader goal was to bring theoretical computer science into contact with another field, particularly
    _____
    .
    Hint

    The audience included researchers studying the brain.

    Answer

    neuroscience

  69. 69
    The speaker described his introduction to theoretical computer science as a cultural
    _____
    of the field.
    Hint

    The aim was to explain the language, behavior, and history of a scholarly “tribe.”

    Answer

    anthropology

  70. 70
    The Internet was described as having changed
    _____
    about information technology.
    Hint

    It transformed how people use and think about computers.

    Answer

    everything

  71. 71
    Early operating systems and compilers required many personal-years to build, but later became reasonable projects for university
    _____
    .
    Hint

    The speaker contrasted early engineering effort with later educational assignments.

    Answer

    courses

1 of 71
Question 1 of 71

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent