SJCIT                                                                                Question Bank
Estd: 1986
                   Department of Electronics & Communication
SUBJECT TITLE                 MICROCONTROLLER
SUBJECT TYPE                  ELECTIVE
SUBJECT CODE                  BEC405A
ACADEMIC YEAR                 2024 (EVEN SEMESTER)                 BATCH                  2022-2026
SCHEME                        CBCS 23 SCHEME
SEMESTER                      IV C
FACULTY NAME and
                              E N Srivani, Asst. Professor
DESIGNATION
                                  QUESTION BANK
                                                 Module -1
 Q.                                                                                  Bloom’s
                                           Questions                                                 COs
 No.                                                                                   LL
  1       Bring out the difference between Microprocessor and Microcontroller.         L1        CO1
  2       Differentiate between CISC and RISC.                                          L1       CO1
  3       Write a short note on criteria for choosing a microcontroller.                L1       CO1
  4       With a neat architecture diagram explain the architectural features of        L2       CO1
          8051 microcontroller. Define microcontroller, mention its applications.
  5       With neat diagram explain the internal memory structure and                   L2       CO1
          programming model of 8051 microcontroller.
  6       With function of each pin explain the pin layout of 8051 microcontroller      L2       CO1
          Interpret the Interface 4k bytes RAM and 8k bytes ROM to 8051                          CO1
  7       microcontroller in such a way that starting address of RAM is 1000H and       L3
          ROM is C000H.
  8       Write an interfacing diagram 8051 microcontroller interfaced to 8k bytes      L3       CO1
          of ROM and 8k bytes of RAM.
  9       The entire 8 bits of Port 1 are accessed                                      L4       CO1
          BACK: MOV A,#55H
          MOV P1,A
          ACALL DELAY
          MOV A,#0AAH
                                                                                     Page | 1
SJCIT                                                                                Question Bank
        MOV P1,A
        ACALL DELAY
        SJMP BACK
        Rewrite the code in a more efficient manner by accessing the port directly
        without going through the accumulator ( 2 methods) ,compile the
        program using keil software and evaluate the time consuming of all the
        methods.
        Analyze the list file and how the code is placed in ROM
 10                                                                                   L5&L6      CO1
                                                Module -2
 Q.                                                                                  Bloom’s
                                          Questions                                                  COs
 No.                                                                                    LL
  1     Define the 5 different addressing modes of 8051 with examples.                  L1       CO2
  2     List and explain bit level logical instructions in 8051.                        L1       CO2
  3     With neat diagram explain the range of JUMP instructions                        L1       CO2
  4     Define assembler directives. With example explain all the assembler             L2       CO2
        directives supported by 8051 microcontrollers.
  5     Explain the following instructions, also mention how many bytes it takes        L2       CO2
        to store in ROM:
        1. DJNZ Rn, R_ADDRESS
        2. JNC R_ADDRESS
        3. DA A
        4. MOVX A, @A+
  6     Write an ALP to convert a Binary number to packed BCD number                    L2       CO2
        (hexadecimal to decimal). The binary number is stored at 40h location.
        Store the converted packed BCD number at 50h and 51h internal RAM
        location.
  7     Write an assembly language program to multiply 16-bit number with 8-bit         L3       CO2
        number and Store the result in memory.
  8     Write an ALP to convert a packed BCD number into two ASCII numbers.             L3       CO2
                                                                                     Page | 2
