ThatQuiz Test Library Take this test now
Computational complexity theory - Quiz
Contributed by: MacKenzie
  • 1. Computational complexity theory is a branch of theoretical computer science that focuses on classifying computational problems based on their inherent difficulty and the amount of resources required, such as time and space. It deals with understanding the efficiency of algorithms, analyzing the feasibility of solving problems on different types of machines, and determining the limitations of computing power. By studying computational complexity theory, researchers seek to investigate the boundaries of computation and identify the capabilities and limitations of computers in solving various types of problems.

    What is computational complexity theory focused on?
A) Hardware design for computers
B) Psychological aspects of human-computer interaction
C) Developing new programming languages
D) Analyzing the resources required to solve computational problems
  • 2. Which notation is commonly used to denote the complexity of algorithms?
A) Big O notation
B) Binary code
C) Greek letters
D) Roman numerals
  • 3. Which complexity class contains decision problems that are efficiently verifiable?
A) NP
B) EXP
C) PSPACE
D) BPP
  • 4. What is the main objective of computational complexity theory?
A) To build supercomputers
B) To generate random numbers
C) To classify computational problems based on their inherent difficulty
D) To create faster computers
  • 5. What is the complexity class that represents the hardest problems in NP?
A) EXPTIME
B) P
C) NP-complete
D) BPP
  • 6. What does 'EXP' stand for in computational complexity theory?
A) Exploratory
B) Exponential time
C) Expanded
D) Expert
  • 7. What is the Cook-Levin theorem related to in computational complexity theory?
A) Quantum algorithms
B) NP-completeness
C) Parallel computing
D) P vs NP problem
  • 8. What complexity class is used to classify problems that can be solved by a quantum computer in polynomial time?
A) EXPSPACE
B) BQP
C) PSPACE
D) NP-complete
  • 9. What is a computational problem?
A) A hardware issue in computers
B) An unsolvable theoretical question
C) A task solved by a computer using an algorithm
D) A mathematical equation that cannot be solved
  • 10. What is the usual choice for the alphabet when representing problem instances?
A) The binary alphabet {0,1}
B) The set of all lowercase letters
C) The hexadecimal alphabet
D) The set of ASCII characters
  • 11. What is a common assumption in proofs of complexity-theoretic theorems?
A) Use of decimal notation only
B) Encoding using natural language
C) No need for any encoding
D) Some concrete choice of input encoding
  • 12. Give an example of a decision problem involving graphs.
A) Finding the shortest path in a graph.
B) Determining the number of nodes in a graph.
C) Calculating the maximum flow in a network.
D) Deciding whether a given graph is connected or not.
  • 13. What is an example of a function problem?
A) Checking if a graph is bipartite.
B) The traveling salesman problem.
C) Deciding if a number is prime.
D) Determining if two graphs are isomorphic.
  • 14. What is typically used to measure the input size in computational complexity theory?
A) Bytes
B) Words
C) Characters
D) Bits
  • 15. What is the primary purpose of a Turing machine?
A) An early form of computer hardware.
B) A practical computing technology.
C) A device to manipulate physical objects.
D) A theoretical model for general computation.
  • 16. Which thesis is associated with the statement that any problem solvable by an algorithm can be solved by a Turing machine?
A) The Church–Turing thesis.
B) P vs NP theorem.
C) Gödel's incompleteness theorems.
D) Cook-Levin theorem.
  • 17. Which type of Turing machine uses random bits to make decisions?
A) Probabilistic Turing machine.
B) Quantum Turing machine.
C) Deterministic Turing machine.
D) Non-deterministic Turing machine.
  • 18. What is a common feature of all machine models discussed in complexity theory?
A) They require physical realizability.
B) They are limited to polynomial time.
C) They use random bits for computation.
D) They operate deterministically.
  • 19. Which axiom set is used to define complexity measures very generally?
A) Cook-Levin theorem
B) P vs NP axioms
C) Turing completeness axioms
D) Blum complexity axioms
  • 20. Which of the following is NOT a commonly used complexity measure in complexity theory?
A) Decision tree complexity
B) Circuit complexity
C) Quantum entanglement complexity
D) Communication complexity
  • 21. Which complexity measure involves the amount of information exchanged between parties?
A) Communication complexity
B) Circuit complexity
C) Space complexity
D) Time complexity
  • 22. What did Raymond Smullyan study in 1961?
A) Linear bounded automata
B) Real-time computations
C) Complexity measures
D) Rudimentary sets
  • 23. Which theorem states that PSPACE = NPSPACE?
A) Cook-Levin theorem
B) Time hierarchy theorem
C) P vs NP problem
D) Savitch's theorem
  • 24. Which complexity class is defined using probabilistic Turing machines?
A) BPP
B) AC
C) NC
D) QMA
  • 25. Which theorem implies that L is strictly contained in PSPACE?
A) Savitch's theorem
B) Time hierarchy theorem
C) Cook-Levin theorem
D) Space hierarchy theorem
  • 26. In which year did Boris Trakhtenbrot begin his study of computational complexity?
