Johnson Controls Interview Question

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