Coding the Madness: AP Computer Science Students Use Java to Predict NCAA Tournament
March 18th, 2026
The intersection of data science and athletics has taken center stage in Ms. Maureen Smith's AP Computer Science A class. As the NCAA Men's College Basketball tournament begins, students are participating in a high-stakes experiment: can a custom-built Java algorithm outperform human intuition?
Students in the AP Computer Science program developed unique software models to analyze team performance. Using the Java programming language, each student determined which variables would most accurately predict a bracket winner. By building these predictive models, the class explores real-world applications of computer science, moving beyond theory into practical data analysis.
Before the first tip-off, every student submitted two entries for the class competition: a personal bracket based on their own sports knowledge and intuition, and a coded bracket generated entirely by their custom Java program. The student whose bracket, whether human or machine-generated, finishes closest to the final results will earn a lunch courtesy of Ms. Smith. Regardless of the winner, the project has successfully demonstrated how computer science skills can be applied to any field, from sports analytics to financial modeling.
Other articles to consider
Jun8Empowered to Lead: St. Martin's Girls Seize Statewide Leadership Opportunities
At St. Martin's Episcop...See Details
Jun3St. Martin’s Educator Brings History to Life on National WWII Museum Stage
A few weeks ago, the li...See Details
May29Celebrating Excellence: Faculty and Staff Honored for Service, Leadership, and Outstanding Teaching
At the close of the sch...See Details
May28St. Martin’s Senior Internship Program Bridges Classroom Learning and Real World Experience
For seniors at St. Mart...See Details
Categories
- Academic Excellence
- Alumni
- Alumni Spotlight
- Athletics
- Arts
- Authors & Speakers
- Community
- Episcopal Tradition
- Faith
- Faculty and Staff
- Innovation + Design
- Mission
- StM Traditions
- World Languages
- George Cottage
- Lower School
- Middle School
- Upper School
- Campus of Opportunity
- Love of Learning
- Student Support Services
- Parents
- Alumni Awards
- Admissions Resources
- Alumni Stories
- College Counseling







