VEX Robotics launches Switch to help students bridge block-based and python coding in computer science

VEX Robotics has announced the launch of Switch, a new feature within its coding platform, VEXcode, aimed at helping students transition from block-based coding to Python.

The feature is designed to make it easier for students to move from visual programming to text-based coding, addressing a challenge that often deters learners from pursuing computer science further.

While block-based coding is ideal for beginners, the shift to text-based coding can be difficult. This transition often leads students to abandon their computer science studies. Switch aims to simplify this process by allowing students to integrate Python commands into their block-based projects, providing a bridge between the two coding methods.

How Switch works

Switch offers a variety of features to support students as they learn Python within a block-based environment:

  • Convert: Students can convert one or more blocks into a Switch block with a single click, revealing the corresponding Python code.

  • Edit: Python code within a Switch block can be edited directly, similar to standard text editing.

  • Write: Blank Switch blocks allow students to write Python code from scratch with auto-complete suggestions to assist them.

  • Drag and Drop: Switch blocks can be rearranged like regular blocks, making it easy to modify the program structure.

  • Syntax Learning: Students can start by converting simple blocks to see the Python syntax and gradually work toward writing more complex code.

  • Multi-Line Coding: Switch supports writing multi-line Python code with correct indentation, helping students understand advanced programming concepts.

Jason McKenna, Vice President of Global Education Strategy at VEX Robotics, stated:

 “Teaching Computer Science is important but also challenging. Educators are seeking ways to teach programming in an approachable manner that allows students to transition from block-based to text-based coding. Switch is an innovative solution in our ongoing efforts to make STEM and Computer Science Education accessible to all students.”

Students can progress at their own pace by converting specific sections of their code to Python when they feel ready. Auto-complete suggestions and automated indentation help students avoid syntax errors, allowing them to focus on programming concepts.

Dr. Jimmy Lin, Director of Computer Science Education at VEX Robotics, noted:

 “Research conducted by our team offers empirical evidence for the effectiveness of Switch. The findings contributed to our understanding of how to design environments that support students of varying experience levels and confidence in transitioning from blocks-based modalities to Python.”

Next
Next

Currys study reveals student use of AI in education and divided opinions on its ethics