Learning styles has gained widespread recognition in education theory and classroom management strategy. Individual learning styles depend on cognitive, emotional and environmental factors, as well as one's prior experience. This research work comprises defining method which uses questionnaires to determine the student's learning style and then adapt their behavior according to the learning styles. This research work uses primarily, personality trait test (PTT) is used to predict the learning behavior of the student. After that empirical relationship between the Kolb's learning style and learning computer programming skills through classification algorithms was analyzed. The performance of the research work has been evaluated through experimental results.