A) 1955
B) 1971
C) 1960
D) 1956
  • 27. Which complexity class is known to be contained within PSPACE?
A) PP
B) PH
C) BQP
D) MA
  • 28. Who authored 'Computational Complexity: A Conceptual Perspective'?
A) Oded Goldreich
B) Sanjeev Arora; Boaz Barak
C) Michael R. Garey; David S. Johnson
D) Christos Papadimitriou
  • 29. In what year did Richard Karp publish his paper on NP-complete problems?
A) 1967
B) 1971
C) 1965
D) 1972
  • 30. What term did Boris Trakhtenbrot coin in 1955 that is now known as 'complexity measure'?
A) "Signalizing function"
B) "Computational complexity"
C) "Polynomial time"
D) "Turing machine"
  • 31. Which type of reduction is most commonly used in complexity theory?
A) Polynomial-time reduction.
B) Logarithmic-time reduction.
C) Exponential-time reduction.
D) Linear-time reduction.
  • 32. In what year did Alan Turing define Turing machines?
A) 1950
B) 1965
C) 1936
D) 1945
  • 33. Who edited the book 'Unravelling Complexity: The Life and Work of Gregory Chaitin'?
A) Downey, Rod; Fellows, Michael
B) Wuppuluri, Shyam; Doria, Francisco A.
C) Garey, Michael R.; Johnson, David S.
D) Arora, Sanjeev; Barak, Boaz
  • 34. If P equals NP, what can be inferred about co-P and co-NP?
A) co-P would equal co-NP
B) P would not equal NP
C) co-P would not equal co-NP
D) NP would not equal co-NP
  • 35. Which complexity class is defined using Boolean circuits?
A) BPP
B) RP
C) QMA
D) AC
  • 36. Who conducted the running time analysis of the Euclidean algorithm in 1844?
A) Gabriel Lamé
B) Juris Hartmanis
C) Richard E. Stearns
D) Alan Turing
  • 37. Who studied real-time computations in 1962?
A) John Myhill
B) Hisao Yamada
C) Raymond Smullyan
D) Boris Trakhtenbrot
  • 38. Which complexity class contains problems solvable in logarithmic space?
A) L
B) PP
C) NL
D) NC
  • 39. What is the corresponding set of function problems for P?
A) EXPTIME
B) PSPACE
C) NP
D) FP
  • 40. Who defined linear bounded automata in 1960?
A) John Myhill
B) Raymond Smullyan
C) Boris Trakhtenbrot
D) Hisao Yamada
  • 41. In the context of continuous complexity theory, what is approximated by discretizations?
A) Quantum states.
B) Continuous functions.
C) Discrete graphs.
D) Boolean expressions.
  • 42. Which complexity class includes all decision problems?
A) NP
B) ALL
C) EXPTIME
D) P
  • 43. Who are the authors of 'Parameterized complexity'?
A) Wuppuluri, Shyam; Doria, Francisco A.
B) Cook, Stephen; Fortnow, Lance
C) Papadimitriou, Christos; Sipser, Michael
D) Downey, Rod; Fellows, Michael
  • 44. How many combinatorial and graph theoretical problems did Richard Karp show to be NP-complete?
A) 15
B) 10
C) 30
D) 21
  • 45. Which analysis considers both costly and less costly operations together over the whole series of operations?
A) Average-case complexity
B) Best-case complexity
C) Amortized analysis
D) Worst-case complexity
  • 46. Which complexity class is believed to contain the complement problems of NP?
A) PP
B) NP
C) BQP
D) co-NP
  • 47. What does analog computation involve according to continuous complexity theory?
A) Digital signal processing.
B) Finite state machines.
C) Continuous dynamical systems and differential equations.
D) Probabilistic algorithms.
  • 48. Who wrote 'A Short History of Computational Complexity'?
A) Cook, Stephen
B) Fortnow, Lance; Homer, Steven
C) Mertens, Stephan
D) Khalil, Hatem; Ulery, Dana
  • 49. Which complexity class is defined using interactive proof systems?
A) QMA
B) NC
C) IP
D) BPP
  • 50. Who are the authors of 'Computational Complexity' published in 1994?
A) Oded Goldreich
B) Sanjeev Arora; Boaz Barak
C) Christos Papadimitriou
D) Michael R. Garey; David S. Johnson
  • 51. Who suggested that a 'good' algorithm should have running time bounded by a polynomial of the input size?
A) Leonid Levin
B) Edmonds
C) Gabriel Lamé
D) Juris Hartmanis
  • 52. Who authored 'Introduction to the Theory of Computation'?
A) Michael Sipser
B) Christos Papadimitriou
C) Sanjeev Arora
D) Boaz Barak
  • 53. Which complexity class includes counting problems?
A) BPP
B) #P
C) NC
D) RP
Created with That Quiz — the site for test creation and grading in math and other subjects.