Undergraduate Course
CSC 369

THEORY OF COMPUTATION
COURSELABS
CSC 369   THEORY OF COMPUTATION

Laboratory Assignment 1 Write a program that will simulate a deterministic finite state automaton that accepts the regular language a*b*. Test your program with several strings that should be accepted and several strings that should not be accepted. Submit your program on disk on the due date the instructor gives in class. Laboratory Assignment 2 Write a program that will simulate a nondeterministic finite state automaton that accepts the regular language a*b*. How will you handle acceptance by exhausting all possiblities until a final state is reached? Test your program with several strings that should be accepted and several strings that should not be accepted. Submit your program on disk on the due date the instructor gives in class. Laboratory Assignment 3. Write a program to simulate a Turing Machine that will exchange the first symbol on the input tape with the last symbol. Submit your program on disk on the due date the instructor gives in class.
NSU Department of Computer Science
700 Park Avenue
Norfolk, VA 23504
Phone: (757) 823-9454
     Fax: (757) 823-9229
  eMail: CompSci@nsu.edu
Home | Resources | People | Courses | Undergraduate Program | Graduate Program |
Research | News & Events

Norfolk State University - Department of Computer Science
Copyright © 2008. All Rights Reserved.
NSU College Of Science, Engineering & Technology