Dr.
Panjabrao Deshmukh Polytechnic, Amravati
                            Electronics Engineering Department
                                   Embedded System (22531)
 Unit 1 : Introduction to Embedded System
Q. No                                Question                               Mark   BL   CO      PO
 1      State various types of embedded system. Explain any two in brief.    4     U    1       1
 2      State four applications of embedded systems.                         2     R    1       1
 3      Compare RISC and CISC architecture.                                  4     U    1       1
 4      Explain any four characteristics of an embedded system.              4     R    1       1
 5      Compare synchronous and asynchronous serial communication.           4     U    1       1
 6      List advantages and disadvantages of embedded systems.               2     R    1       1
 7      Draw a block diagram of the embedded system and describe any         4     U    1       1
        four hardware units of the embedded system.
 8      State any four salient features of an embedded system                4     R    1       1
 9      Describe the following characteristics of embedded systems: (i)      4     U    1       1
        Processor power (ii) Memory (iii) Reliability (iv) Safety.
 10     State any four design metrics of an embedded system.                 2     R    1       1
 11     Give classification of embedded systems. Explain any one.            4     U    1       1
 12     Difference between Harvard and Von Neumann Architecture.             4     U    1       1
 13     Write down any four salient features of ARM microcontroller.         2     R    1       1
 14     Identify which type of microcontroller is applicable for smart       4     U    1       1
        phones and why ?
 15     Determine how an ARM microcontroller is better than 89c51            4     A    1       1
        microcontroller.
 16     Compare features of PIC and ARM microcontrollers                     4     U    1       1
 R. M. Gharat                                                                               1
                 Dr. Panjabrao Deshmukh Polytechnic, Amravati
                             Electronics Engineering Department
                                     Embedded System (22531)
 Unit 2 : Programming using Embedded C
Q. No                                 Question                                   Mark   BL   CO      PO
 1      List various software development tools available in IDE .                2     R    2       1
 2      Distinguish between assembly language and C language with                 4     R    2       1
        reference to: (i) Ease of programming (ii) Memory requirement (iii)
        Coding time (iv) Execution time
 3      State any four data types used in an embedded system, with their          4     R    2       1
        value range.
 4      State all logical operators used in C and explain any one with an         4     R    2       1
        example.
 5      Write a C language program to transfer 10 bytes from array A to           4     A    2       1
        array B.
 6      Write C program to read the status of key connected to P1.3.If the        4     A    2       1
        key is pressed, turn on the LED connected to P3.5 for 20 msec
 7      Write a C language program to check bit P1.2. If it is high send 55H      4     A    2       1
        to PO, otherwise send AAH to P2.
 8      Write an 89C51 C program to toggle all bits of part P0 continuously       4     A    2       1
        with a 200 millisecond delay.
 9      Write an 89C51 C language program to toggle all bits of port P2           4     A    2       1
        continuously with 500 ms delay.
 10     Write an 89C51 C program to read the number 1 from Port 1,                4     A    2       1
        number 2 from Port 2. Compare the data and send the bigger
        number data on port3 continuously.
 11     Write an 89C51 C program to read P0 and P1. Add the content of            4     A    2       1
        P0 and P1 and store the result to P2
 12     Find the content of the port after execution of the following codes:      4     A    2       1
        i) P2 = 0X74 >>3 ii) P3 = 0X04 x 0X68.
 13     Find the content of Accumulator after execution of the following          4     A    2       1
        code i. ACC = 0x94 >> 5; ii. ACC = 0x5A << 2
 14     If the content of ACC = 0x02 and P1=0xF3. State the result after          4     A    2       1
        execution of following statements independently. i) Result = ACC
        & P1 ii) Result = ACC | P1 iii) Result = ACC ^ P1 iv) Result = ~ P1
 15     Write a C language program to mask the lower 4 bits of port Po and        4     A    2       1
        upper 4 bits of port P2 using a logical operator.
 16     Write a program for 89C51 microcontroller in C language to mask           4     A    2       1
        the lower four bits of P0 and upper four bits of P1. Combine both
        ports and output results on port 2.
 17     Write a C language program to read P2 and P3. Shift the bits of P2        4     A    2       1
        to right by two bits and P3 to left by four bits. Store the content of
        P2 to P0 and P3 to P1.
 18     A 230V AC bulb is connected through a relay at P2.2. A light              4     A    2       1
        sensor is connected at P3.4. A light sensor produces logic high in
        dark conditions. Write a „C‟ program to switch „ON‟ the bulb in
        „DARK‟ condition and switch it OFF in „LIGHT‟ condition.
 R. M. Gharat                                                                                    2
               Dr. Panjabrao Deshmukh Polytechnic, Amravati
                         Electronics Engineering Department
                                 Embedded System (22531)
