THEORY EXAMINATION (SEM–VI) 2016-17 COMPLEXITY THEORY

B.Tech General 0 downloads
₹29.00

COMPLEXITY THEORY – NCS062

B.Tech (SEM VI) | Section-wise Solved Answers


SECTION – A

(Explain the following – 2 marks each)


(a) Turing Machine

A Turing Machine is a mathematical model of computation that consists of an infinite tape, a read-write head, and a finite control unit. It is used to define what problems are computable.


(b) Parallel Computation

Parallel computation is a computing method where multiple processors execute different parts of a task simultaneously. It helps reduce execution time for large and complex problems.


(c) Diagonalisation

Diagonalisation is a proof technique used to show that certain problems or languages cannot be solved by any algorithm. It is commonly used to prove undecidability and hierarchy theorems.


(d) Uncomputable Function

An uncomputable function is a function for which no algorithm exists that can compute its output for every possible input. The Halting Problem is a classic example.


(e) NP-Complete Problem

An NP-Complete problem is a problem that is both in NP and as hard as any problem in NP. If any NP-Complete problem is solved in polynomial time, then all NP problems can be solved in polynomial time.


(f) Counting Problems

Counting problems focus on determining the number of solutions rather than deciding whether a solution exists. These problems often belong to the complexity class #P.


(g) Interactive Proof

An interactive proof system involves two parties: a prover and a verifier. The prover tries to convince the verifier that a statement is true through interaction, and the verifier uses randomness.


(h) Approximability and Inapproximability

Approximability refers to how closely an optimization problem can be solved near its optimal solution. Inapproximability means no efficient algorithm can approximate the solution within a certain bound.


(i) Adleman’s Theorem

Adleman’s theorem states that BPP (Bounded-error Probabilistic Polynomial time) is contained in P/poly, meaning randomized algorithms can be simulated using polynomial-size circuits.


(j) Fooling Set

A fooling set is a technique used to prove lower bounds in communication complexity by identifying inputs that confuse protocols into incorrect outputs.


SECTION – B

(Attempt any five – explained clearly)


(a) Complexity Classes and Their Relationship

Complexity classes group problems based on the resources required to solve them.
For example, P ⊆ NP ⊆ PSPACE ⊆ EXPTIME.
Problems in P are efficiently solvable, while NP problems are efficiently verifiable.


(b) Steps to Prove NP-Completeness

To prove a problem is NP-Complete, first show it belongs to NP. Then reduce a known NP-Complete problem to it using polynomial-time reduction.


(c) Randomized Quick Sort Algorithm

Randomized Quick Sort selects a pivot randomly instead of deterministically. This reduces the chance of worst-case performance and ensures expected time complexity of O(n log n).


(d) Circuit Satisfiability Problem

Circuit SAT asks whether there exists an input that makes a Boolean circuit output true. It belongs to NP because a satisfying input can be verified in polynomial time.


(e) Equivalence of Single and Multi-Tape Turing Machines

Multi-tape Turing Machines can be simulated by single-tape machines with only polynomial slowdown, proving both models are computationally equivalent.


(f) Gödel’s Incompleteness Theorem

Gödel’s theorem states that in any consistent formal system, there exist true statements that cannot be proven within the system. Example: statements about arithmetic truth.


(g) Rice’s Theorem

Rice’s theorem states that all non-trivial semantic properties of programs are undecidable. It is widely used to prove undecidability in complexity theory.


(h) Randomized Quick Sort Steps and Complexity

The algorithm randomly selects a pivot, partitions elements, and recursively sorts subarrays. Its expected time complexity is O(n log n).


SECTION – C

(Attempt any two – long answers)


(3) Complexity Classes: BPP, RP, coRP

BPP: Problems solvable with bounded error probability in polynomial time

RP: One-sided error randomized class

coRP: Complement of RP

These classes help understand the power of randomness in algorithms.


(4) Proof-Based Questions

(i) If a problem is in P, its complement is also in P because polynomial-time algorithms can be inverted easily.

(ii) If the complement of an NP-Complete problem is in NP, then NP = coNP, which would collapse major complexity class separations.


(5) Short Notes

Quantum Computation
Uses quantum bits and quantum mechanics to solve certain problems faster than classical computers.

Communication Complexity
Studies how much communication is needed between parties to compute a function.

Parallel Computation
Focuses on dividing tasks across multiple processors to achieve faster computation.

File Size
101.85 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Maths Coaching Near Sector 88 Gurugram – Build Strong Concepts, Improve Scores, and Gain Confidence Sector 88, Gurugram
Meditation Coaching Near Sector 124 Noida – A Complete Guide to Mental Peace and Mindfulness Noida
Meditation Coaching Near Sector 128 Noida – A Complete Guide to Inner Peace and Mental Wellness Sector 128, Noida
Drum Lessons Near Tilak Nagar – Learn Electronic Drums at Home with Confidence Tilak Nagar, Delhi
Prenatal Yoga Training Near Vatika City – Safe & Healthy Pregnancy Wellness Vatika City, Gurugram
Spoken English Classes Near By Najafgarh Improve Fluency, Build Confidence & Speak English Naturally Najafgarh, Delhi
🇪🇸 Spanish Language Classes Near Sector 111 Noida – Learn Spanish with Professional Trainers Noida
Soap Making Classes Near By Dwarka Mor – Learn Handmade & Herbal Soap Crafting Dwarka Mor, Delhi
Language Classes Near Tilak Nagar – Learn, Speak & Grow with Confidence Tilak Nagar, Delhi
Spoken English Classes Near Central Park 1 – Improve Confidence and Communication Skills Central Park 2, Gurugram
Fashion Designing Classes Near By Dwarka Mor – Turn Your Creativity into a Stylish Career Dwarka Mor, Delhi
Violin Classes Near Sector 144 Noida – Learn Violin with Professional Music Trainers Sector 144, Noida
TOEFL Coaching Near Noida Sector 106 – Complete Guide for Students Preparing to Study Abroad Noida
Study Abroad Consultation Classes Near Dwarka Mor Complete Guidance for International Education Dwarka Mor, Delhi
Guitar Classes Near Mehrauli – Professional Guitar Training in South Delhi Mehrauli, Delhi
Personal Fitness Training Near Malviya Nagar – Transform Your Health with Expert Guidance Malviya Nagar, Delhi
Spoken English Classes Near By Hauz Khas Build Fluency, Confidence & Professional Communication Skills in 2026 Hauz Khas, Delhi
Spoken English Classes Near By South Extension Improve Fluency, Build Confidence & Unlock Career Growth in 2026 South Extension, Delhi
Yoga Classes Near by Dwarka Mor – A Complete Guide to Better Health & Wellness Dwarka Mor, Delhi
Guitar Classes Near By Hauz Khas Learn Guitar with Expert Guidance & Turn Your Passion into a Powerful Skill Hauz Khas, Delhi
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020