Domanda di colloquio di QuickLogic

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