MCQOPTIONS
Saved Bookmarks
This section includes 11 Mcqs, each offering curated multiple-choice questions to sharpen your Embedded Systems knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following are header files? |
| A. | #include |
| B. | file |
| C. | struct() |
| D. | proc() |
| Answer» B. file | |
| 2. |
Which of the following is also known as loader? |
| A. | locater |
| B. | linker |
| C. | assembler |
| D. | compiler |
| Answer» C. assembler | |
| 3. |
Which assembler option runs the m4 macro preprocessor on the source file? |
| A. | -n |
| B. | -m |
| C. | -V |
| D. | -o |
| Answer» C. -V | |
| 4. |
Which assembler option is used to turn off long or short address optimization? |
| A. | -n |
| B. | -V |
| C. | -m |
| D. | -o |
| Answer» B. -V | |
| 5. |
Which statement is used to condense the code to improve the eligibility? |
| A. | # define MACRO() |
| B. | # include |
| C. | if |
| D. | else-if |
| Answer» B. # include | |
| 6. |
Which compiling option is used to compile programs to form part of a library? |
| A. | -c |
| B. | -p |
| C. | -f |
| D. | -g |
| Answer» B. -p | |
| 7. |
Which compiling option can be used for finding which part of the program is consuming most of the processing time? |
| A. | -f |
| B. | -g |
| C. | -p |
| D. | -c |
| Answer» D. -c | |
| 8. |
Which compiling option can generate symbolic debug information for debuggers? |
| A. | -c |
| B. | -p |
| C. | -f |
| D. | -g |
| Answer» E. | |
| 9. |
Which is the standard C compiler used for the UNIX systems? |
| A. | simulator |
| B. | compiler |
| C. | cc |
| D. | sc |
| Answer» D. sc | |
| 10. |
Which command takes the object file and searches library files to find the routine calls? |
| A. | simulator |
| B. | emulator |
| C. | debugger |
| D. | linker |
| Answer» E. | |
| 11. |
Which of the following gives the final control to the programmer? |
| A. | linker |
| B. | compiler |
| C. | locater |
| D. | simulator |
| Answer» B. compiler | |