Pergunta de entrevista da empresa QuickLogic

what makes RTOS different? how do you implement malloc? SPI vs I2C?