Free Online Directory Embedded C Programming MCQs - MCQs Answers

Embedded C Programming MCQs

20 min Score: 0 Attempted: 0/20 Subscribe
1. What is the primary purpose of Embedded C programming?





2. Which standard library function is used to include input and output functionalities in Embedded C?

4. What does the volatile keyword indicate in Embedded C?





5. Which function is typically used to initialize hardware peripherals in Embedded C?





6. What does the #define directive do in Embedded C?





7. Which operator is used to access a specific bit in a register in Embedded C?





8. How do you handle timing and delays in Embedded C?





9. What is the purpose of the ISR (Interrupt Service Routine) in Embedded C?





10. In Embedded C, what is a common use of bit-fields in structures?





11. What is the function of the main() function in an Embedded C program?





12. Which of the following is used to control an LED connected to a microcontroller pin in Embedded C?





13. What does the static keyword do when applied to a function or variable in Embedded C?





14. Which of the following is NOT a common type of loop used in Embedded C?





15. What is the role of a watchdog timer in an Embedded C system?





16. Which operator is used for bitwise XOR operation in Embedded C?





17. What is the purpose of the return statement in a function in Embedded C?





18. Which directive is used to include external files in an Embedded C program?





19. How is a global variable declared in Embedded C?





20. What is the use of the extern keyword in Embedded C?





Leave a Comment

All copyrights Reserved by MCQsAnswers.com - Powered By T4Tutorials