19   Write an assembly of C language program to generate a square            4   A   2       1
     wave of 2 KHz frequency on port pin P 1.4 using timer 1 in mode 1.
     Assume oscillator clock frequency is 11.0592 MHz
20   Write a C program to generate a square wave of 5 kHz.(Operate           4   A   2       1
     timer 0 in mode 1).
21   Write an 89C51 C language program to generate a squarewave of 10        4   A   2       1
     KHz on pin P2.7 using timer 0 . Assume crystal frequency as 12
     MHz .
22   Write a C program to generate a square wave of 100Hz on P1.3.           4   A   2       1
     Also draw the output Observed on P1.3.
23   Write a C language program to generate a squarewave of frequency        4   A   2       1
     5 KHz on pin 3.5 of 89c51 μc. Use timer 1, mode 1 to generate
     delay. Assume XTAL=11.0592 MHz
24   Write a C program to generate a frequency of 2.5 KHz on P2.7. Use       4   A   2       1
     timer 1 in mode 2 to generate the delay.(fosc = 12 MHz)
25   Write a C language program to generate a square wave of 2KHz on         4   A   2       1
     pin P1.1 by using timer 0 and mode 1. Assume crystal frequency is
     11.0592MHz
26   Write the steps for programming an 89C51 microcontroller to             4   U   2       1
     receive data serially.
27   Write a C language program to transfer the message “MSBTE”              4   A   2       1
     serially at 9600 baud rate ,8 data bits and 1 stop bit.
28   Write a C or assembly language program to transmit 10 characters        4   A   2       1
     serially at baud rate 4800.
29   Write a C language program to transfer ’YES’ serially at 9600 baud      4   A   2       1
     rate continuously. Use 8 data bits and 1 stop bit. Assume crystal
     frequency is 11.0592MHz.
30   Write a C language program to transfer ’INDIA’ serially at 9600         4   A   2       1
     baud rate continuously. Use 8 data bits and 1 stop bit. Assume
     crystal frequency is 11.0592MHz.
31   Utitize inverting operator in C language to toggle all bits of port 0   4   A   2       1
     of 89C51 microcontroller with 200 msec delay.
32   Estimate hex data values of TH0 and TL0 if 89C51 microcontroller        4   A   2       1
     operating at crystal frequency of 11.0592 MHz and need to generate
     delay of 5 msec.
R. M. Gharat                                                                             3
                 Dr. Panjabrao Deshmukh Polytechnic, Amravati
                             Electronics Engineering Department
                                     Embedded System (22531)
 Unit 3 : Communication Standards and Protocols
Q. No                                 Question                                 Mark   BL   CO      PO
 1      Explain duplex mode of communication and write any two                  2     U    3       1
        application
 2      State any two applications of CAN.                                      2     R    3       1
 3      State the uses of MAX232 in communication.                              2     R    3       1
 4      State any two features of IrDA.                                         2     R    3       1
 5      Draw the format of I2C and explain each field in brief.                 4     U    3       1
 6      What is USB protocol ? Which signal does it uses ?                      4     R    3       1
 7      List the four different methods                                         4     R    3       1
 8      State any four features of Bluetooth Technology.                        4     R    3       1
 9      Draw CAN message format and explain it.                                 4     U    3       1
 10     Compare synchronous and asynchronous communication.                     4     U    3       1
 11     Explain the process of handshaking in RS232 standard                    4     U    3       1
 12     List out eight features of USB.                                         4     R    3       1
 13     Explain CAN bus protocol and list out two applications.                 4     U    3       1
 14     Draw the pin out diagram of RS-232(DB9). State the function of all      4     U    3       1
        pins.
 15     List four features of each of the following: 1) Bluetooth 2) Zigbee.    4     R    3       1
 16     Differentiate between CAN and I2C protocols w.r.t: i). Data transfer    4     U    3       1
        rate. ii). Number of fields. iii). Addressing bit iv). Application
 17     Compare serial and parallel communication (any four points).            4     U    3       1
 18     State the features of Zigbee. State four applications.                  4     R    3       1
 19     Describe the parallel protocols PCI and PCI-X.                          4     U    3       1
 20     Explain architecture of IrDA Protocol.                                  4     U    3       1
 21     Demonstrate how L2CAP, SDP and RFComm protocol plays vital              4     A    3       1
        role in bluetooth based adhoc network.
 R. M. Gharat                                                                                  4
                 Dr. Panjabrao Deshmukh Polytechnic, Amravati
                            Electronics Engineering Department
                                    Embedded System (22531)
 Unit 4 : Interfacing Input and Output Devices
