Teachers can integrate computational thinking skills in their classroom through Data practice. This involves allowing students to collect and analyze data, perform curve-fitting, and develop an empirical formula for the relationship between current and resistance and voltage.
Here is a free tool that can be used (PhET Simulations).
Ohm's Law:
See how Ohm's law's equation form relates to a simple circuit. Using Ohm's law, adjust the voltage and resistance and visualize the current change. Students can record, manipulate and do a graphical analysis of their data using the Microsoft Excel spreadsheet or any data recording sheet.
Teachers can use computational thinking concepts such as algorithm, decomposition, and abstraction to help students understand the concept of series and parallel circuits during the introduction stage. See the document below for an example.
Here are some more useful resources:
Computational thinking lessons in K-12 classrooms
Online resources on Stem teaching tools
Physics lesson that incorporates computational thinking: bootstrapworld
Teaching and Learning chemistry Virtual Laboratory