This document presents a genetic algorithm for solving a university weekly course timetabling problem. The timetabling problem involves allocating courses, teachers, rooms and time slots while satisfying constraints. The authors propose a sector-based genetic algorithm that represents timetables as chromosomes. Preliminary experimental results show the algorithm is promising for generating timetables that satisfy constraints. The algorithm uses genetic operators like crossover and mutation to evolve timetable solutions over multiple generations.