Input (grade 12): In modern terminology, SOS is a Morse "procedural signal" or "prosign", and the formal way to write it is with a bar above the letters, i.e. SOS.
Output (grade 12): In modern terminology, SOS is a "procedural signal" or "prosign", and the formal way to write it is with a bar above the letters.