0% found this document useful (0 votes)
17 views3 pages

Final Exam Computer

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

Final Exam Computer

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

MicroLink Information Technology College

Department of Computer Engineering


Microcomputer and interfacing (CENG 3304) final exam for 3rdyear computer engineering regular students (45 Marks)

Jun 14-2018

Time allotted 2.30Hr

Name____________________________________ID ____________Section____
1. What are the three registers which control the I/O ports and explain their use briefly? (6 Marks)
2. What do you know about interrupts and its use? (5 Marks)
3. Briefly explain the following communication protocols and give concrete example of their use? (16 Marks)
A. USART
B. SPI
4. USART and SPI both are serial communication protocols, what is their main difference? (3 Marks)
5. Briefly explain about the protocol I2C, its clock synchronization and arbitration? (7Marks)
6. Write an assembly program which can check whether the number is divisible by 8 or not? (5 Marks)
7. Among the five status flags, which are set to 1 when the following program runs? (3 Marks)
Microprocessors final exam for 4th year electrical engineering regular students

8. What are the three registers which control the I/O ports and explain their use briefly? (6 Marks)
9. What do you know about interrupts and its use? (5 Marks)
10. Briefly explain the following communication protocols and give concrete example of their use? (16 Marks)
C. USART
D. SPI
11. USART and SPI both are serial communication protocols, what is their main difference? (3 Marks)
12. Briefly explain about the protocol I2C, its clock synchronization and arbitration? (10 Marks)
13. In a certain night club you are asked to design a permanent dancing floor. The floor is composed of 12 40cm X
40cm smaller tiles wit RGB leds underneath. The owner wants to control the color of each of the smaller tiles
depending on the type of music.
A. Which protocol is best for the communication of each tile? UART, SPI or I2C? Why?
B. Which microcontroller is suited for the system? PIC18Ffamilies or dsPIC33 family? Why?
C. Which protocol is best for the communication between the tile and PC? UART, SPI or I 2C? Why?
14. Among the five status flags, which are set to 1 when the following program runs? (3 Marks)

You might also like