Description
1. [2 pts] (Multiple choice) Assume there is a decider M, and a language L(M) recognized by M. Which of the following statements is/are TRUE?
A. M must be a Turing Machine
B. L(M) must be a finite set
C. L(M) must be Turing-decidable
D. L(M) must be Turing-recognizable
E. M will halt on all inputs
2. [2 pts] (Multiple choice) If a language π΄ is Turing-decidable, then the subset of π΄ can be _____.
A. Turing-decidable
B. Turing-undecidable
C. Turing-recognizable
D. Turing-unrecognizable
3. [2 pts] (True or False) A language πΏ is Turing-recognizable if and only if both πΏ and its complement πΏπΆ are Turing-decidable.
4. [1 pts] (True or False) If π(π) = π(π(π)) and π(π) = π(β(π)), then π(π) = π(β(π)).
5. [1 pts] (True or False) For an arbitrary size input, an algorithm with O(1) time complexity will definitely solve the problem faster than an algorithm with O(n) time complexity.
6. [2 pts] Give the Big-O estimates for the following functions:
1) π(π) = 2π(π2 + 1) + 10πππππ
2) π(π) = 14 + 24 + 34 + β―+π4
Reviews
There are no reviews yet.