Johnson Controls interview question

difference I2C bus and SPI, Process and threads , pointers const etc