Embedded Automotive embedded question:
- Why pre is faster than post?
- Consider the two statements below and point out which one is preferred and why?
- Size of Stack and Heap?
- Size of Function within stack?
- Memory representation of char, int and float?
- How to find the controller is 8 bit or 16 bit or 32 bit using C program?
- How the size of int is decided? Is it true that the size of int will depend on the processor? For 32-bit machine, it will be 32 bits and for 16-bit it’s 16.
- How to prevent same header file getting include multiple times?
- How to call a function before main() function?
- Can a program be compiled without main() function?
- Can a variable be both volatile &constant?
- Why global variables are evils?
- How to optimize loop Operation?
- What will be the output of following code?
- Stack Push and Pop Function?
- What is Modular Programming?
- String and Array related program?
- What is Pragma Pack?
- C small questions?
- C small codes: –
- Why do we prefer Active Low Signal?
- Size of integer depends on?
- Can devices be added & removed while the system is running in I2C?
- How many numbers of devices can be connected to i2c bus?
- What is the address in i2c bus?
- Is it possible to have multiple master in i2c bus?
- In write transaction, the master monitor the last ACK and issue stop condition? T/F
- In read transaction, the master does not ACK last byte it receive and issue stop condition? T/F
- How will the master indicate it is either address/data? How it will intimate to the slave that master is going to either read/write?
- Numbers of devices can be connected to SPI bus?
- Is it possible to have multiple master in SPI bus?
- How will master convey that it is stopping transmission of data?
- How to select slave in SPI bus?
- Can devices be added & removed while the system is running (hot swapping) in SPI?
- Is it possible to connect slave in daisy chain? What is the role of shift register in master and 7? Slave in SPI?
- Duplex communication is possible by simultaneously using MOSI & MISO during each SPIclock cycle? T/f
- What are the function of can transceiver?
- Can you have two transmitters using the same exact header field?
- Why can is having 120 resistor at each end?
- Why can is message oriented protocol? Can logic what it follows?
- What happen when two can node is sending same identifier at the same time?
- What is the speed of CAN?
- What is the use of SRR (substitute remote request) bit?
- What is difference between standard CAN and extended CAN?
- What is the difference between rs-485 and can?
- In SPIand I2C which one is when to use?