SJCIT                                                                                 Question Bank
        Store the result in R5 and R6 respectively.
  9     Illustrate to write an assembly language program to add two 16-bit               L4       CO2
        numbers loaded in R1R0 and R3R2. Store the result in R6, R5 and R4
        from MSB to LSB.
 10     Develop and examine to count the number of positive and negative               L5&L6      CO2
        numbers present in the internal memory block starting with address 20H,
        containing N bytes. Store the counts after the last data byte in the memory
        block.
                                               Module -3
 Q.                                                                                   Bloom’s
                                          Questions                                                   COs
 No.                                                                                     LL
  1     Explain RS232 standard and 9 pin DB connector                                    L1       CO3
  2     Explain full duplex, half duplex and simplex in serial communication             L1       CO3
  3     Explain the bit contents of TCON and TMOD registers.                             L1       CO3
  4     Explain mod 2 operations of timers and explain steps involved in                 L2       CO3
        programming timer in mod 2
  5     Explain the bit pattern of SCON register with diagram                            L2       CO3
  6     Write an assembly language program to transfer multi-byte data serially          L2       CO3
        with 9600 baud rate.
  7     Analyze the structure of TMOD and TCON register. Explain RS232 in                L3       CO3
        serial communication using 8051 microcontroller.
  8     Write a C program to transfer "YES" serially at 9600 baud rate, 8 bit data,      L3       CO3
        1 stop bit, do this continuously.
  9     Assuming XTAL frequency as 11.0592Mhz, write a program to generate               L4       CO3
        4Khz square wave on P2.1. Use timer 0 in model show all the
        calculations
 10     Analyze and validate following code with respect to stack.                     L5&L6      CO3
           MOV SP, #10H
           PUSH SP
           POP 0E0H
           ADD A, #10H
                                               Module -4
 Q.                                                                                   Bloom’s
                                          Questions                                                   COs
 No.                                                                                     LL
  1     Explain programming of timer interrupts.                                         L1       CO3
  2     Explain the bit contents of IE register.                                         L1       CO3
  3     List the steps involved in executing an interrupt                                L1       CO3
  4     Explain the structure of Interrupt priority and interrupt enable register        L2       CO3
                                                                                      Page | 3
SJCIT                                                                              Question Bank
  5     Explain how multiple interrupts are handled in 8051 microcontroller           L2       CO3
  6     Explain interrupt vector table of 8051 microcontroller                        L2       CO3
  7     Analyze Interrupt control used in 8051.                                       L3       CO3
  8     Explain the steps involved in Programming Serial Communication                L3       CO3
        Interrupts
  9     Write a C program using interrupts to generate a square wave on port pin      L4       CO3
        P1.2 of 1kHz using timer-0 in mode 2.
 10     Design and validate an ALP in 8051 to generate a square wave of             L5&L6      CO3
        frequency 10KHz on pin P1.2 using time1 mode 1. Assume crystal
        frequency as 11.0592Mhz.
                                                Module -5
 Q.                                                                                Bloom’s
                                        Questions                                                  COs
 No.                                                                                  LL
  1     Explain the registers and pins of LCD                                         L1       CO4
  2     Explain the modes of operation of timer/counter of 8051 with diagram.         L1       CO4
  3     Explain the registers and pins of DC motor                                    L1       CO4
  4     Explain the interfacing of DC motor using C programming                       L2       CO4
  5     Draw the block schematic of DAC 0808 interfaced to 8051 at port P1 and        L2       CO4
        write an 8051 program to generate sine wave
  6     With neat diagram write an assembly language program to interface LCD         L2       CO4
        to 8051 microcontroller
  7     With neat diagram write an assembly language program to interface DAC         L3       CO4
        to 8051 microcontroller.
  8     Write a program to display "HELLO WORLD" by interfacing LCD                   L3       CO4
        display to 8051 microcontroller
  9     With neat diagram write an assembly language program to interface             L4       CO4
        ADC0804 to 8051 microcontroller.
 10     Design the block schematic and explain the interfacing of stepper motor     L5&L6      CO4
        using 8051 microcontroller.
Note:
1. Questions shall be framed by consolidating comprehensively from the
   following sources
    Exercise problems of text books/ references
    Previous year question VTU exam Question paper. (Mark the year/exam
       beside the question)
    Questions by Experts during Interview/Academic Audit
    Internet sources/ other Universities examination question papers.
    Own / experience.
    Gate questions mentioning the year.
2. Questions shall follow all the Bloom’s learning levels with appropriate
 action verbs
                                                                                   Page | 4
SJCIT                                                                    Question Bank
3. There shall be a total of 50 questions considering10 questions from each
 module, of which, 3 questions each at L1 and L2, 2 questions at L3, 1
 question each at L4 and L5/L6.
4. Ensure the coverage of all Cos.
                                                                         Page | 5