Q. No                                Question                                Mark   BL   CO      PO
 1      List any four codes with description to write in command of 16x2      2     R    4       1
        LCD.
 2      State the function of the following pin of LCD i)RS ii) R/W .         2     R    4       1
 3      Sketch pin-out diagram of LM35 and label its pin.                     2     R    4       1
 4      Write an 89C51 C program to rotate the stepper motor by 90°           4     A    4       1
        clockwise. Assume the step angle is 1.8° and four step sequence.
 5      Draw an interfacing diagram of DAC to 89C51 and write s C             4     U    4       1
        language program to generate square wave using DAC.
 6      Write an 89C51 C program to display “WELCOME” on 16x2 LCD             4     A    4       1
        display.
 7      Write an 89C51 C program for 4x4 keyboard matrix.                     4     A    4       1
 8      Draw the interfacing diagram of seven segment LED display to          4     U    4       1
        89C51 and write a 89C51 C program to display 9 continuously.
 9      Sketch circuit diagram showing interfacing of one seven segment       4     U    4       1
        display to 89C51. Write program to display F and E alternately.
 10     Draw an interfacing diagram of ADC with 89C51 and state the           4     R    4       1
        functions of SOC, EOC and OE pins.
 11     Sketch interfacing diagram to interface LCD display with 89C51.       4     R    4       1
 12     Write a C language program for 89C51 to generate triangular           4     A    4       1
        waveform.
 13     Explain with sketch interfacing of stepper motor with 89C51. Write    4     R    4       1
        C language program to rotate the motor clockwise.
 14     Draw the circuit diagram to interface the LCD with 89C51. Write       4     U    4       1
        „C‟ program to send letters „M‟ , „D‟, and „E‟ to the LCD display.
 15     Draw an interfacing diagram of ADC 0808 with 89C51 micro              4     U    4       1
        controller and write „C‟ language program to read data from ADC
        0808.
 16     Draw labeled interfacing diagram of DC Motor with 89C51               4     R    4       1
        microcontroller.
 17     Draw interfacing diagram of LED to port pin P2.4 of 89C51 write       4     R    4       1
        „C‟ language program to turn ON and OFF LED after 20 ms delay
 18     Draw the interfacing of the relay with the 89C51 microcontroller.     4     R    4       1
        Write C language program to make relay on-off after certain delay
 19     Draw the interfacing diagram of 4x4 matrix keyboard with 8051         4     R    4       1
        microcontroller.
 R. M. Gharat                                                                                5
                 Dr. Panjabrao Deshmukh Polytechnic, Amravati
                            Electronics Engineering Department
                                    Embedded System (22531)
 Unit 5 : Real Time Operating System
Q. No                                  Question                                Mark   BL   CO      PO
 1      List any four functions of RTOS.                                        2     R    5       1
 2      Describe the concept of Round Robin scheduling with a suitable          2     U    5       1
        schematic diagram.
 3      Give any four examples of RTOS.                                         2     R    5       1
 4      With help of a neat diagram describe binary semaphore.                  4     A    5       1
 5      Compare general purpose Operating system and RTOS                       4     U    5       1
 6      Explain the meaning of following terms with reference to                4     A    5       1
        embedded system:
        i) Inter task communication
        ii) Multi-tasking
 7      Explain preemptive scheduling and round robin scheduling                4     A    5       1
        algorithm in RTOS.
 8      What is a deadlock in an embedded system? State the schematic to        4     U    5       1
        avoid deadlock.
 9      Explain inter process communication in brief. State various inter       4     U    5       1
        process communication methods.
 10     State and explain any four key specifications of RTOS.                  4     U    5       1
 11     Describe inter task communication with reference to RTOS.               4     U    5       1
 12     Sketch architecture of RTOS and explain function of kernel and          4     U    5       1
        device drivers.
 13     List any four characteristics of RTOS and explain i) Scalability ii)    4     U    5       1
        Task Management function of RTOS in brief.
 14     Explain resource allocation and interrupt handling function of          4     U    5       1
        RTOS.
 15     State the scheduling algorithms of RTOS and describe the concept        4     U    5       1
        of Round robin scheduling.
 16     State the methods of task synchronization. Describe semaphore           4     R    5       1
        with suitable examples.
 17     Write four features of RTOS.                                            4     R    5       1
 18     What is deadlock in an Embedded system. State the reason of             6     U    1       1
        occurrence and list the deadlock handling technique.
 19     List scheduling algorithms of RTOS. Describe concept of                 6     U    1       1
        preemptive multitasking scheduling algorithm of RTOS with
        suitable diagram.
 R. M. Gharat                                                                                  6