Question

In: Computer Science

Exercise 5 (1 pt for each correct answer) For each of the following statements indicate whether...

Exercise 5 (1 pt for each correct answer)

For each of the following statements indicate whether it is true, false, or unknown.

  1. The SAT problem is in P.
  2. The SAT problem is in NP.
  3. The SAT problem is in EXP.

Bonus exercise (2 pts)

Show that if P=NP then there is a polynomial-time algorithm for the following search problem: given a graph, find its largest clique.

Solutions

Expert Solution

1.The SAT problem is in P.

ans:- False

2.The SAT problem is in NP.

ans:-True

3.The SAT problem is in EXP

ans:-True

SAT is the first problem that was proven to be NP-complete by Cook's Theorem.

It is possible to determine whether a boolean expression is satisfiable, the question is how quickly it can be done.

If there are n variables, then we can try all 2^n possible truth assignments, and eventually we'll find if there is a satisfying one, but this is not polynomial time with respect to the size of the input.

There might be some polynomial time algorithm that does solve SAT, we don't know, however SAT is NP-complete, which gives strong evidence that there isn't a polynomial time algorithm that's why SAT is not in P and it is rather in NP.

Since the SAT problem is NP-complete, only algorithms with exponential worst-case complexity are known for it.

So, if they can be solved then they would be solved in worst case as exponential algorithm.


Related Solutions

Indicate whether the following statements are correct or incorrect, and justify your answer: a)The presence of...
Indicate whether the following statements are correct or incorrect, and justify your answer: a)The presence of more dislocations increases the yield strength of an annealed metal. b)Dislocation move more readily in a solid solution alloy than in a pure metal. c)A fine-grained alloy will have a higher yield strength than a corse-grained alloy of the same chemical composition.
Indicate whether the following statements are (True) or (False) and correct the False statements:
 Indicate whether the following statements are (True) or (False) and correct the False statements: 1. The corporate treasurer typically handles both cost accounting and financial accounting. 2. Marginal analysis states that financial decisions should be made and actions taken only when added benefits are greater than zero. ( 3. The conflict between the goal of a firm's owners and the goal of its non-owner managers is incompatibility. () 4. The sale of either bonds or stocks to the general public is called private placement....
Indicate whether the statements below are CORRECT or INCORRECT. ONLY pick correct for statements that are...
Indicate whether the statements below are CORRECT or INCORRECT. ONLY pick correct for statements that are COMPLETELY correct. For statements that are partially correct or sometimes correct but not always, explain your answer in ONE sentence: (a) In 13C DEPT NMR spectra, a carbon in a methylene (CH2) group always has the same phase as one in a quaternary group. (b) In 1H NMR spectra, two diastereomers will give different spectra. (c) The 1H NMR spectrum of 3-methoxypentane consists of...
Indicate whether each of the following statements is true or false. 1. The corporation is an...
Indicate whether each of the following statements is true or false. 1. The corporation is an entity separate and distinct from its owners. 2. The liability of stockholders is normally limited to their investment in the corporation. 3. The relative lack of government regulation is an advantage of the corporate form of business. 4. There is no journal entry to record the authorization of capital stock. 5. No-par value stock is quite rare today.
Indicate whether each of the following statements is true, false, or uncertain, and explain your answer...
Indicate whether each of the following statements is true, false, or uncertain, and explain your answer in great detail. If a word or phrase is italicized and bolded your answer must include a concise definition of the word or phrase. You must include graphs when necessary. How does an economy get out of a recessionary gap? (use a graph.)
Indicate whether each of the following statements are true, false, or uncertain and explain your answer....
Indicate whether each of the following statements are true, false, or uncertain and explain your answer. a. Consider two zero-coupon bonds, one with a short maturity, and one with a longer maturity. The value of the long-maturity bond is more sensitive (in % terms) to changes in interest rates than the short-maturity bond' s value. b. If the Internal Rate of Return (IRR) of an investment project is above its cost of capital, then the NPV of the project (calculated...
Indicate whether each of the following statements is True or False, and Briefly Justify your answer....
Indicate whether each of the following statements is True or False, and Briefly Justify your answer. The Coefficient of Determination in a multiple linear regression model, R2, is the ratio of residual sum of squares (RSS) to total sum of squares (TSS). It tells us the percentage of unexplained variation in the dependent variable.
Indicate whether each of the following statements is True or False, and Briefly Justify your answer....
Indicate whether each of the following statements is True or False, and Briefly Justify your answer. The Gauss-Markov Theorem says that within the class of linear, unbiased estimators, OLS estimators have zero variance.
Please, I need correct answers and clear explanation. Thanks, Indicate whether each of the following statements...
Please, I need correct answers and clear explanation. Thanks, Indicate whether each of the following statements is true or false: a. Under the accrual basis of accounting, when cash is collected on accounts receivable, revenue is recorded. b. Cash receipts from customers are debited to Accounts Receivable. c. The cash basis of accounting recognizes expenses when they are incurred. d. Under the cash basis of accounting, there is no such thing as a Prepaid Expenses account. e. Asset accounts and...
Indicate whether each of the following statements is true or false: 1. The principle of conservatism...
Indicate whether each of the following statements is true or false: 1. The principle of conservatism requires that accountants understate the company’s asset valuations and reported profits. 2. The materiality principle suggests that transactions involving minor dollar amounts need not be processed. 3. The general ledger is that set of accounting records from which figures for the balance sheet and income statement are drawn. 4. Copies of checks sent to vendors to settle accounts payable represent important source documents. 5....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT