Theory of Computation
- 62Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What mathematical question motivated Turing's invention of the Turing machine in 1936?
What mathematical question motivated Turing's invention of the Turing machine in 1936?
62 questions
- 1
What mathematical question motivated Turing's invention of the Turing machine in 1936?
- A
Whether mathematical reasoning could be automated
- B
Whether computers could communicate across networks
- C
Whether physical machines could store unlimited energy
- D
Whether biological neurons could simulate logic gates
Correct answer
AWhether mathematical reasoning could be automated
Explanation
Turing introduced the machine concept to address whether the mathematical procedures being used could be automated.
- A
- 2
What important concept did the Turing machine provide for the first time?
- A
A formal definition of computation
- B
A physical design for modern computers
- C
A programming language for electronic circuits
- D
A statistical model of neural activity
Correct answer
AA formal definition of computation
Explanation
The Turing machine gave mathematics a minimalistic formal conception of what computation is.
- A
- 3
Why was it especially important to define computation when studying its limits?
- A
Proving impossibility requires specifying what counts as computation
- B
A definition is needed only to build physical computers
- C
Undefined computation always requires exponential search
- D
Defining computation automatically makes every problem solvable
Correct answer
AProving impossibility requires specifying what counts as computation
Explanation
To prove that computation cannot accomplish something, one must first precisely characterize the computational processes being considered.
- A
- 4
What does computational universality imply?
- A
More hardware is always required for each additional task
- B
Random inputs are necessary for every computation
- C
Every machine performs only the task for which it was built
- D
A minimal machine can perform many tasks when given suitable instructions
Correct answer
DA minimal machine can perform many tasks when given suitable instructions
Explanation
Universality means that a single sufficiently capable machine can be taught to perform different tasks by supplying the appropriate program or bit stream.
- A
- 5
What relationship between hardware and software is illustrated by universality?
- A
Different tasks require permanently different machines
- B
Hardware becomes unnecessary when software is sufficiently complex
- C
One machine can perform different tasks through different programs
- D
Software determines the physical speed of every machine
Correct answer
COne machine can perform different tasks through different programs
Explanation
A universal machine can be reused for many purposes by changing the instructions inserted into it.
- A
- 6
Which result of Turing established a fundamental limitation of computation?
- A
Randomized algorithms always outperform deterministic algorithms
- B
Some simply stated mathematical problems are unsolvable
- C
All mathematical problems can be solved efficiently
- D
Every computer program eventually produces an output
Correct answer
BSome simply stated mathematical problems are unsolvable
Explanation
Turing proved that there are computational problems for which no algorithm can always produce a solution.
- A
- 7
What does the halting problem ask about a program?
- A
Whether the program uses more memory than its input
- B
Whether the program can be translated into another language
- C
Whether the program eventually stops or runs forever
- D
Whether the program produces mathematically correct results
Correct answer
CWhether the program eventually stops or runs forever
Explanation
The halting problem asks whether a given program, on a given input, will halt or loop indefinitely.
- A
- 8
Which conclusion follows from the unsolvability of the halting problem?
- A
Programs cannot be used to analyze other programs
- B
No program can ever be tested on any particular input
- C
Every program must contain at least one infinite loop
- D
No program can decide halting for every possible program and input
Correct answer
DNo program can decide halting for every possible program and input
Explanation
Because the halting problem is undecidable, no general program can correctly determine halting behavior in all cases.
- A
- 9
Why does the halting problem also limit automatic program analysis?
- A
There can be no universal program that always detects correctness or viruses
- B
Correctness can be decided only by running every program forever
- C
Virus detection is possible only for programs written in machine code
- D
Program analysis is impossible whenever a program has more than one line
Correct answer
AThere can be no universal program that always detects correctness or viruses
Explanation
Questions such as whether a program is correct, prints anything, or behaves like a virus can encode undecidable behavior, so no universal decision procedure exists.
- A
- 10
What broader attitude did undecidability give computer science?
- A
An assumption that physical computers are always unreliable
- B
A belief that all useful problems are computationally easy
- C
An early awareness of the field's inherent limitations
- D
A rejection of mathematical reasoning in computer science
Correct answer
CAn early awareness of the field's inherent limitations
Explanation
Computer science became unusually conscious of its limits from the beginning because undecidable problems were identified as the field was being founded.
- A
- 11
What was von Neumann's major contribution described in the lecture?
- A
He invented the first randomized sorting algorithm
- B
He established the PCP theorem for approximation
- C
He helped define and build the modern computer
- D
He proved that factoring is harder than primality testing
Correct answer
CHe helped define and build the modern computer
Explanation
Influenced by Turing, von Neumann helped define the computer and participated in building one.
- A
- 12
What is the classical operation count for multiplying two n×n matrices?
- A
It requires order nlogn operations
- B
It requires order n3 operations
- C
It requires order n2 operations
- D
It requires order 2n operations
Correct answer
BIt requires order n3 operations
Explanation
The classical algorithm computes n2 output entries, each using order n work, for a total of order n3 operations.
- A
- 13
Which expression gives the more precise classical operation count mentioned for matrix multiplication?
- A
n3+n2
- B
2n3−n2
- C
n3−2n2
- D
2n2−n
Correct answer
B2n3−n2
Explanation
The lecture gives the classical count as 2n3−n2, while emphasizing that its asymptotic order is n3.
- A
- 14
What did Strassen's matrix multiplication algorithm demonstrate?
- A
Matrix multiplication can be performed asymptotically faster than order n3
- B
Matrix multiplication is equivalent to an NP-complete problem
- C
Matrix multiplication requires randomness to produce correct results
- D
Matrix multiplication cannot be improved beyond exactly n3 operations
Correct answer
AMatrix multiplication can be performed asymptotically faster than order n3
Explanation
Strassen showed that the apparent cubic barrier could be beaten by using a different recursive algorithm.
- A
- 15
What key idea allowed Strassen's recursive method to improve matrix multiplication?
- A
A random method using one multiplication per entry
- B
A 2×2 method using twelve multiplications
- C
A 1×1 method using no additions
- D
A 2×2 method using seven multiplications
Correct answer
DA 2×2 method using seven multiplications
Explanation
Strassen's method used a 2×2 multiplication scheme requiring seven multiplications rather than the usual eight, and applied it recursively.
- A
- 16
How does asymptotic notation such as order n3 simplify an operation count?
- A
It suppresses constant factors and lower-order terms
- B
It gives the exact number of elementary operations
- C
It applies only when the input size is exactly n
- D
It guarantees that the algorithm is practical for all inputs
Correct answer
AIt suppresses constant factors and lower-order terms
Explanation
Asymptotic notation focuses on growth rate while hiding constants and lower-order terms.
- A
- 17
Why are fast algorithms essential for benefiting from faster hardware?
- A
Algorithmic efficiency matters only when hardware speed is constant
- B
Fast hardware automatically makes exponential algorithms efficient
- C
Faster hardware eliminates the need to analyze running time
- D
Efficient algorithms convert increased hardware speed into application gains
Correct answer
DEfficient algorithms convert increased hardware speed into application gains
Explanation
A large increase in computer capability provides little benefit if the algorithm's growth rate is so high that it cannot exploit the faster hardware.
- A
- 18
What is one major way randomization protects an algorithm?
- A
It reduces the ability of an adversary to force consistently bad inputs
- B
It converts every exponential algorithm into a linear algorithm
- C
It removes the need to inspect the structure of any input
- D
It guarantees the algorithm always returns the exact optimum
Correct answer
AIt reduces the ability of an adversary to force consistently bad inputs
Explanation
Random choices can prevent an adversary from reliably arranging inputs that produce the algorithm's worst behavior.
- A
- 19
How does random sampling help distinguish competing hypotheses?
- A
It replaces hypotheses with an exact description of the data
- B
It proves both hypotheses are true whenever samples agree
- C
It tests whether observed evidence is more consistent with one hypothesis
- D
It guarantees that every sample will contradict one hypothesis
Correct answer
CIt tests whether observed evidence is more consistent with one hypothesis
Explanation
Sampling can provide evidence for or against competing explanations, especially when one hypothesis is likely to produce detectable violations.
- A
- 20
How is randomization used in randomized quicksort?
- A
It helps prevent specially arranged inputs from causing poor performance
- B
It makes the output approximate rather than correctly sorted
- C
It sorts entries without comparing any pairs of entries
- D
It guarantees the same sequence of comparisons on every run
Correct answer
AIt helps prevent specially arranged inputs from causing poor performance
Explanation
Randomization in quicksort helps protect against adversarial or unusually unfavorable input orderings.
- A
- 21
What is the basic probabilistic strategy for testing whether a large number is prime?
- A
Check whether the number has an even number of decimal digits
- B
Factor the number completely before declaring it prime
- C
Repeatedly test whether randomly selected bases satisfy a modular condition
- D
Compare the number only with the first several prime numbers
Correct answer
CRepeatedly test whether randomly selected bases satisfy a modular condition
Explanation
The randomized test selects values A and checks whether they satisfy the modular condition predicted by Fermat's theorem.
- A
- 22
According to Fermat's theorem as used in the primality test, what should happen for a prime N and a suitable A less than N?
- A
ANmodN should equal N−1
- B
ANmodN should equal A+N
- C
ANmodN should equal A
- D
ANmodN should equal 0
Correct answer
CANmodN should equal A
Explanation
For a prime N and suitable A, Fermat's theorem gives AN≡A(modN).
- A
- 23
What does a base that violates the Fermat condition indicate in the randomized primality test?
- A
The modular computation must have overflowed
- B
The tested number is definitely not prime
- C
The selected base must itself be composite
- D
The tested number is definitely prime
Correct answer
BThe tested number is definitely not prime
Explanation
A violation is a certificate that the number is composite, whereas passing the test provides probabilistic rather than immediate certainty.
- A
- 24
Why can repeated randomized primality tests be considered reliable in practice?
- A
Random testing proves primality after one successful trial
- B
The probability of repeated failure can be made extremely small
- C
The test examines every possible factor of the number
- D
Every composite number violates the test for exactly one base
Correct answer
BThe probability of repeated failure can be made extremely small
Explanation
Repeated trials reduce the probability of incorrectly accepting a composite number; the lecture illustrates an error probability such as 2−100.
- A
- 25
What is the defining construction rule of an Erdős–Rényi random graph?
- A
A single randomly chosen node is connected to every other node
- B
Each node is connected to exactly the same number of neighbors
- C
Edges are added only between nodes with similar labels
- D
Each possible edge is included independently with a fixed probability
Correct answer
DEach possible edge is included independently with a fixed probability
Explanation
In the described model, every pair of nodes receives an independent random decision about whether an edge exists.
- A
- 26
What does it mean for a graph to be an expander?
- A
The graph has the maximum possible number of edges
- B
Every pair of nodes is connected by exactly one path
- C
The graph contains no cycles of any length
- D
Separating a substantial part of the graph requires removing many nodes or edges
Correct answer
DSeparating a substantial part of the graph requires removing many nodes or edges
Explanation
An expander resists being cheaply disconnected: isolating a portion requires paying a substantial boundary cost.
- A
- 27
Why can a random graph's global properties often be predicted without seeing the specific graph?
- A
Random graphs contain no meaningful variation between instances
- B
Its independent construction rule makes typical structural properties mathematically analyzable
- C
All random graphs generated with the same parameters are identical
- D
The construction rule directly lists every path and triangle
Correct answer
BIts independent construction rule makes typical structural properties mathematically analyzable
Explanation
Although individual graphs differ, the probabilistic model allows researchers to predict likely properties such as connectivity, diameter, and numbers of triangles.
- A
- 28
What contrast between primality testing and factoring supports modern cryptography?
- A
Primality can be tested efficiently, while finding factors is believed to be hard
- B
Factoring is efficient, while primality testing is believed to be impossible
- C
Both primality testing and factoring require known exponential algorithms
- D
Neither problem has useful algorithms for large numbers
Correct answer
APrimality can be tested efficiently, while finding factors is believed to be hard
Explanation
The lecture emphasizes the striking dichotomy that determining whether a number is prime is comparatively easy, whereas finding its factors is computationally difficult.
- A
- 29
What is the significance of the difficulty of factoring for cryptography?
- A
Cryptographic security can rely on the practical difficulty of recovering factors
- B
Cryptography becomes unnecessary when primality can be tested
- C
Encryption works only when all numbers are known to be prime
- D
Factoring difficulty guarantees that every cryptographic system is secure
Correct answer
ACryptographic security can rely on the practical difficulty of recovering factors
Explanation
Modern cryptography uses problems such as factoring as computational tasks that are easy to verify or use but difficult to reverse efficiently.
- A
- 30
What characterizes a polynomial-time problem in the lecture?
- A
It can be solved in time bounded by a polynomial in input size
- B
It has no algorithm but can be approximated randomly
- C
It can be solved only by checking every possible solution
- D
It requires time proportional to an exponential function of input size
Correct answer
AIt can be solved in time bounded by a polynomial in input size
Explanation
The class P consists of problems solvable in polynomial time.
- A
- 31
What does the class NP represent in the lecture's description?
- A
Problems whose inputs must be generated randomly
- B
Problems that always require polynomial time to solve
- C
Problems whose solutions can be found by exhaustive search in exponential time
- D
Problems that cannot be solved by any computer
Correct answer
CProblems whose solutions can be found by exhaustive search in exponential time
Explanation
The lecture informally describes NP as including problems solvable by searching through an exponential number of candidate solutions.
- A
- 32
What does it mean for a problem to be NP-complete?
- A
It is outside NP and cannot have efficiently checked solutions
- B
It is equivalent only to the problem of factoring integers
- C
It is solvable in constant time for every input
- D
It is among the hardest problems in NP under polynomial-time reductions
Correct answer
DIt is among the hardest problems in NP under polynomial-time reductions
Explanation
NP-complete problems are the hardest problems in NP in the sense that every problem in NP can be reduced to them.
- A
- 33
What is a reduction used for in complexity theory?
- A
It converts every exponential algorithm into a polynomial one
- B
It transforms instances of one problem into instances of another problem
- C
It estimates the probability that an algorithm makes an error
- D
It removes all difficult inputs from a problem definition
Correct answer
BIt transforms instances of one problem into instances of another problem
Explanation
A reduction shows how an algorithm for one problem could be used to solve another by transforming one problem's instances into the other's.
- A
- 34
How can a reduction help prove that a new problem is NP-complete?
- A
By proving that the new problem uses more memory than NP allows
- B
By reducing a known NP-complete problem to the new problem
- C
By finding a random instance that takes exponential time
- D
By showing that the new problem has no possible solution
Correct answer
BBy reducing a known NP-complete problem to the new problem
Explanation
To establish NP-completeness, one reduces an already known NP-complete problem to the problem under study, along with showing the problem belongs to NP.
- A
- 35
What was the role of SAT in the history of NP-completeness?
- A
Cook showed that SAT can always be solved in constant time
- B
Cook proved that SAT is the only problem in NP
- C
Cook used SAT to prove that factoring is undecidable
- D
Cook proved in 1971 that Boolean satisfiability is NP-complete
Correct answer
DCook proved in 1971 that Boolean satisfiability is NP-complete
Explanation
Stephen Cook's 1971 theorem established Boolean satisfiability, or SAT, as the first recognized NP-complete problem.
- A
- 36
Which problem is described as polynomial-time solvable?
- A
Finding a large clique in a social network
- B
Choosing the fewest words that cover the alphabet
- C
Matching boys and girls in a two-sided matching problem
- D
Matching boys, girls, and pets simultaneously
Correct answer
CMatching boys and girls in a two-sided matching problem
Explanation
The two-sided matching problem can be solved in polynomial time, whereas the lecture presents the other examples as hard problems.
- A
- 37
Why does adding a third type of participant make the matching problem much harder?
- A
The number of participants necessarily becomes infinite
- B
Three-way matching requires random numbers to define preferences
- C
Three-way compatibility constraints create an NP-complete structure
- D
Two-sided matching algorithms cannot store three kinds of labels
Correct answer
CThree-way compatibility constraints create an NP-complete structure
Explanation
The lecture contrasts efficiently solvable two-sided matching with three-way matching, which is presented as computationally hard.
- A
- 38
Which statement correctly compares number partitioning and network-distance computation?
- A
Both problems are presented as requiring exhaustive exponential search
- B
Both problems are presented as solvable only with randomized algorithms
- C
Partitioning is linear time, while graph distance is undecidable
- D
Partitioning is presented as hard, while graph distance can be found in linear time
Correct answer
DPartitioning is presented as hard, while graph distance can be found in linear time
Explanation
The lecture describes splitting numbers into equal parts as difficult, while determining whether someone is within a specified social-network distance can be done in linear time.
- A
- 39
Which task is presented as computationally hard?
- A
Determining whether two people are connected by a short path
- B
Matching boys and girls in a two-sided setting
- C
Adding two lists of numerical values
- D
Determining whether a social network contains a clique of sixty people
Correct answer
DDetermining whether a social network contains a clique of sixty people
Explanation
The lecture contrasts efficient shortest-path-style distance computation with the difficult task of finding a large fully connected clique.
- A
- 40
What is the set cover problem described in the lecture?
- A
Determining whether every word in a list is mathematically prime
- B
Grouping words so that each group contains the same letters
- C
Selecting as few given words as possible to cover every letter of the alphabet
- D
Finding the shortest path that visits every word in a dictionary
Correct answer
CSelecting as few given words as possible to cover every letter of the alphabet
Explanation
Set cover asks for a small collection of sets—in the example, words whose letters collectively cover the alphabet.
- A
- 41
What is the practical meaning of proving a problem NP-complete?
- A
It guarantees that every practical instance requires exponential time
- B
It shows that no approximate solution can ever be useful
- C
It suggests seeking heuristics, approximations, or special tractable cases
- D
It proves that the problem should never be studied again
Correct answer
CIt suggests seeking heuristics, approximations, or special tractable cases
Explanation
NP-completeness indicates that a universally efficient exact algorithm is unlikely, so researchers often explore approximation, heuristics, or restricted instances.
- A
- 42
What does the unresolved P versus NP question ask?
- A
Whether randomness is more powerful than arithmetic
- B
Whether all hard problems are impossible rather than merely inefficient
- C
Whether every computer can simulate a universal Turing machine
- D
Whether every problem whose solutions can be searched or verified efficiently is itself efficiently solvable
Correct answer
DWhether every problem whose solutions can be searched or verified efficiently is itself efficiently solvable
Explanation
The central question is whether P=NP, meaning whether the broad class of efficiently verifiable or searchable problems collapses to the efficiently solvable class.
- A
- 43
How does the lecture characterize the role of NP-completeness in scientific practice?
- A
It is a theoretical tool for identifying promising questions and tractable cases
- B
It is a method for guaranteeing optimal solutions to hard problems
- C
It is a practical claim that every real instance is hopeless
- D
It is a replacement for experiments in all scientific fields
Correct answer
AIt is a theoretical tool for identifying promising questions and tractable cases
Explanation
The speaker presents intractability as a way to sort problems and instances, identify limits, and guide the search for better questions.
- A
- 44
What does the PCP theorem contribute to the study of hard problems?
- A
It helps classify whether certain problems can be approximated effectively
- B
It proves that every NP-complete problem has an exact linear-time algorithm
- C
It defines the physical architecture of a modern computer
- D
It establishes that random graphs model the brain exactly
Correct answer
AIt helps classify whether certain problems can be approximated effectively
Explanation
The lecture describes the PCP theorem as addressing approximability, distinguishing problems such as splitting from problems such as clique.
- A
- 45
What is the distinction between supervised and unsupervised learning mentioned in the lecture?
- A
Supervised learning uses labeled guidance, whereas unsupervised learning does not
- B
Supervised learning is computationally hard, whereas unsupervised learning is always easy
- C
Supervised learning always uses randomness, whereas unsupervised learning never does
- D
Supervised learning concerns graphs, whereas unsupervised learning concerns only matrices
Correct answer
ASupervised learning uses labeled guidance, whereas unsupervised learning does not
Explanation
The lecture distinguishes the speaker's discussion of supervised learning from another discussion focused on unsupervised learning; supervised learning conventionally involves labeled examples.
- A
- 46
What is the setup of the online expert learning problem?
- A
Each day, choose one expert and compare its outcome with the other experts' outcomes
- B
Choose one fixed expert once and ignore all later outcomes
- C
Assign every expert a permanent ranking before any data arrive
- D
Observe the correct investment in advance and imitate it exactly
Correct answer
AEach day, choose one expert and compare its outcome with the other experts' outcomes
Explanation
The learner repeatedly chooses one of several experts, observes the day's outcomes, and uses the history to guide later choices.
- A
- 47
What makes the expert-learning environment adversarial?
- A
The sequence of outcomes may be chosen to reduce the learner's performance
- B
The outcomes are sampled independently from a known probability distribution
- C
The learner is allowed to alter the experts' predictions
- D
The experts are required to reveal their future advice
Correct answer
AThe sequence of outcomes may be chosen to reduce the learner's performance
Explanation
An adversarial setting need not have a prior distribution; outcomes can be selected, even with knowledge of the learner's behavior, to make learning difficult.
- A
- 48
What performance goal is sought in the online expert problem?
- A
To outperform every expert on every individual day
- B
To guarantee a positive payoff regardless of all outcomes
- C
To perform nearly as well as the best expert in hindsight
- D
To identify the best expert before observing any outcomes
Correct answer
CTo perform nearly as well as the best expert in hindsight
Explanation
The goal is low regret: after many rounds, the learner's cumulative performance should be close to that of the best expert selected retrospectively.
- A
- 49
How does the multiplicative weights algorithm initialize the six experts?
- A
It assigns each expert probability 1/2
- B
It assigns each expert probability 1/6
- C
It assigns one expert probability 1 and the others probability 0
- D
It assigns probabilities proportional to the experts' names
Correct answer
BIt assigns each expert probability 1/6
Explanation
The algorithm begins with equal probability for all six experts, so each receives 1/6.
- A
- 50
How does multiplicative weights update the experts' probabilities?
- A
It permanently eliminates every expert who performs poorly once
- B
It increases the weights of better-performing experts and renormalizes them
- C
It increases all weights by the same fixed additive amount
- D
It assigns equal probability again after every round
Correct answer
BIt increases the weights of better-performing experts and renormalizes them
Explanation
The algorithm boosts experts that perform better, reduces the relative influence of poorer performers, and divides by a normalizing constant so the weights form probabilities.
- A
- 51
What guarantee does multiplicative weights provide in the expert problem?
- A
Its expected performance approaches the best expert with average gap on the order of Tlogn
- B
Its guarantee depends only on the number of experts and not on the number of rounds
- C
Its performance equals the best expert exactly after the first round
- D
Its average gap from the best expert grows on the order of T2
Correct answer
AIts expected performance approaches the best expert with average gap on the order of Tlogn
Explanation
The lecture states a bound of roughly Tlogn for the expected average difference from the best expert after T rounds.
- A
- 52
What does the regret guarantee imply as the number of rounds increases?
- A
The learner must identify which expert is best before the process ends
- B
The learner's performance becomes independent of all observed outcomes
- C
The learner eventually performs worse than every expert
- D
The learner's average performance becomes increasingly close to that of the best expert
Correct answer
DThe learner's average performance becomes increasingly close to that of the best expert
Explanation
Because Tlogn decreases as T grows, the average performance gap shrinks over time.
- A
- 53
Which application is associated with multiplicative weights in artificial intelligence?
- A
AdaBoost
- B
Quicksort
- C
Fermat testing
- D
Set cover
Correct answer
AAdaBoost
Explanation
The lecture identifies AdaBoost as an AI application of the multiplicative-weights idea.
- A
- 54
Why is multiplicative weights considered an especially influential algorithmic idea?
- A
It solves every NP-complete problem in polynomial time
- B
A simple update rule applies across economics, game theory, AI, and optimization
- C
It works only when all experts behave identically
- D
It requires a known probability distribution for every environment
Correct answer
BA simple update rule applies across economics, game theory, AI, and optimization
Explanation
The same basic procedure has appeared in several fields and has been applied to problems including convex programming and network congestion.
- A
- 55
What two developments are identified as major engines of information technology?
- A
Cryptography and unsupervised learning
- B
Random graphs and biological evolution
- C
Operating systems and mathematical incompleteness
- D
Moore's Law and fast algorithms
Correct answer
DMoore's Law and fast algorithms
Explanation
The lecture identifies continuing hardware improvement through Moore's Law and algorithmic efficiency as complementary drivers.
- A
- 56
What trend is described by Moore's Law in the lecture?
- A
Computer storage decreased by half every year and a half
- B
Computer capability increased by exactly one unit every decade
- C
Algorithmic running time doubled whenever hardware improved
- D
Computer capability approximately doubled every year and a half for many decades
Correct answer
DComputer capability approximately doubled every year and a half for many decades
Explanation
Moore's Law is described as the approximate doubling of computer capability every eighteen months over a long period.
- A
- 57
Why does the lecture describe Moore's Law as partly a social phenomenon?
- A
The trend was caused entirely by random variation in manufacturing
- B
The trend resulted solely from an immutable law of physics
- C
The trend occurred because software automatically doubles in size
- D
Prediction, competition, business plans, and societal demand reinforced the trend
Correct answer
DPrediction, competition, business plans, and societal demand reinforced the trend
Explanation
The speaker characterizes Moore's Law as a self-reinforcing interaction among science, business competition, and society.
- A
- 58
Why would Moore's Law provide little benefit without fast algorithms?
- A
Exponential algorithms always produce incorrect answers
- B
Fast hardware cannot execute mathematical operations
- C
Exponential-time algorithms can consume the hardware gains too quickly
- D
Algorithms determine whether transistors physically exist
Correct answer
CExponential-time algorithms can consume the hardware gains too quickly
Explanation
If an algorithm grows exponentially with input size, faster hardware may not make larger practical instances feasible, so hardware gains must be paired with efficient algorithms.
- A
- 59
Which sequence best describes the historical emphasis of computer science in the lecture?
- A
It first focused on cryptography and later rejected algorithms
- B
It first focused heavily on computers and later increasingly focused on the Internet
- C
It first focused on biology and later defined computation
- D
It first focused on neuroscience and later abandoned all engineering
Correct answer
BIt first focused heavily on computers and later increasingly focused on the Internet
Explanation
The lecture describes roughly fifty years of intense study of the computer itself, followed by a period in which the Internet became central.
- A
- 60
Which development is presented as transforming the role of computers in society?
- A
The invention of random graphs
- B
The discovery of Fermat's theorem
- C
The proof of the PCP theorem
- D
The emergence of the Internet
Correct answer
DThe emergence of the Internet
Explanation
The lecture says that the Internet changed everything and made people primarily users and students of an interconnected digital environment.
- A
- 61
Which engineering achievements are cited as products of computer science?
- A
Operating systems, compilers, databases, chips, graphics, and networks
- B
Only neural recordings, brain scans, and biological experiments
- C
Only social theories about scientific communities
- D
Only mathematical proofs concerning prime numbers
Correct answer
AOperating systems, compilers, databases, chips, graphics, and networks
Explanation
The lecture lists operating systems, compilers, databases, chip layout, graphics, networks, and interfaces among computer science's engineering accomplishments.
- A
- 62
How does the lecture frame theoretical computer science's relationship with other sciences?
- A
It assumes every scientific problem should be solved by the same algorithm
- B
It studies only artificial systems and excludes biology
- C
It replaces empirical investigation with universal computation
- D
It seeks to identify appropriate computational questions for each domain
Correct answer
DIt seeks to identify appropriate computational questions for each domain
Explanation
The speaker presents computer science as engaging with fields such as evolution, economics, quantum physics, and neuroscience while asking which algorithmic questions fit each domain.
- A

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