Preparing time table using manual method in colleges and schools is very time consuming and tedious task. This ends up with various classes clashing either at same room or with same teachers having more than one class at a time. Due to manual approach, proper use of resources is neither effective nor efficient. To overcome all these problems, I propose to make an automated system as automatic routine generator. The system will take various inputs like number of subjects, classes and their capacity, teachers, maximal lectures a teacher can conduct, topics to be covered in a week or a lecture. Depending upon these inputs it will generate possible time tables satisfying hard constraints for working days of the week. The generated routine may or may not be useful according to the requirement of the administrations