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

  • 43Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Complexity Foundations
The question of whether exhaustive search can always be telescoped is the
problem.

43 questions

  1. 1
    The question of whether exhaustive search can always be telescoped is the
    _____
    problem.
    Hint

    It is the central complexity question about the relationship between efficiently solvable and efficiently verifiable problems.

    Answer

    P versus NP

    Explanation

    The central question is whether problems whose solutions can be checked efficiently can also always be solved efficiently; the speaker frames it as asking whether exhaustive search can always be telescoped.

  2. 2
    Proving a problem
    _____
    does not mean that the problem will never be solved.
    Hint

    This class describes problems that are among the hardest in NP.

    Answer

    NP-complete

    Explanation

    An NP-complete problem is not thereby proven impossible to solve; people can still solve instances, though they may need to change what counts as a satisfactory solution.

  3. 3
    A major breakthrough for a difficult problem is finding a
    _____
    .
    Hint

    Think of an algorithm whose running time is bounded by a polynomial in the input size.

    Answer

    polynomial-time algorithm

    Explanation

    Developing a polynomial-time algorithm for a problem shows that it can be solved with resources that grow polynomially with input size, a significant result for a difficult problem.

  4. 4
    When a problem is shown to have a polynomial-time algorithm, it has been shown to be in
    _____
    .
    Hint

    This class contains problems solvable in polynomial time.

    Answer

    P

    Explanation

    The speaker contrasts proving a problem NP-complete with proving that it belongs to P by finding an efficient, polynomial-time algorithm.

  5. 5
    At a broad level, P versus NP concerns the limits of
    _____
    .
    Hint

    This phrase concerns what can practically be computed within reasonable resource limits.

    Answer

    feasible computation

    Explanation

    The panel describes P versus NP as a deep question about what computers can feasibly compute, not merely an abstract classification exercise.

  6. 6
    The existence of hard instances is the focus of the
    _____
    perspective on complexity.
    Hint

    This is the complexity perspective focused on the hardest instances of a problem.

    Answer

    worst case

    Explanation

    P versus NP addresses whether hard instances exist, but by itself it does not identify which particular instances are hard or how frequently they occur.

  7. 7
    The theorem connecting membership in NP with expression in a certain logical language is
    _____
    .
    Hint

    This result connects the class NP with a way of expressing problems in logic.

    Answer

    Fagin's Theorem

    Explanation

    Ron Fagin described a result showing that a problem is in NP if and only if it can be expressed in a certain logical language.

  8. 8
    A task used to impose a computational cost needs a difficulty level in the
    _____
    between trivial and infeasible instances.
    Hint

    It is the useful middle ground between too easy and too hard.

    Answer

    soft spot

    Explanation

    For a computational task used to impose a cost, the useful difficulty lies between instances that are trivial and instances that are infeasible.

  9. 9
    The anti-spam approach that makes sending email cost computational effort is called
    _____
    .
    Hint

    The name describes charging a computational cost for a service or action.

    Answer

    pricing via processing

    Explanation

    This idea counters spam by requiring senders to perform a small computational task, making each email somewhat more expensive to send.

  10. 10
    In the proposed email-cost example, the sender might solve one
    _____
    problem and include its solution.
    Hint

    This puzzle was offered as an example of a small problem a sender could solve.

    Answer

    Sudoku

    Explanation

    The proposed email cost could be a simple problem such as a Sudoku puzzle; the sender would include its solution with the email.

  11. 11
    The speaker identifies Sudoku as an
    _____
    problem.
    Hint

    This is the complexity classification mentioned for Sudoku.

    Answer

    NP-complete

    Explanation

    The discussion notes that Sudoku is NP-complete, even though small instances can be easy to solve.

  12. 12
    Sudoku problems become infeasible to solve when they are
    _____
    .
    Hint

    The size at which the puzzle becomes infeasible is contrasted with small instances.

    Answer

    very large

    Explanation

    The speakers contrast small Sudoku puzzles, which children can solve, with very large instances, which become infeasible.

  13. 13
    In the card-shuffling example, the speaker says that
    _____
    shuffles are enough to make the cards random enough.
    Hint

    The speaker gives this specific number as sufficient in the example.

    Answer

    seven

    Explanation

    For the card-shuffling example, the speaker says that seven is a good number of shuffles to make the deck random enough.

  14. 14
    In the cryptographic example, transformations aim to make information
    _____
    so that it can hide messages.
    Hint

    The desired property makes it difficult for an outsider to recover or interpret information.

    Answer

    hard

    Explanation

    In cryptography, the goal described is to transform information into something computationally difficult to solve so it can conceal messages.

  15. 15
    No-go theorems that show familiar proof methods are insufficient are often called
    _____
    .
    Hint

    These results identify obstacles to using known methods to prove major complexity separations.

    Answer

    barriers

    Explanation

    The panel calls results showing limits of familiar proof techniques no-go theorems or barriers.

  16. 16
    Techniques from
    _____
    are among those described as insufficient to distinguish P from NP.
    Hint

    This area of mathematical logic and computation supplies some of the techniques mentioned.

    Answer

    recursion theory

    Explanation

    The panel mentions techniques from recursion theory among common methods that have not been strong enough to distinguish P from NP.

  17. 17
    The question of whether extremely memory-limited algorithms can solve NP problems is formally called
    _____
    .
    Hint

    This open question compares a restricted-memory class with NP.

    Answer

    log space versus NP

    Explanation

    The panel notes that it is open whether algorithms with extremely restricted memory can solve NP problems such as CLIQUE; the formal question is log space versus NP.

  18. 18
    An example of an extremely restricted memory limit is being unable to store a
    _____
    .
    Hint

    It is an incomplete candidate answer to the problem that an algorithm is trying to solve.

    Answer

    partial solution

    Explanation

    One proposed way to study restricted-memory algorithms is to limit them so severely that they cannot even store a partial solution.

  19. 19
    Some newer proof techniques turn the existence of
    _____
    for certain tasks into impossibility results for other tasks.
    Hint

    These are programs that solve tasks using limited computational resources.

    Answer

    efficient computer programs

    Explanation

    New techniques described by Ryan Williams connect efficient programs for some tasks to impossibility results for other tasks, including results of the P-not-equal-to-NP type.

  20. 20
    Ron Fagin attributed a flaw in one attempted proof to misusing
    _____
    .
    Hint

    This is the logical result that the speaker mistakenly applied in an attempted proof.

    Answer

    Fagin's Theorem

    Explanation

    Ron Fagin said that a flaw in one of his attempted proofs came from misusing his own theorem, illustrating that even experts must apply formal results carefully.

  21. 21
    The failure of known methods suggests that progress may require a
    _____
    .
    Hint

    The speaker expects a major departure from established proof approaches.

    Answer

    new, completely new radically different idea

    Explanation

    The speaker argues that known methods may fail because resolving P versus NP will require an entirely different approach, not because the problem has been shown unsolvable.

  22. 22
    To understand hardness under different probabilistic ways of generating problems, researchers study
    _____
    .
    Hint

    This field studies difficulty across distributions of instances rather than only the hardest instance.

    Answer

    average-case complexity

    Explanation

    Worst-case hardness does not tell us how hard instances behave under different ways of generating them; studying such distributions is the domain of average-case complexity.

  23. 23
    A hard challenge whose creator knows the answer but whose attacker does not is a
    _____
    .
    Hint

    The system designer knows the solution, unlike the person trying to break the system.

    Answer

    computational puzzle

    Explanation

    A computational puzzle is designed so that the creator knows how to solve it, while an attacker does not; this distinguishes it from a merely hard computational problem.

  24. 24
    In the puzzle analogy for security, the system designer knows how to solve the challenge after choosing the
    _____
    .
    Hint

    These are selected by the system designer and are central to cryptographic systems.

    Answer

    keys

    Explanation

    In the panel's security example, the person designing a system and choosing the keys knows how to solve the puzzle, while the attacker does not.

  25. 25
    One application of computationally hard problems is
    _____
    .
    Hint

    This field uses methods to protect information and communications.

    Answer

    cryptography

    Explanation

    Hard computational problems can support cryptography and security by making it difficult for attackers to misuse systems or recover protected information.

  26. 26
    The panel explains that if
    _____
    , codes could become easy to crack and privacy could be lost.
    Hint

    This equality would imply that every problem in NP can be solved in polynomial time.

    Answer

    P equals NP

    Explanation

    If P equals NP, problems believed to be difficult could become efficiently solvable, potentially making many cryptographic systems breakable and undermining privacy.

  27. 27
    The cited example of weakened encryption standards involved inserting
    _____
    into them.
    Hint

    These are hidden weaknesses that can allow access to a system.

    Answer

    trapdoors

    Explanation

    The discussion cites revelations that the NSA had inserted trapdoors into weakened encryption standards, a tactic that would be unnecessary if it already knew how to crack all such systems through P equals NP.

  28. 28
    A proposed practical test for a claimed P-equals-NP algorithm was to use it to
    _____
    .
    Hint

    This is the concrete computational task proposed as a test of a claimed general algorithm.

    Answer

    factor big numbers

    Explanation

    Mike suggested testing a claimed efficient algorithm for P equals NP by using it to factor a famous large number, rather than relying on a small demonstration such as solving one clique instance.

  29. 29
    Quantum computers aim to exploit the laws of
    _____
    that govern the atomic scale.
    Hint

    These are the physical principles that govern matter at atomic scales.

    Answer

    quantum mechanics

    Explanation

    Quantum computation aims to harness the physical laws governing matter at atomic scales, which differ fundamentally from the laws governing the macroscopic world.

  30. 30
    One possible way to encode information in a quantum computer is through the
    _____
    .
    Hint

    It is one of the atomic properties mentioned as a possible way to represent information.

    Answer

    spin of electrons

    Explanation

    The speaker gives the spin of electrons as one possible atomic-level property in which information could be encoded for a quantum computer.

  31. 31
    Information in a quantum computer might also be encoded in the
    _____
    .
    Hint

    This atomic property was mentioned alongside electron spin.

    Answer

    energy level of atoms

    Explanation

    The energy level of atoms is given as another possible physical property for encoding information in a quantum computer.

  32. 32
    The researcher who proved that quantum computers could factor numbers is
    _____
    .
    Hint

    This researcher is associated with the celebrated quantum factoring result.

    Answer

    Peter Shor

    Explanation

    Peter Shor proved that a quantum computer, if built, could factor numbers, a result with potential consequences for cryptography.

  33. 33
    The obstacle to simply reading out every possibility explored by a quantum computer is the
    _____
    .
    Hint

    This is the final operation that reveals limited information about the quantum system.

    Answer

    measurement

    Explanation

    A quantum computer's final measurement gives limited access to its state and changes the system, so exploring many possibilities in parallel does not guarantee that a useful answer will be observed.

  34. 34
    In the naive quantum-parallel search example, the probability of measuring a discovered clique may be
    _____
    .
    Hint

    This describes the chance of observing the desired result in the naive approach.

    Answer

    low probability

    Explanation

    Even if one of the possible quantum states has found a clique, measurement may reveal that clique only with low probability.

  35. 35
    Shor's algorithm can exploit the additional
    _____
    found in factoring.
    Hint

    This feature allowed Shor's algorithm to exploit factoring in a way not known for general NP-complete problems.

    Answer

    structure

    Explanation

    The panel explains that factoring has exploitable structure, while it is unknown whether comparable structure exists in NP-complete search problems.

  36. 36
    If P versus NP could neither be proved nor disproved from the basic axioms, it would be
    _____
    of those axioms.
    Hint

    A statement has this status when it cannot be derived or refuted from a given axiom system.

    Answer

    independent

    Explanation

    The panel raises the possibility that P versus NP might be undecidable from the basic axioms of mathematics, by analogy with other mathematical questions that are independent of those axioms.

  37. 37
    The example about whether an infinity lies between the sizes of the integers and real numbers concerns the
    _____
    .
    Hint

    This is the name of the question about an intermediate size of infinity.

    Answer

    continuum hypothesis

    Explanation

    The discussion uses the question of whether there is an infinity between the sizes of the integers and real numbers as an example of a problem shown to be unsolvable using the basic tools of mathematics.

  38. 38
    Mike argues that P versus NP is more
    _____
    than questions about different sizes of infinity.
    Hint

    The speaker describes the computational problem as practical and familiar rather than remote from experience.

    Answer

    down to earth

    Explanation

    Mike argues that P versus NP differs from questions about infinities because it concerns computation, which he views as much closer to ordinary intuition.

  39. 39
    The P-versus-NP framing uses
    _____
    as a shorthand for a deeper question about search difficulty.
    Hint

    This is the common high-level contrast used to frame computational difficulty.

    Answer

    polynomial versus exponential

    Explanation

    Russell describes polynomial versus exponential time as a shorthand that turns a quantitative question about search difficulty into a qualitative distinction.

  40. 40
    A proven lower bound of
    _____
    for search problems would make Russell ecstatic, even though it is polynomial.
    Hint

    This is the very large polynomial lower bound used as an example.

    Answer

    N to the 1000

    Explanation

    Russell says a lower bound of this size for search problems would be an exciting result, even though it would still be polynomial and not formally establish P unequal to NP.

  41. 41
    An upper bound of
    _____
    for search problems would also be cause for excitement, even if it did not formally settle P versus NP.
    Hint

    This is the unusually slow-growing exponent upper bound mentioned as exciting progress.

    Answer

    N to the log N

    Explanation

    Russell says that an algorithm with this running-time upper bound would represent major progress, even if it did not technically settle P versus NP.

  42. 42
    Russell attributes part of humans' advantage in perception to the long time available for
    _____
    .
    Hint

    This process has had hundreds of millions of years to shape human abilities.

    Answer

    evolution

    Explanation

    Russell explains that people may outperform machines at pattern recognition because evolution has had far longer to shape human capabilities than researchers have had to design programs.

  43. 43
    A person who doubts that the belief P does not equal NP is fully justified, without strongly believing P equals NP, may be described as
    _____
    .
    Hint

    This describes a position of uncertainty rather than strong belief in either direction.

    Answer

    agnostic

    Explanation

    Russell says there is no strong reason to believe P equals NP, while it is possible to remain uncertain about whether the prevailing belief that P does not equal NP is justified.

1 of 43
Question 1 of 43

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent