Download GTU B.Tech 2020 Winter 7th Sem 2173203 Microprocessor And Microcontroller Question Paper

Download GTU (Gujarat Technological University Ahmedabad) B.Tech/BE (Bachelor of Technology/ Bachelor of Engineering) 2020 Winter 7th Sem 2173203 Microprocessor And Microcontroller Previous Question Paper

Seat No.: ________
Enrolment No.___________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE- SEMESTER?VII (NEW) EXAMINATION ? WINTER 2020
Subject Code:2173203 Date:19/01/2021
Subject Name:Microprocessor and Microcontroller
Time:10:30 AM TO 12:30 PM Total Marks: 56
Instructions:
1. Attempt any FOUR questions out of EIGHT questions.

2. Make suitable assumptions wherever necessary.

3. Figures to the right indicate full marks.



MARKS
Q.1 (a) Write an AVR C program to get a byte of data from Port C. If
03
it is less than 100, send it to Port B; otherwise, send it to Port
D.

(b) Explain and Draw the control signal generation in 8085
04
Microprocessor.

(c) List out the addressing modes for the AVR Controller and
07
explain any two of them.


Q.2 (a) Write an AVR C program to toggle all the pins of Port B
03
continuously by Using the Ex-OR operator.

(b) Explain Flag register PSW of 8085 Microprocessor.
04

(c) Write a program to toggle all the bits of the I/O register PORT
07
D every 2 s. Assume that the crystal frequency is 8MHz and
system is using an ATmega32.







Q.3 (a) Explain AVR status register in detail.
03

(b) A switch is connected to pin PB5. Write a program to monitor the
04
status of the SW and perform the following.
1. If SW = 0, send the letter `B' to PORT C.
2. If SW = 1, send the letter `Y' to PORT C.

(c) Explain architecture of the 8051 microcontroller.
07




Q.4 (a) With Fosc =8 MHz, Find the UBRR value needed to have the
03
following baud rates.
1. 9600 2. 4800

(b) List out features of RISC and give comparison between RISC
04
& CISC processors.

(c) Explain the Pin Diagram of the 8085 microprocessor.
07



Q.5 (a) Explain Logical Instruction with example for the AVR
03
Controller.

(b) Design 16*8 register using 4*8 register chips for the microprocessor
04
8085.

(c) Write a C program to toggle only the PORT B.4 bit
07
continuously every 70 ?s. Use Timer 0, Normal mode and 1:8
prescaler to create the delay. Assume XTAL=8MHz.





1



Q.6 (a) Write down different steps in executing an Interrupt.
03

(b) Write a Program to (a) load the PORT B register with value
04
0?55, and (b) Complement PORT B 300 times.

(c) With diagram explain architecture of AVR microcontroller and
07
also draw and explain the Harvard architecture in the AVR.



Q.7 (a) Explain criteria for choosing a microcontroller.
03

(b) Draw and explain TIFR register in AVR.
04

(c) Explain interfacing of LCD with AVR using program to
07
display "GOOD LUCK" on LCD for AVR controller.



Q.8 (a) Write a short note on AVR Family.
03
(b) Write a program to transmit the message "YES" serially at 9600
04
baud, 8 bit data and 1 stop bit. Do this forever.
(c) Draw & Explain the RTC interfacing diagram with AVR
07
Microcontroller.


*************
2

This post was last modified on 04 March 2021