90 likes | 346 Views
SOLVABLE AND UNSOLVABLE PROBLEMS. Kat Munford Instructor: Dr. Binkley CS111.10 Pages: 329-31. TYPES OF PROBLEMS. UNSOLVABLE. SOLVABLE. POLYNOMIAL. NONPOLYMONIAL. ?UNSOLVABLE PROBLEMS?. ~ HALTING PROBLEM ~ IF YOU CAN SOLVE THE HALTING PROBLEM, YOU CAN SOLVE ANY PROBLEM!!.
E N D
SOLVABLE AND UNSOLVABLE PROBLEMS Kat Munford Instructor: Dr. Binkley CS111.10 Pages: 329-31
TYPES OF PROBLEMS • UNSOLVABLE • SOLVABLE • POLYNOMIAL • NONPOLYMONIAL
?UNSOLVABLE PROBLEMS? ~HALTING PROBLEM~ IF YOU CAN SOLVE THE HALTING PROBLEM, YOU CAN SOLVE ANY PROBLEM!! IN OTHER WORDS, THE SOLUTION TO UNSOLVABLE PROBLEMS IS TO FIND THE SOLUTION TO THE ULTIMATE UNSOLVABLE PROBLEM-THE HALTING PROBLEM.
COMPLEXITY How long does it take to solve the problem? • Run time- the number of operations executed by the computer • when it runs the program. • Memory needed
Big-O Notation The simplification of efficiency. Ex. O(n) means that the programs does “n” operations for “n” inputs. O(n^2) means that the programs does “n^2” operations for “n” inputs.
Polynomial Problems O (log n), O (n), O (n^2)… O(n^k) with k a constant. You can get solutions with a reasonable number of inputs.
Nonpolynomial Problems O (10^n) or O (n!) You can get solutions with only small numbers of inputs (<100)
You have officially learned Solvable and Unsolvable problems. THANK YOU!!!