Microcontroller MCQ: Electronics Engineering Q & A

Microcontroller MCQ. Multiple Choice Questions and Answers on Microcontrollers in Electronics Engineering. This set has 18 MCQs related to Microcontrollers.

 

Microcontroller MCQ

 

Where is the result stored after execution of increment and decrement operations over the special-purpose registers in PIC ??

a. File Register
b. Working Register
c. Both a & b
d. None of the above

 

Which instruction is applicable to set any bit while performing bitwise operation settings ??

a. bcf
b. bsf
c. Both a & b
d. None of the above

 

What does the ‘program 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

 

In which aspects do the output functions specified in stdio.h differs 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

 

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

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

 

MCQs

 

 

Which among the below assertions represent the salient features of PIC in 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

 

Which register/s should set the SPEN bit in order to configure RC7/RX/DT pins as DT (data lines) ??

a. TXSTA
b. RCSTA
c. Both a & b
d. None of the above

 

Which bit plays a salient role in defining the master or slave mode in the TXSTA register especially in synchronous mode ??

a. RSRC
b. CSRC
c. SPEN
d. SYNC

 

Which register/s should set the SPEN bit in order to configure RC7/RX/DT pins as DT (data lines) ??

a. TXSTA
b. RCSTA
c. Both a & b
d. None of the above

 

Which bit plays a salient role in defining the master or slave mode in the TXSTA register especially in synchronous mode ??

a. RSRC
b. CSRC
c. SPEN
d. SYNC

 

Microcontroller MCQ

 

What is the status of shift clock supply in a USART synchronous mode ??

a. Master-internally, Slave-externally
b. Master-externally, Slave-internally
c. Master & Slave (both) – internally
d. Master & Slave (both) – externally

 

How is the baud rate specified for high-speed (BRGH = 1) operation in an asynchronous mode ??

a. FOSC / 8 (X + 1)
b. FOSC / 16 (X + 1)
c. FOSC / 32 (X + 1)
d. FOSC / 64 (X + 1)

 

Why is the flag bit TXIF tested or examined in the PIR1 register after shifting all the data bits during the initialization process of USART in asynchronous mode ??

a. For ensuring the transmission of byte
b. For ensuring the reception of byte
c. For ensuring the on-chip baud rate generation
d. For ensuring the 9th bit as a parity

 

What is the purpose of a special function register SPBRG in USART ??

a. To control the operation associated with baud rate generation
b. To control an oscillator frequency
c. To control or prevent the false bit transmission of 9th bit
d. All of the above

 

Where should the value of TX9 bit be loaded during the 9-bit transmission in an asynchronous mode ??

a. TXSTA
b. RCSTA
c. SPBRG
d. All of the above

 

Microcontroller MCQ

 

How many upper bits of SSPSR is comparable to the address located in SSPADD especially after the shifting of 8 bits into SSPSR under the execution of START condition ??

a. 7
b. 8
c. 16
d. 32

 

Where does the baud rate generation occur and begins to count the bits required to get transmitted, after an execution (set) of BF flag ??

a. SCL line
b. SDA line
c. Both a & b
d. None of the above

 

Which command/s should be essentially written for I2C input threshold selection and slew rate control operations ??

a. SSPSTAT
b. SSPIF
c. ACKSTAT
d. All of the above

 

More Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!