Appendix C. Exercises and Solutions

 

In this appendix, you will find a comprehensive set of exercises and their corresponding solutions, organized by chapter, to enhance your understanding and application of the material presented in this book. These exercises are designed to reinforce the concepts, theories, and practical skills covered throughout the chapters.

Chapter 2: A Deeper Look at Search and Optimization

Exercises

1. MCQs: Choose the correct answer for each of the following questions.

1.1. _________ is the class of decision problems that can be solved by non-deterministic polynomial algorithms and whose solutions are hard to find but easy to verify.

    1. P
    2. NP
    3. co-NP
    4. NP-Complete
    5. NP-hard

1.2. Which of the following benchmark/toy problems is not NP complete?

    1. Bin packing
    2. Knapsack problem
    3. Minimum spanning tree
    4. Hamiltonian circuit
    5. Vertex cover problem

1.3. _________ is the class of decision problems whose “No” answer can be verified in polynomial time.

    1. P
    2. NP
    3. co-NP
    4. NP-Complete
    5. NP-hard

1.4. Which of the following real-world problems is NP-hard?

    1. Image matching
    2. Single Machine Scheduling
    3. Combinational Equivalence Checking
    4. Capacitated Vehicle Routing Problem (CVRP)
    5. Container/truck loading

1.5. _________ is a theory that focuses on classifying computational problems according to their resource usage and relating these classes to each other.

    1. Optimization complexity
    2. Time complexity
    3. Computational complexity
    4. Operation Research
    5. Decision complexity

Solutions

Chapter 3: Blind Search Algorithms

Exercises

Solutions

Chapter 4: Informed Search Algorithms

Exercises

Solutions

Chapter 5: Simulated Annealing

Exercices

Solutions

Chapter 6: Tab Search

Exercises

Solutions

Chapter 7: Genetic Algorithm

Exercises

Solutions

Chapter 8: Genetic Algorithm Variants

sitemap