1. Home
  2. Explore
  3. Computer Science
  4. The P vs. NP Problem

Study methods

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

The P vs. NP Problem

  • 56Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: P vs NP Meaning

What central computational issue does the P-versus-NP problem address?

56 questions

  1. 1

    What central computational issue does the P-versus-NP problem address?

    1. A

      Whether every practical computation can be performed without storing data

    2. B

      Whether every problem in NP can be solved in polynomial time

    3. C

      Whether polynomial-time algorithms can solve only optimization problems

    4. D

      Whether all computational problems require exhaustive search

    Correct answer
    B

    Whether every problem in NP can be solved in polynomial time

    Explanation

    The central question is whether exhaustive search can always be replaced, or “telescoped,” by an efficient computation; in complexity theory, the P-versus-NP question asks whether every problem in NP can be solved in polynomial time.

  2. 2

    Why was P versus NP described as important beyond its practical applications?

    1. A

      It predicts which companies will benefit from computer automation

    2. B

      It determines which programming language is most widely used

    3. C

      It identifies the physical laws governing atomic particles

    4. D

      It asks a foundational question about what computation can accomplish

    Correct answer
    D

    It asks a foundational question about what computation can accomplish

    Explanation

    The panelist emphasized that P versus NP matters as a basic question about the limits of computation, much like fundamental questions in cosmology or the origin of life, not merely because computation is practical.

  3. 3

    If P equaled NP, what could still make the resulting algorithms difficult to use or analyze?

    1. A

      It would establish that every NP problem can be solved instantly

    2. B

      It would mean that computers no longer need to search among possible solutions

    3. C

      It would show that every NP problem has a simple, easily understood algorithm

    4. D

      It would imply polynomial-time algorithms exist, though they might be extremely complicated

    Correct answer
    D

    It would imply polynomial-time algorithms exist, though they might be extremely complicated

    Explanation

    A proof that P equals NP would imply that NP problems have polynomial-time algorithms, but the panelists stressed that such algorithms could be extraordinarily complicated or impractical to understand.

  4. 4

    Why was finding a polynomial-time algorithm for a complicated problem described as a major achievement?

    1. A

      It shows that exhaustive search is the only possible approach

    2. B

      It proves that the problem has no difficult instances

    3. C

      It establishes an efficient algorithm for the problem

    4. D

      It makes every related problem easy to solve by inspection

    Correct answer
    C

    It establishes an efficient algorithm for the problem

    Explanation

    A polynomial-time algorithm for a difficult problem is significant because it demonstrates efficient solvability in the formal sense, even when the algorithm may be complicated to discover.

  5. 5

    What is the significance of an algorithm having polynomial runtime but a very large exponent?

    1. A

      Polynomial time means the runtime is independent of input size

    2. B

      A large polynomial exponent makes an algorithm exponential by definition

    3. C

      Polynomial time can be formally efficient while remaining impractical at realistic input sizes

    4. D

      Polynomial time guarantees that an algorithm runs quickly on every computer

    Correct answer
    C

    Polynomial time can be formally efficient while remaining impractical at realistic input sizes

    Explanation

    The discussion treated polynomial time as a useful qualitative dividing line, while noting that a very large polynomial exponent could still make an algorithm impractical.

  6. 6

    Why might proving P differs from NP have consequences beyond the P-versus-NP question itself?

    1. A

      It would establish that all randomized algorithms are inefficient

    2. B

      It would show that computers cannot solve any optimization problems

    3. C

      It would reveal substantial new facts about feasible computation and related problems

    4. D

      It would settle only whether one specific search problem is solvable

    Correct answer
    C

    It would reveal substantial new facts about feasible computation and related problems

    Explanation

    The panelists argued that proving P differs from NP would likely require deep new understanding of feasible computation and would have many consequences beyond resolving one isolated question.

  7. 7

    How can practitioners solve many instances of NP-complete problems without contradicting their NP-completeness?

    1. A

      Practitioners usually use algorithms that prove P equals NP

    2. B

      NP-complete problems become easy whenever they arise in business

    3. C

      Practitioners can handle many instances, often by accepting solutions that are not ideal or exact

    4. D

      Solving individual instances disproves a problem’s NP-completeness

    Correct answer
    C

    Practitioners can handle many instances, often by accepting solutions that are not ideal or exact

    Explanation

    The practical examples illustrate that people can solve many NP-complete instances by using clever methods, approximations, or other compromises; NP-completeness does not mean that every instance is unsolvable.

  8. 8

    According to the discussion, how might people manage to solve an NP-complete problem in practice?

    1. A

      By restricting every input to a constant size

    2. B

      By proving that all instances have a unique solution

    3. C

      By accepting a modified or less satisfying notion of solution

    4. D

      By replacing the problem with an unrelated computation

    Correct answer
    C

    By accepting a modified or less satisfying notion of solution

    Explanation

    The speaker’s point was that an NP-complete problem may be solved in practice by changing what counts as an acceptable solution; the result may not be clean or fully satisfying.

  9. 9

    Why might a polynomial-time algorithm still be impractical?

    1. A

      A high-degree polynomial is not a polynomial-time bound

    2. B

      Polynomial-time algorithms are useful only when they solve every problem in P

    3. C

      Every polynomial-time algorithm is fast enough for commercial use

    4. D

      A polynomial-time guarantee does not ensure practical speed when the polynomial’s degree is very high

    Correct answer
    D

    A polynomial-time guarantee does not ensure practical speed when the polynomial’s degree is very high

    Explanation

    A polynomial-time algorithm is a strong theoretical result, but a polynomial such as N1000N^{1000}N1000 can still require an impractical amount of computation for relevant input sizes.

  10. 10

    What did the panelist say about bounds such as an N1000N^{1000}N1000 lower bound or an Nlog⁡NN^{\log N}NlogN upper bound?

    1. A

      Any polynomial upper bound completely resolves the practical difficulty of a problem

    2. B

      Lower bounds are useful only when they establish exponential time

    3. C

      Only a proof of P equals NP counts as progress

    4. D

      Substantial runtime bounds can be valuable even if they do not settle P versus NP

    Correct answer
    D

    Substantial runtime bounds can be valuable even if they do not settle P versus NP

    Explanation

    The discussion treated polynomial versus non-polynomial time as a convenient qualitative framing, not the only meaningful measure of progress. Strong bounds such as an N1000N^{1000}N1000 lower bound or an Nlog⁡NN^{\log N}NlogN upper bound would be informative even without settling P versus NP.

  11. 11

    What does the discussion indicate about current lower bounds for solving search problems?

    1. A

      Researchers have proved that all search problems take constant time

    2. B

      An N2N^2N2 lower bound would prove P equals NP

    3. C

      Researchers have not established even an N2N^2N2 lower bound for the relevant search problems

    4. D

      Researchers have already proved exponential lower bounds for all NP problems

    Correct answer
    C

    Researchers have not established even an N2N^2N2 lower bound for the relevant search problems

    Explanation

    The speaker stressed that researchers are far from proving even an N2N^2N2 lower bound for the relevant search problems, illustrating how weak current lower bounds remain.

  12. 12

    What explanation was offered for why people may recognize patterns faster than machines?

    1. A

      Human perception is known to use the same algorithms as modern computers

    2. B

      People process patterns by performing exhaustive search over all possibilities

    3. C

      Machines are limited to polynomial-time algorithms, while people are not

    4. D

      Evolution has had much longer to shape human abilities than programmers have had to build programs

    Correct answer
    D

    Evolution has had much longer to shape human abilities than programmers have had to build programs

    Explanation

    The panelist proposed that evolution has had vastly more time to shape human pattern recognition and perception than researchers have had to design comparable computer programs.

  13. 13

    What uncertainty about the brain’s capabilities was raised in the discussion?

    1. A

      People recognize patterns only because those tasks are not computational

    2. B

      Human perception is already fully explained by known polynomial-time algorithms

    3. C

      The brain avoids computation by storing every possible answer in advance

    4. D

      The brain may use complex procedures that researchers have not yet identified

    Correct answer
    D

    The brain may use complex procedures that researchers have not yet identified

    Explanation

    The panelists noted that the brain performs remarkable tasks whose underlying procedures are not well understood, leaving open the possibility that researchers have not yet discovered powerful computational methods.

  14. 14

    How might studying the limits of computation help researchers?

    1. A

      Computational limits and capabilities are unrelated topics

    2. B

      Understanding limits proves that humans can solve every hard problem

    3. C

      Studying limits may provide insight into what computation can accomplish

    4. D

      Understanding capabilities makes the study of limits unnecessary

    Correct answer
    C

    Studying limits may provide insight into what computation can accomplish

    Explanation

    The panelist suggested that studying computational limits may also help researchers understand computational capabilities, including what sophisticated methods might exist.

  15. 15

    What broad question about computational hardness did the speaker identify as important?

    1. A

      Researchers seek to understand how problems become hard and how difficulty changes between easy and infeasible cases

    2. B

      Every problem has a sharp transition at the same input size

    3. C

      Problems that are hard at one scale must be hard at every scale

    4. D

      Hardness is known to arise only in problems involving large numbers

    Correct answer
    A

    Researchers seek to understand how problems become hard and how difficulty changes between easy and infeasible cases

    Explanation

    The speaker emphasized that researchers do not yet understand how hardness develops across different scales or where problems transition from easy to infeasible.

  16. 16

    Why can spam remain worthwhile even when almost all recipients ignore it?

    1. A

      Spam succeeds because recipients usually reply to every message

    2. B

      Spam succeeds because email messages are difficult to trace

    3. C

      Spam succeeds because sending one message requires substantial computation

    4. D

      Spam can be profitable even when only a tiny fraction of recipients respond

    Correct answer
    D

    Spam can be profitable even when only a tiny fraction of recipients respond

    Explanation

    Spam is economically effective because sending email is cheap: even a very low response rate can make a mass mailing worthwhile.

  17. 17

    How does the “pricing via processing” idea aim to reduce spam?

    1. A

      Replace email delivery with random selection of recipients

    2. B

      Make all email messages substantially larger

    3. C

      Require senders to perform a computational task for each message

    4. D

      Require recipients to solve a puzzle before reading any message

    Correct answer
    C

    Require senders to perform a computational task for each message

    Explanation

    Pricing via processing would require a sender to solve a small computational task before or while sending a message, making mass email more costly to send.

  18. 18

    What is the intended effect of requiring an email sender to solve a small puzzle?

    1. A

      It prevents computers from sending messages automatically

    2. B

      It makes email free only for people who solve difficult problems

    3. C

      It requires every recipient to pay the sender

    4. D

      It adds a computational cost to each email sent

    Correct answer
    D

    It adds a computational cost to each email sent

    Explanation

    The proposed mechanism attaches a modest computational cost to sending each email, so sending messages to a huge number of recipients becomes more expensive.

  19. 19

    Why does choosing the size of a Sudoku puzzle matter for a processing-based email cost?

    1. A

      A puzzle is useful only if no one can solve it

    2. B

      The useful puzzle size lies between trivial cases and infeasibly large cases

    3. C

      Only the largest possible Sudoku puzzles can impose any cost

    4. D

      Sudoku is equally difficult at every puzzle size

    Correct answer
    B

    The useful puzzle size lies between trivial cases and infeasibly large cases

    Explanation

    The Sudoku example highlights that puzzles can be easy at small sizes and infeasible at large sizes, making it important to understand the intermediate difficulty range when designing a useful processing cost.

  20. 20

    What relationship between repeated shuffling and randomness was described?

    1. A

      One shuffle always produces a perfectly random order

    2. B

      The number of shuffles has no effect on randomness

    3. C

      Repeated shuffling makes a deck more structured

    4. D

      A single shuffle may leave structure, while enough repetitions can make the order random enough

    Correct answer
    D

    A single shuffle may leave structure, while enough repetitions can make the order random enough

    Explanation

    One shuffle generally leaves detectable structure in a deck, while repeated shuffling can make the deck sufficiently random; understanding how much is enough is the key question.

  21. 21

    What kind of understanding is needed to determine how many shuffles are sufficient?

    1. A

      The number of repetitions can be chosen without studying the process

    2. B

      The key challenge is proving that every shuffle is independent of the previous one

    3. C

      Repeated shuffling is useful only when the initial order is already random

    4. D

      The key challenge is identifying how many repetitions produce the desired degree of randomness or hardness

    Correct answer
    D

    The key challenge is identifying how many repetitions produce the desired degree of randomness or hardness

    Explanation

    The discussion emphasized that determining exactly how many repetitions are needed to move from an easy or structured state to a sufficiently random or hard one requires a fine understanding of the process.

  22. 22

    How were ideas about computational hardness connected to cryptography?

    1. A

      Cryptography can use computational hardness to hide messages

    2. B

      Cryptography uses shuffling only to make messages longer

    3. C

      Cryptography works only when every computational problem is easy

    4. D

      Cryptography depends on making every message mathematically random

    Correct answer
    A

    Cryptography can use computational hardness to hide messages

    Explanation

    The speaker connected ideas about creating randomness with cryptography, where the goal is to create computational hardness that can conceal messages.

  23. 23

    What uncertainty about the complexity-class landscape was highlighted?

    1. A

      Researchers know that exponential time is strictly harder than every randomized class

    2. B

      The known relationships among complexity classes could differ greatly from the expected picture

    3. C

      The complexity-class diagram is fully settled except for P versus NP

    4. D

      Randomized polynomial time is known to equal exponential time

    Correct answer
    B

    The known relationships among complexity classes could differ greatly from the expected picture

    Explanation

    The speaker described uncertainty about whether complexity classes form a proper hierarchy or could collapse dramatically; for example, randomized polynomial time might conceivably solve problems currently placed in exponential time.

  24. 24

    Which open question illustrates the difficulty of proving computational limitations under severe memory restrictions?

    1. A

      Whether log-space computation can solve NP problems such as CLIQUE

    2. B

      Whether every NP problem can be solved by a human

    3. C

      Whether large memories make all algorithms exponential

    4. D

      Whether polynomial-time algorithms can use random bits

    Correct answer
    A

    Whether log-space computation can solve NP problems such as CLIQUE

    Explanation

    The speaker gave the log-space-versus-NP question as an example: it remains open whether extremely memory-limited algorithms can solve NP problems such as CLIQUE.

  25. 25

    Why was the log-space example striking?

    1. A

      Log-space machines can solve CLIQUE only when the graph is complete

    2. B

      Any machine that cannot store a complete solution is unable to solve an NP problem

    3. C

      Even machines unable to store a partial solution may pose a difficult open question about solving NP problems

    4. D

      Memory restrictions automatically imply exponential running time

    Correct answer
    C

    Even machines unable to store a partial solution may pose a difficult open question about solving NP problems

    Explanation

    The log-space example considers machines with so little memory that they cannot store a partial solution, yet whether they can solve NP problems remains unresolved.

  26. 26

    What do proof barriers in complexity theory establish?

    1. A

      They show that all possible mathematical methods are ineffective

    2. B

      They show that particular commonly used proof techniques are too weak for certain separations

    3. C

      They prove that P equals NP

    4. D

      They establish that NP problems cannot be solved by randomized algorithms

    Correct answer
    B

    They show that particular commonly used proof techniques are too weak for certain separations

    Explanation

    Barrier results show that familiar proof techniques, including methods associated with recursion theory, are insufficient to resolve P versus NP or even some weaker questions.

  27. 27

    What is the important limitation of what a proof barrier tells researchers?

    1. A

      They prove that P versus NP is independent of all mathematical axioms

    2. B

      They establish that a proof of P different from NP already exists

    3. C

      They show that only randomized methods can resolve P versus NP

    4. D

      They rule out certain approaches without proving that the problem is unsolvable

    Correct answer
    D

    They rule out certain approaches without proving that the problem is unsolvable

    Explanation

    A barrier theorem limits specific methods; it does not establish that the underlying mathematical statement is unprovable by every possible approach.

  28. 28

    How were some newer techniques described as getting around barriers?

    1. A

      They prove that restricted algorithms can solve every NP problem

    2. B

      They show that every efficient program has an inefficient equivalent

    3. C

      They connect efficient programs for some tasks to impossibility results for other tasks

    4. D

      They replace all lower-bound arguments with empirical tests

    Correct answer
    C

    They connect efficient programs for some tasks to impossibility results for other tasks

    Explanation

    The speaker described newer approaches that use efficient algorithms for some tasks to derive impossibility results for other tasks, thereby getting around certain known barriers.

  29. 29

    What role can connections between different computational tasks play in proving lower bounds?

    1. A

      They use human intuition instead of mathematical arguments

    2. B

      They use relationships between problems to transfer insight into impossibility results

    3. C

      They assume that every problem has the same optimal algorithm

    4. D

      They infer impossibility from the failure of one experimental program

    Correct answer
    B

    They use relationships between problems to transfer insight into impossibility results

    Explanation

    The speaker emphasized that understanding connections between efficient algorithms and impossibility results can allow researchers to use problem-solving insight about one task to prove limits for another.

  30. 30

    Why does running an alleged algorithm on one large instance fail to prove that it is polynomial-time?

    1. A

      Runtime analysis is unnecessary when an algorithm produces correct answers

    2. B

      A finite experiment does not establish an asymptotic runtime bound

    3. C

      An algorithm that solves one clique instance solves every clique instance

    4. D

      A successful test on one large input proves polynomial time

    Correct answer
    B

    A finite experiment does not establish an asymptotic runtime bound

    Explanation

    A claimed algorithm that works on one instance, even a sizable one, does not prove a general runtime guarantee; a complexity result must address the algorithm’s behavior over inputs of increasing size.

  31. 31

    What is a common flaw in attempted proofs that a problem requires exponential time?

    1. A

      An algorithm’s internal steps cannot be analyzed mathematically

    2. B

      All algorithms must explicitly list every candidate solution

    3. C

      Lower bounds apply only to algorithms that use randomized choices

    4. D

      Assuming every algorithm must follow a particular unproven strategy can invalidate a lower-bound proof

    Correct answer
    D

    Assuming every algorithm must follow a particular unproven strategy can invalidate a lower-bound proof

    Explanation

    A purported lower-bound proof can fail if it assumes without justification that every possible algorithm must operate in a particular way; an unknown or indirect strategy could violate that assumption.

  32. 32

    What can a counterexample show about a proposed algorithmic approach?

    1. A

      A counterexample confirms that the proposed algorithm works on all inputs

    2. B

      A counterexample proves that P equals NP

    3. C

      A counterexample can refute a candidate approach and motivate further analysis

    4. D

      A counterexample establishes that no algorithm can solve the problem

    Correct answer
    C

    A counterexample can refute a candidate approach and motivate further analysis

    Explanation

    A counterexample can disprove a proposed algorithm or claimed approach, but researchers may respond by developing stronger techniques or proving limits on that approach.

  33. 33

    What does proving P differs from NP fail to provide by itself?

    1. A

      It establishes the existence of hard instances without specifying which ones are hard

    2. B

      It identifies which input distribution produces the hardest instances

    3. C

      It shows that all instances of every NP problem are hard

    4. D

      It provides a method for generating hard instances of any desired difficulty

    Correct answer
    A

    It establishes the existence of hard instances without specifying which ones are hard

    Explanation

    P different from NP would imply that at least some NP instances are hard, but it would not identify which instances are hard or how to generate them.

  34. 34

    What is the distinction between worst-case and average-case complexity?

    1. A

      Average-case complexity studies difficulty over specified distributions of instances

    2. B

      Worst-case complexity studies typical instances, while average-case complexity studies only the largest inputs

    3. C

      Worst-case and average-case complexity are identical once a problem is NP-complete

    4. D

      Average-case complexity asks whether an algorithm can solve every input exactly

    Correct answer
    A

    Average-case complexity studies difficulty over specified distributions of instances

    Explanation

    Worst-case complexity concerns the hardest instances, while average-case complexity asks how difficult instances are under particular probability distributions.

  35. 35

    Why is average-case complexity relevant to cryptography and security?

    1. A

      Security requires understanding how hard instances arise under relevant distributions

    2. B

      A problem is secure whenever at least one instance is difficult

    3. C

      A cryptographic system needs every input to be a worst-case instance

    4. D

      Average-case analysis is concerned only with an algorithm’s memory use

    Correct answer
    A

    Security requires understanding how hard instances arise under relevant distributions

    Explanation

    For security applications, it is not enough to know that hard instances exist; systems need ways to generate instances that are likely to be hard under relevant distributions.

  36. 36

    What distinguishes a computational puzzle from a merely hard computational problem in the security discussion?

    1. A

      The attacker knows the solution, but the puzzle creator does not

    2. B

      The puzzle is easy for everyone, but the problem is hard for everyone

    3. C

      The creator knows how to solve the puzzle, while the attacker does not

    4. D

      The puzzle has no solution, while the problem has many solutions

    Correct answer
    C

    The creator knows how to solve the puzzle, while the attacker does not

    Explanation

    A computational puzzle differs from a general hard problem because the puzzle creator or system designer knows how to solve it, while an attacker is not given that solution method.

  37. 37

    How can a puzzle-based security system distinguish its designer from an attacker?

    1. A

      The designer must make the puzzle unsolvable to every user

    2. B

      A legitimate user must be unable to solve the puzzle

    3. C

      The designer can know a solution while withholding the solving information from an attacker

    4. D

      The attacker chooses the key and provides the solution to the designer

    Correct answer
    C

    The designer can know a solution while withholding the solving information from an attacker

    Explanation

    A system designer can choose a key or construct a puzzle with a known solution, while a legitimate user may be able to solve the challenge and an attacker may not.

  38. 38

    Which two conceptual steps were described as necessary for using hard problems in security?

    1. A

      Finding polynomial algorithms, then hiding their running times

    2. B

      Moving from worst-case to average-case hardness, then from hard problems to puzzles

    3. C

      Proving all NP problems are hard, then eliminating randomness

    4. D

      Showing that all inputs are difficult, then making all users solve them

    Correct answer
    B

    Moving from worst-case to average-case hardness, then from hard problems to puzzles

    Explanation

    The panelist identified two steps beyond P versus NP for basing security on hardness: understanding average-case difficulty and constructing puzzles whose creators know solutions while attackers do not.

  39. 39

    What security-related challenges would remain after resolving P versus NP?

    1. A

      The problem would automatically provide secure encryption algorithms

    2. B

      Average-case complexity would become equivalent to worst-case complexity

    3. C

      All cryptographic systems would become secure by definition

    4. D

      The problems of generating hard instances and constructing useful puzzles would remain

    Correct answer
    D

    The problems of generating hard instances and constructing useful puzzles would remain

    Explanation

    Even after P versus NP is resolved, researchers would still need tools for generating hard instances and for designing puzzles that separate legitimate solvers from attackers.

  40. 40

    What is the basic idea behind quantum computation?

    1. A

      It relies on replacing atoms with ordinary mechanical switches

    2. B

      It encodes information in quantum properties and manipulates those states

    3. C

      It stores information only in the positions of large objects

    4. D

      It avoids manipulating physical systems during computation

    Correct answer
    B

    It encodes information in quantum properties and manipulates those states

    Explanation

    Quantum computation seeks to encode and manipulate information using quantum states, such as electron spin or atomic energy levels, to harness quantum-mechanical behavior.

  41. 41

    What was the stated experimental status of quantum computing?

    1. A

      Small-scale principles have experimental support, but large-scale construction remains uncertain

    2. B

      Large-scale quantum computers are already known to be practical

    3. C

      Small-scale experiments prove that all NP-complete problems are easy

    4. D

      Quantum principles have not been experimentally tested at any scale

    Correct answer
    A

    Small-scale principles have experimental support, but large-scale construction remains uncertain

    Explanation

    The speaker said that quantum-computing principles had been experimentally demonstrated on a small scale, while building large-scale quantum computers remained uncertain.

  42. 42

    What celebrated result about quantum computers was attributed to Shor?

    1. A

      A quantum computer can solve every NP-complete problem efficiently

    2. B

      A quantum computer cannot perform arithmetic operations

    3. C

      A quantum computer can encrypt messages without using keys

    4. D

      A quantum computer can factor numbers, threatening cryptosystems based on factoring

    Correct answer
    D

    A quantum computer can factor numbers, threatening cryptosystems based on factoring

    Explanation

    Peter Shor proved that a quantum computer, if one could be built, could factor numbers efficiently compared with the believed difficulty of factoring on classical computers.

  43. 43

    Why could quantum factoring affect modern cryptography?

    1. A

      Modern cryptography is based on the assumption that factoring is impossible

    2. B

      Factoring is used only to compress data, so faster factoring improves privacy

    3. C

      Classical computers already factor all relevant numbers instantly

    4. D

      Quantum factoring could threaten cryptosystems that rely on the difficulty of factoring

    Correct answer
    D

    Quantum factoring could threaten cryptosystems that rely on the difficulty of factoring

    Explanation

    Factoring is important to cryptography, and the panelist noted that a quantum computer capable of factoring could potentially break modern cryptosystems that rely on factoring being difficult for classical computers.

  44. 44

    What is the measurement difficulty in the naive quantum-parallelism approach?

    1. A

      Quantum computers cannot use measurement to obtain outputs

    2. B

      Quantum states can represent only one possibility at a time

    3. C

      Measurement reveals every state without affecting the system

    4. D

      Measurement changes the system and gives limited access to its state

    Correct answer
    D

    Measurement changes the system and gives limited access to its state

    Explanation

    Quantum systems can occupy multiple states, which suggests exploring many possibilities at once, but measurement provides only limited information and changes the system.

  45. 45

    Why does placing many candidate solutions in quantum states not automatically solve an NP-complete search problem?

    1. A

      Every measurement reveals all solutions represented in parallel

    2. B

      Quantum parallelism guarantees that a solution will be observed

    3. C

      A measurement always returns the best possible clique

    4. D

      A desired solution may exist in one state but have low probability of being observed

    Correct answer
    D

    A desired solution may exist in one state but have low probability of being observed

    Explanation

    Even if one branch of a quantum computation contains a desired clique, measuring the system may reveal it with very low probability; the many parallel possibilities cannot simply be read out directly.

  46. 46

    What conclusion was drawn about naively using quantum parallelism for NP-complete search?

    1. A

      It shows that quantum measurement can reveal every candidate at once

    2. B

      It proves that quantum computers cannot perform any search

    3. C

      It establishes that all NP-complete problems are harder for quantum computers

    4. D

      It shows that naive quantum parallelism does not directly solve such search problems

    Correct answer
    D

    It shows that naive quantum parallelism does not directly solve such search problems

    Explanation

    The discussion stated that a theoretical result rules out the naive strategy of exploiting quantum parallelism by simply exploring all possibilities and reading out the desired answer.

  47. 47

    How did the discussion contrast factoring with NP-complete search problems?

    1. A

      Factoring is NP-complete, while clique is known to be easy

    2. B

      Factoring has exploitable structure, but comparable structure is not known for NP-complete search problems

    3. C

      Quantum computers solve factoring by measuring all possible factors at once

    4. D

      NP-complete problems have more structure than factoring

    Correct answer
    B

    Factoring has exploitable structure, but comparable structure is not known for NP-complete search problems

    Explanation

    Factoring has exploitable structure that Shor’s algorithm uses. The panelists said it is unknown whether NP-complete search problems have structure that can similarly be exploited on a quantum computer.

  48. 48

    What relationship between logic and NP was attributed to Fagin’s Theorem?

    1. A

      It establishes that NP problems cannot be represented mathematically

    2. B

      It shows that every logical statement has a polynomial-time algorithm

    3. C

      It proves that P differs from NP

    4. D

      It characterizes NP in terms of expressibility in a certain language

    Correct answer
    D

    It characterizes NP in terms of expressibility in a certain language

    Explanation

    Fagin’s Theorem was described as characterizing NP through whether a problem can be expressed in a certain logical language.

  49. 49

    What was identified as the flaw in one of the speaker’s attempted P-versus-NP proofs?

    1. A

      A valid theorem can be misapplied, invalidating a proof that relies on it

    2. B

      Logical approaches cannot be used to study computational complexity

    3. C

      A proof using logic is correct whenever its author is an expert

    4. D

      Fagin’s Theorem proves both P equals NP and P differs from NP

    Correct answer
    A

    A valid theorem can be misapplied, invalidating a proof that relies on it

    Explanation

    The speaker described mistakenly applying Fagin’s Theorem as the bug in a purported proof; this illustrates that a proof can fail through misuse of a valid theorem.

  50. 50

    What role did the question about an intermediate size of infinity play in the discussion?

    1. A

      It proves that all mathematical questions are independent of axioms

    2. B

      It is an example of a mathematical question independent of the basic axioms discussed

    3. C

      It is a computational problem known to be NP-complete

    4. D

      It establishes that the integers and real numbers have equal cardinality

    Correct answer
    B

    It is an example of a mathematical question independent of the basic axioms discussed

    Explanation

    The discussion used the question of whether an infinity lies between the sizes of the integers and the reals as an example of a problem shown to be unsolvable from the basic axioms of mathematics.

  51. 51

    What was the panelist’s view about whether P versus NP might be independent of basic mathematical axioms?

    1. A

      The panelist believed P versus NP had already been proved independent

    2. B

      The panelist argued that mathematical axioms cannot address computational questions

    3. C

      The panelist considered independence possible but believed the problem is likely answerable from the axioms

    4. D

      The panelist claimed that the infinity example proves P equals NP

    Correct answer
    C

    The panelist considered independence possible but believed the problem is likely answerable from the axioms

    Explanation

    The panelist acknowledged that P versus NP might conceivably be independent of basic mathematical axioms, but argued that it concerns computation in a more intuitive, down-to-earth domain and expressed optimism that the axioms suffice.

  52. 52

    What conclusion about mathematical barriers did the optimistic panelist emphasize?

    1. A

      Failure of known methods does not prove that the problem is unsolvable

    2. B

      A long history without a solution establishes independence

    3. C

      Only the existing methods need to be repeated more often

    4. D

      Barriers prove that no mathematical proof can exist

    Correct answer
    A

    Failure of known methods does not prove that the problem is unsolvable

    Explanation

    The panelist’s optimism was based on the view that known barriers rule out methods tried so far, not that they prove the problem is unsolvable; a radically new idea may still resolve it.

  53. 53

    What potential consequence of P equaling NP was raised for cryptography and privacy?

    1. A

      Cryptography would become stronger because all problems would be easy

    2. B

      Many cryptographic systems could become vulnerable, threatening privacy

    3. C

      Codes would become impossible to analyze even with computers

    4. D

      Privacy would improve because polynomial algorithms cannot attack encryption

    Correct answer
    B

    Many cryptographic systems could become vulnerable, threatening privacy

    Explanation

    The discussion suggested that if P equaled NP, many cryptographic systems could fail because codes might become easy to crack, potentially undermining privacy.

  54. 54

    What reasoning was offered against the claim that an intelligence agency had already solved P versus NP?

    1. A

      It shows that weakened encryption standards are mathematically secure

    2. B

      Those actions could be evidence against the claim that the agency already had a general way to crack the systems

    3. C

      It proves that the agency has solved P versus NP

    4. D

      It establishes that no agency can ever solve a hard computational problem

    Correct answer
    B

    Those actions could be evidence against the claim that the agency already had a general way to crack the systems

    Explanation

    The speaker reasoned that if an agency already knew how to crack relevant encryption through a general breakthrough, it might not need to weaken encryption standards or seek passwords through other means.

  55. 55

    Why does testing a claimed algorithm on one instance provide weak evidence for a P-equals-NP claim?

    1. A

      A short runtime on one instance proves a polynomial-time bound

    2. B

      A finite test is not enough to establish a general algorithmic claim

    3. C

      Any algorithm for clique automatically factors every integer

    4. D

      An algorithm’s claimed runtime is irrelevant to whether it works

    Correct answer
    B

    A finite test is not enough to establish a general algorithmic claim

    Explanation

    A purported algorithm’s success on a single finite instance does not establish a general complexity result; a strong, independently verifiable consequence such as factoring a suitable large number could provide more meaningful evidence of capability.

  56. 56

    What is the central lesson about using experiments to support a complexity-theory proof?

    1. A

      A proof is unnecessary if the algorithm is complicated

    2. B

      A successful experiment proves the general theorem

    3. C

      A general complexity claim requires reasoning beyond finite test cases

    4. D

      A theorem is established when no counterexample has yet been found

    Correct answer
    C

    A general complexity claim requires reasoning beyond finite test cases

    Explanation

    Mathematical proofs require a rigorous argument that covers the general case; experimental success on selected inputs cannot replace such a proof.

Question 1 of 56
Question 1 of 56

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent