a. Briefly define each of the following: i. Decision problem i. Nondeterministic machine ii. NP iv. NP-complete problem b. What is the satisfiability decision problem (SAT)? c. State the Cook-Levin Theorem.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
a. Briefly define each of the following:
i. Decision problem
ii. Nondeterministic machine
iii. NP
iv. NP-complete problem
b. What is the satisfiability decision problem (SAT)?
c. State the Cook-Levin Theorem.
d. Let QUADSAT (the quadruple satisfiability problem) be the following.
Given a logical formula , determine whether there are four different truth assignments that satisfy . For example, the
formula = (p v-p) A (gV -g) is in QUADSAT, since the following truth assignments satisfy : p-true, q-true; p-true,
q-false: p-false, q-true; and p-false, q-false. However the formula V= (p V-p) Aq is not in QUADSAT, since only the
following truth assignments satisfy : p-true, q-true; and p-false, q-true.
Show that QUADSAT is in NP.
e. Now, show that QUADSAT is NP-complete. (HINT: As in the proof that 3SAT is NP-complete, you may want to add
variables that are not in the original formula.)
Transcribed Image Text:a. Briefly define each of the following: i. Decision problem ii. Nondeterministic machine iii. NP iv. NP-complete problem b. What is the satisfiability decision problem (SAT)? c. State the Cook-Levin Theorem. d. Let QUADSAT (the quadruple satisfiability problem) be the following. Given a logical formula , determine whether there are four different truth assignments that satisfy . For example, the formula = (p v-p) A (gV -g) is in QUADSAT, since the following truth assignments satisfy : p-true, q-true; p-true, q-false: p-false, q-true; and p-false, q-false. However the formula V= (p V-p) Aq is not in QUADSAT, since only the following truth assignments satisfy : p-true, q-true; and p-false, q-true. Show that QUADSAT is in NP. e. Now, show that QUADSAT is NP-complete. (HINT: As in the proof that 3SAT is NP-complete, you may want to add variables that are not in the original formula.)
Expert Solution
Step 1

a

i. Decision problem:

        It is a type of problem where it can be given as a yes or no as the input values that is in a computational complexity theory and in a computability theory. For example let us consider the prime number where it is to be checked whether it is prime or not and by using this decision tree we will be able to know it easily and this is mainly solved with an algorithm which is known as decidable.

ii. Non deterministic machine:

       If the governing steps will specialize more than one action which is possible in a particular situation then that is called as a non deterministic machine, that means the performance of the later state will be depending on the present symbol of which it sees.

iii. NP:

    NP stands for Non deterministic polynomial time. It is mainly used to define the decision problem, it is a collection of decision problems that the instances of the problem occur. 

iv. NP complete problem:

    If a given solution that can be guessed and if it can be answered then that particular problem is called as NP complete problem and that must be in a given polynomial time and when coming to non deterministic then that cannot be answered in a given amount of time, now if a particular problem is NP and the remaining all are the NP problem which are reducible at a given time then that problem is termed as NP complete problem.

 

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Bare Bones Programming Language
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education