Theory of Computation
- 71Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
71 questions
- 1In 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
- 2The mathematical challenge that motivated Turing's machine was whether mathematics could be_____.
Hint
The question concerned carrying out mathematical reasoning mechanically.
Answer
automated
- 3Before 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
- 4Turing'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
- 5The 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
- 6A 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
- 7Turing proved that some simple-to-state mathematical problems are computationally_____.
Hint
No program can solve these problems in every case.
Answer
unsolvable
- 8The 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
- 9Because 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
- 10Turing also studied the mind and helped define the field of_____intelligence.
Hint
This field attempts to construct systems with intelligent behavior.
Answer
artificial
- 11Turing's results made computer science aware of its own_____from the beginning.
Hint
These are boundaries on what computation can accomplish.
Answer
limitations
- 12Ten 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
- 13Moore's Law describes the approximate doubling of computer capability every_____.
Hint
The interval is about eighteen months.
Answer
year and a half
- 14The 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
- 15The 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
- 16The second major engine of information technology identified in the lecture was_____algorithms.
Hint
These algorithms allow faster hardware to produce practical gains.
Answer
fast
- 17A 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
- 18If 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
- 19The classical algorithm for multiplying two n by n matrices requires an order of_____operations.
Hint
There are n2 output entries, each requiring order n work.
Answer
n3
- 20In asymptotic notation, the phrase order of n3 hides constant factors and lower-order_____.
Hint
The exact classical expression includes a squared term.
Answer
terms
- 21Volker 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
n3
- 22Strassen'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
- 23The 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
- 24The lower-bound problem mentioned in the lecture was eventually proved using a_____method.
Hint
The proof relies on randomness.
Answer
probabilistic
- 25The 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
- 26Randomization can protect an algorithm from an adversary who deliberately supplies_____inputs.
Hint
The adversary tries to make the algorithm perform poorly.
Answer
bad
- 27Quicksort uses_____to reduce the risk of poor performance caused by unfavorable inputs.
Hint
Its choice of pivot can be made randomly.
Answer
randomization
- 28For 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
- 29If 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
- 30Repeating the randomized primality test many times makes the probability of an incorrect conclusion extremely_____.
Hint
The lecture used 2−100 as an example of an acceptable error probability.
Answer
small
- 31The lecture described random graphs using the classical model developed by Erdos and_____.
Hint
These two Hungarian mathematicians gave the model its name.
Answer
Renyi
- 32In 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
- 33A 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
- 34The 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
- 35The 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
- 36The 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
- 37In 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
- 38NP-complete problems are described as the_____problems in NP.
Hint
Every problem in NP can be related to these problems through reductions.
Answer
hardest
- 39Most researchers believe that_____is not equal to NP.
Hint
This is the central unresolved question in complexity theory.
Answer
P
- 40A 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
- 41To 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
- 42Stephen 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
- 43The 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
- 44Matching boys and girls can be solved in polynomial time, with the cited champion algorithm running in time n2.55, so it is considered_____.
Hint
Polynomial-time problems are generally treated as efficiently solvable.
Answer
tractable
- 45Matching 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
- 46Finding 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
- 47The 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
- 48In 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
- 49The 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
- 50The 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
- 51The 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
- 52The expert's problem is an example of_____learning.
Hint
The learner makes a choice repeatedly and receives feedback after each choice.
Answer
online
- 53In the expert's problem, the learner repeatedly chooses one of_____financial experts.
Hint
The scenario involves six newspaper columns.
Answer
six
- 54The 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
- 55The 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
- 56The 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
- 57The 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
- 58After each round, the multiplicative weights method increases the probabilities of experts who performed_____.
Hint
Their weights are boosted relative to the others.
Answer
better
- 59The 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
- 60For small values of the learning parameter, the multiplicative update using 1+ϵ is approximately equivalent to using_____.
Hint
The exponential form is the more standard mathematical expression.
Answer
eϵ
- 61The multiplicative weights algorithm guarantees expected performance within approximately Tlogn of the best expert, where n is the number of experts and T 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
- 62The multiplicative weights algorithm has applications in convex programming, network congestion, and_____.
Hint
In this field, the method is known as AdaBoost.
Answer
AI
- 63In AI, the multiplicative weights method is known by the name_____.
Hint
The name combines adaptive behavior with boosting.
Answer
AdaBoost
- 64The 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
- 65The 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
- 66The 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
- 67The 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
- 68The 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
- 69The 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
- 70The Internet was described as having changed_____about information technology.
Hint
It transformed how people use and think about computers.
Answer
everything
- 71Early 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

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