At SchoolAmanda Vaden
A person's hand holds a mobile phone with the ChatGPT home screen on it.

The energy around AI is high. From large language models like ChatGPT helping with homework to self-driving cars navigating our streets, AI has become part of our daily conversations. But here's the reality: while everyone's talking about AI, not everyone understands how it works. That's where AI literacy comes in. And it starts with computer science.

AI literacy isn't just about knowing how to use the latest chatbot. It's about understanding the underlying principles that make these technologies tick, recognizing their limitations, approaching them critically, and using them ethically. For students, this means grasping concepts like algorithms, data structures, and pattern recognition, all core computer science principles that form the backbone of every AI system. For teachers, it means more than introducing AI tools in class. It’s about equipping students with the skills to question and analyze how AI works rather than treating it as a “cheat sheet.” Educators are pivotal in connecting abstract computer science concepts to real-world AI applications.

The best part is you don't need to wait until high school to build these skills. With hands-on tools like Sphero robots, students as early as Pre-K can explore foundational concepts that will help them become thoughtful users of AI technology.

The Connection Between Computer Science and AI Literacy

Think of computer science as the language AI is built on. Without understanding the basics, AI remains a mysterious black box. Here's why understanding computer science matters for AI literacy and how Sphero robots can support better comprehension:

  1. Algorithms are the step-by-step instructions that tell computers what to do. In AI, algorithms help systems make decisions, recognize patterns, and learn from data. When students program a BOLT+ to navigate a maze, they create algorithms – the same type of logical thinking that powers machine learning models.

  2. Data structures organize information in ways that allow computers to process it efficiently. AI systems rely heavily on structured data to make predictions and classifications. Students working with sensor data from their Sphero robots get hands-on experience with how machines interpret and organize information.

  3. Pattern recognition helps computers identify similarities and differences in data. This is fundamental to how AI systems learn to recognize faces, understand speech, or predict outcomes. When students program their robots to respond differently to various colors or obstacles, they practice the same pattern-matching skills driving AI systems.

  4. Logic and conditional reasoning form the decision-making framework for traditional programming and AI. If-then statements and Boolean logic aren't just coding basics; they're the building blocks of how machines make choices.

Without these computer science basics, AI concepts like machine learning and computer vision seem mysterious. But when students understand the underlying principles, they can see how these advanced technologies leverage the computer science concepts they can learn and master.

How Sphero Teaches Computer Science in a Hands-On, Engaging Way

Learning computer science doesn't have to mean staring at lines of code on a screen. Sphero robots bring programming concepts to life through physical interaction and immediate visual feedback. Here's how students build essential computer science skills:

  1. Sequencing and loops become tangible when students program their robot to move in specific patterns. Instead of abstract concepts, loops are why BOLT+ can draw a perfect square or indi can follow a repeating color path. Students see their code come to life as their robot executes each command in order.

  2. Conditional logic makes perfect sense when students program their robots to stop at a red light or turn when it detects an obstacle. These real-world scenarios help students understand how computers make decisions based on different inputs and conditions.

  3. Functions and variables transform from mysterious programming terms into practical tools. Students might create a "dance" function that they can call multiple times, or use variables to control their robot's speed and direction. The physical feedback makes these abstract concepts concrete and memorable.

  4. Problem solving, computational thinking, and debugging happen naturally as students troubleshoot why their robot isn't behaving as expected. When RVR+ doesn't navigate the course correctly, students learn to break down the problem, test different solutions, and iterate until they succeed.

This hands-on approach builds what experts at TeachAI call "code sense" – the intuitive understanding of how programs work that enables students to use AI tools effectively rather than unquestioningly accepting their outputs.

From Computer Science Fundamentals to AI Literacy: Sphero in Action

The computational thinking skills students develop through programming Sphero robots translate directly to understanding and working with AI systems. Here's how these skills connect:

  1. Decomposition – breaking complex problems into smaller, manageable parts – is essential for programming robots and understanding AI systems. Students who learn to break down complex robot behavior into individual commands can later understand how AI models break down complex decisions into multiple processing steps.

  2. Abstraction – focusing on essential features while ignoring irrelevant details – helps students understand programming concepts and AI model behavior. Students learn to think about high-level behaviors (like "follow the path") while understanding the underlying code that makes them happen.

  3. Algorithm design becomes second nature as students create step-by-step instructions for their robots. As mentioned above, this logical thinking process directly transfers to understanding how AI algorithms process information and make decisions.

Real classroom projects bridge these concepts together. Take our BOLT Meets ChatGPT lesson, for example, where students discover that AI-generated code doesn't always work perfectly. They learn to debug and modify the code, demonstrating why human oversight remains essential even as AI tools become more sophisticated.

 

In our RVR+ autonomous vehicle lesson, students program their robots to navigate courses independently, experiencing firsthand the challenges of creating truly autonomous systems. They discover why self-driving cars require so many sensors and safety measures — because the real world is far more complex than a controlled classroom environment.

Students program their robots to recognize specific colors in our image recognition lesson, and learn the importance of training data and model tuning. They see how small changes in parameters dramatically affect their robot's behavior, helping them understand why AI systems require careful human oversight and continuous refinement.

Soon, Sphero will offer a new collection of lessons in Sphero Central that further model and break down AI concepts for students, so that even young learners can start becoming AI literate.

Preparing the Next Generation of AI-Ready Thinkers

The future workforce won’t just need people who can use AI tools – it will need innovators who can build them, improve them, and think critically about their impact. Even if careers in computer science dip slightly, AI literacy and “code sense” gained through computer science education will remain essential. A strong grasp of the basics is what creates these kinds of thinkers.

Students who understand computer science approach AI with the right mindset. Instead of asking, "How do I use this?" they ask, "How does this work?" and, "What are its limitations?" 

This knowledge becomes increasingly crucial as AI tools become more powerful and prevalent. Students who understand computer science can work effectively with AI assistants, spot potential problems in AI-generated code or content, and contribute to developing more ethical and practical AI systems.

The U.S. Department of Education's recent guidance on AI in schools emphasizes this: students need to understand AI, not just use it. Building this understanding starts with a strong foundation in computer science education.

One way educators are meeting this challenge is by using AI literacy frameworks — structured guides that outline the knowledge, skills, and attitudes students need to navigate an AI-powered world. These frameworks ensure lessons cover not just technical skills, but also ethics, critical thinking, and responsible use, making them a natural complement to hands-on computer science learning. 

Start with Computer Science, End with AI Fluency

AI literacy isn't a separate subject; it's the natural evolution of strong computer science comprehension. Students who understand algorithms, data structures, and computational thinking are prepared to engage with AI as informed, critical thinkers.

Students who program robots to navigate autonomously, recognize patterns, and respond to sensor data are building the skills they'll need to understand and work with advanced AI systems.

The journey from computer science to AI fluency doesn't happen overnight, but it starts with a single step – or in Sphero’s case, a single roll. 

Ready to help your students build the skills they'll need for an AI-driven future? Explore our AI lesson collection and discover how hands-on computer science education creates the AI-literate thinkers our world needs. Because the best way to prepare for the future is to start building it today.

At school