Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS-300 Theory of Computation 2nd Sem 2017 Lecture 1.

Similar presentations


Presentation on theme: "CS-300 Theory of Computation 2nd Sem 2017 Lecture 1."— Presentation transcript:

1 CS-300 Theory of Computation 2nd Sem 2017 Lecture 1

2 General Info for the Course
Instructor: Dr.Mohammad El-Bashir Syllabus: tentative class schedule can be found in course web page Book: Introduction to the Theory of Computation Michael Sipser, 3rd edition 2nd Sem 2017 Lecture 1

3 Outline of the course contents
Computation memory CPU 2nd Sem 2017 Lecture 1

4 temporary memory input CPU output Program memory 2nd Sem 2017
Lecture 1

5 Example: temporary memory input CPU output Program memory compute
2nd Sem 2017 Lecture 1

6 temporary memory input CPU output Program memory compute compute
2nd Sem 2017 Lecture 1

7 temporary memory input CPU output Program memory compute compute
2nd Sem 2017 Lecture 1

8 temporary memory input CPU Program memory output compute compute
2nd Sem 2017 Lecture 1

9 Automaton temporary memory Automaton input CPU output Program memory
2nd Sem 2017 Lecture 1

10 Automaton temporary memory Automaton input output state transition
2nd Sem 2017 Lecture 1

11 Different Kinds of Automata
Automata are distinguished by the temporary memory Finite Automata: no temporary memory Pushdown Automata: stack Turing Machines: random access memory 2nd Sem 2017 Lecture 1

12 Finite Automaton temporary memory input Finite Automaton output
Example: Elevators, Vending Machines (small computing power) 2nd Sem 2017 Lecture 1

13 Pushdown Automaton Stack Push, Pop input Pushdown Automaton output
Temp. memory Stack Push, Pop input Pushdown Automaton output Example: Compilers for Programming Languages (medium computing power) 2nd Sem 2017 Lecture 1

14 Turing Machine Random Access Memory input Turing Machine output
Temp. memory Random Access Memory input Turing Machine output Examples: Any Algorithm (highest computing power) 2nd Sem 2017 Lecture 1

15 Power of Automata Finite Automata Pushdown Automata Turing Machine
Simple problems More complex problems Hardest problems Finite Automata Pushdown Automata Turing Machine Less power More power Solve more computational problems 2nd Sem 2017 Lecture 1

16 Turing Machine is the most powerful computational model known
Question: Are there computational problems that a Turing Machine cannot solve? Answer: Yes (unsolvable problems) 2nd Sem 2017 Lecture 1

17 Time Complexity of Computational Problems:
NP-complete problems Believed to take exponential time to be solved P problems Solved in polynomial time 2nd Sem 2017 Lecture 1


Download ppt "CS-300 Theory of Computation 2nd Sem 2017 Lecture 1."

Similar presentations


Ads by Google