MPLAB, IDE & C-18 Compiler - MCQs with answers

MPLAB, IDE & C-18 Compiler - MCQs with answers


1. Which among the below assertions represent the salient features PIC of C-18 compiler?

a. Transparent read/ write access to an external memory
b. Provision of supporting an inline assembly during the necessity of an overall control
c. Integration with MPLAB IDE for source-level debugging
d. All of the above

View Answer / Hide Answer

ANSWER: d. All of the above



2. Which command-line option of compiler exhibits the banner comprising overall number of errors, messages, warnings and version number after an accomplishment of the compilation process?

a. help
b. verbose
c. overlay
d. char

View Answer / Hide Answer

ANSWER: b. verbose



3. In which aspects do the output functions specified in stdio.h differ from ANSI specified versions?

a. Provision of MPLAB specific extensions
b. Floating -point Format Support
c. Data in Program Memory
d. All of the above

View Answer / Hide Answer

ANSWER: d. All of the above



4. What does the 'pragma idata' section of data memory contain in C-18 Compiler ?

a. statically assigned/allocated initialized user variables
b. statically assigned /allocated uninitialized user variables
c. only executable instructions
d. variables as well as constants

View Answer / Hide Answer

ANSWER: a. statically assigned/allocated initialized user variables


Post your comment