The most important thing for electronic diagnostics is a strong background in basic 4 stroke engine principles. Pistons go up and down, crank goes round and round. Fuel, air and spark at
proper ratios and at the
correct time, plus understanding that the PCM can "adjust" all of those. Experience helps a lot, like being able to detect, by ear/sight, an occasional misfire on a multi-cylinder engine.
Many rookies let diagnostic trouble codes (DTCs) jump to a conclusion. One of the most common is letting a DTC code lead you to replacing and O2 sensor when it is some kind of vacuum leak ("pirate air"). Again, experience helps a lot.
Second is BASIC electricity starting with Ohm's Law !
You must be able to receipt it in all directions and UNDERSTAND how to use it to your advantage.
The next part of basic electricity is inductors (coils) and capacitors. All motors solenoids and even incandescent light bulbs have inductance because they all have a loop of wire. What you need to know is that inductors RESIST CHANGE IN CURRENT ! When you "turn on" an inductor if takes a very small amount of time before it is fully ON. When you turn off an inductor it takes a very small amount of time before it is fully OFF.
(Watch an incandescent light bulb. You can actually see this !). Capacitors RESIST CHANGE IN VOLTAGE ! You very rarely see capacitor in automotive circuits.
Last is electricity and magnetism.
When a magnet is passed near/through a loop of wire
(which is also an inductor; more in a minute) electricity is created. The amount of electricity (voltage and current) depends on the strength (closeness) of the magnet, how fast it is moving and how many loops of wire.
A loop of wire will create a magnetic "field" when current flows through it. That field can move iron/steel. That is a solenoid/injector/motor. When you turn off the current it is just like passing a magnet near the loop of wire (inductor) as I just mention. This creates electricity going BACKWARD (back EMF).
You have to understand how all of this works in the real world (experience).
You have just completed 1/2 of a first year college physics course !