A is resistors, no polarity so you can connect it in any direction
B is LEDs, with polarity mentioned, hole with bar gets "-" terminal, cathode, or shorter leg of the LED
C is diodes, with bar on the next to the cathode pad, so bar on the diode goes on that end