Castle and slotted nuts are hexagon nuts with sixes notcheson the top.These types of nuts are used in combination with bolts that pre-drilled hole through which a locking pin can pass to lock the nut into position and prevent any further turning.
No, they are two kinds of nut, but looks same,and they do serve the same purpose (anti-loose).
What different of Castle nuts and slotted nuts
The main difference between slotted nuts and castle nut is on the turret end section where the split pin to fixed on .
The castle nut the end section diameter is light smaller, enabling the split pin to be wound round against the turret .The pin does not protrude.
On a slotted nut this is not possible. Other than that they both have the same functionality.

The pin in different way to lock nut


Slotted Nut Castle Nut
From proudce process complicacy,the castle nut need more process than slotted nut. So it will more expensive.