





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Some concepts of Computability are Algorithmic Problems, Automata, Closure of Regular Languages, Computability, Free Languages, Machine Transforms, Magic Bullets, Minimization, Models of Computation, Nondeterministic Complexity. Important points in this lecture are: Automata, Languages,, Deterministic Finite Automata, Machine Dispenses, Dimes And Quarters, Correct Change, Java-Method Pseudocode, Over-Kill, Vending Machines, Possibilities Multiplicatively
Typology: Slides
1 / 45
This page cannot be seen from the preview
Don't miss anything!






































Today Strings Languages Deterministic Finite Automata For next time: Read up to 1. Check out ABCEZ in lecture 2-4 directory. HW 1
Soda vend(){
int total = 0, coin; while (total != 45){ receive(coin); if ((coin==10 && total==40) ||(coin==25 && total>=25)) reject(coin); else total += coin; } return new Soda();
}
About to put in a dime
About to put in a quarter
About to put in a dime
string resulting from putting them together
EG: ire land = ireland, QQ DD = QQDD,
Q1: Why the last claim?
Q2: What’s the Java equivalent of concatenation?