MCQsSpecialized MCQsC++ for Embedded SystemsC++ for Embedded Systems 1).What makes C++ suitable for embedded systems?1) Low-level memory access2) High-level abstractions3) Object-oriented programming features4) All of the above 2).Which of the following C++ features is most useful in embedded systems for efficient memory management?1) RAII (Resource Acquisition Is Initialization)2) Polymorphism3) Inheritance4) None of the above 3).What is the main challenge of using C++ in embedded systems?1) Large binary size2) Lack of high-level libraries3) Limited memory4) None of the above 4).What is the primary advantage of using object-oriented principles in embedded systems?1) Easier management of hardware resources2) Modular and reusable code3) Real-time performance optimization4) None of the above 5).Which C++ feature should be avoided in embedded systems due to its overhead?1) Virtual functions2) Direct memory access3) Inline functions4) None of the above 6).What type of C++ features are preferred for performance-critical embedded systems?1) Low-level language features2) High-level abstractions3) Object-oriented features4) None of the above 7).What is a typical problem when using exceptions in embedded systems?1) Increased memory usage2) Increased runtime performance3) Lack of exception handling libraries4) None of the above 8).Which of the following is the most common C++ standard for embedded systems?1) C++982) C++113) C++174) None of the above 9).Which tool is most commonly used for cross-compiling C++ for embedded systems?1) GCC2) Clang3) MSVC4) None of the above 10).What should embedded system developers focus on when writing C++ code?1) Performance2) Memory usage3) Real-time constraints4) All of the above