A real-time operating system does not necessarily have to be fast. It simply has to be quick enough to respond to inputs in a predictable way. Embedded computers often contain an RTOS as many are used ...
Each type of computer you use, eg PC, Apple Mac or Raspberry Pi, uses a different set of instructions to tell the processor what to do. You can program a computer at this low level using a language ...