×
I find that the harder I work, the more luck I seem to have.
--Your friends at LectureNotes
Close

Previous Year Exam Questions for Microcontroller and Applications - MCA of 2018 - BPUT by Ruparani Mahapatra

  • Microcontroller and Applications - MCA
  • 2018
  • PYQ
  • Biju Patnaik University of Technology BPUT - BPUT
  • Electronics and Instrumentation Engineering
  • B.Tech
  • 19 Views
  • Uploaded 4 months ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

Registration No : Total Number of Pages : 02 B.Tech PEI7J002 7th Semester Regular Examination 2018-19 MICROCONTROLLER & ITS APPLICATION BRANCH : AEIE, EIE, IEE Time : 3 Hours Max Marks : 100 Q.CODE : E043 Answer Question No.1 (Part-1) which is compulsory, any EIGHT from Part-II and any TWO from Part-III. The figures in the right hand margin indicate marks. Q1 a) b) c) d) e) f) g) h) i) j) Q2 Part- I Short Answer Type Questions (Answer All-10) Which features distinguishes a microprocessor from a microcontroller? How many bytes are set aside by each of the following directives? (i) MY_DATA DB “MC8051” (ii) ASC_DATA DB “123ABC” Which register bank is used after the following three instructions are executed using 8051? SETB PSW.3 SETB PSW.4 SETB PSW.7 Indicate which mode and which timer are selected for the following instruction in 8051– MOV TMOD, #20H Which register has the SMOD bit, and what is its status when the 8051 is powered up? Distinguish between interrupt and polling. Compute the period of machine cycle for a 8051 based system having a crystal frequency of 16MHz. Find the contents of register A in the following code: MOV A, #97H SWAP A Distinguish between Common Anode and Common Cathode Displays. Find the control word of 8255 PPI for the following configurations- Port A= input, Port B= Output, PortClower=input, PortChigher= output. Write the 8051 instructions to transfer this value to the 8255. Part- II Focused-Short Answer Type Questions- (Answer Any Eight out of Twelve) a) Why does 8051 have these different types of Move instructions- MOV, MOVX and MOVC? Clarify with suitable examples. b) Knowing the RAM memory space allocation for 8051 microcontroller will help you in your design project. Draw the RAM memory space allocation of 8051. c) You are going to use the following instructions for your Final Project. Why would you be using each of these instructions and what type of data access scheme (addressing mode) are you using? i. ADDC A, #45H ii. LCALL 1C00H iii. XCHD A, @R1 d) Write a program to get 8-bit data from port P3 and send it to ports P0, P1 and P2 using 8051. e) How are stacks accessed in 8051? f) RS232 is not compatible with today’s microcontrollers. In your serial communication design how can you resolve this issue? g) When 8051 is powered up how are the interrupt priorities assigned? (2 x 10) (6 x 8)

Text from page-2

h) Find the size of the delay in following program, if the crystal frequency is 11.0592MHz. Machine Cycle DELAY: MOV R3,#250 1 HERE: NOP 1 NOP 1 NOP 1 NOP 1 DJNZ R3,HERE 2 RET 2 i) Write an 8051 code to create a square wave with a 50% duty cycle on the P2.4 bit. Timer 1 is used to generate the time delay. j) Write an 8051 code to find the sum of the values 0AH, 0BH, 0CH. Put the sum in registersR2 (low byte) and R6 (high byte). k) Distinguish between 8031 and 89c51 microcontrollers. l) Draw the connection diagram of a Stepper Motor with 8051. What is the relation between steps per second and steps per revolution of a stepper motor? Q3 Part-III Long Answer Type Questions (Answer Any Two out of Four) Pin description is essential for any interfacing design. Enlist the importance of every pin of 8051. (16) Q4 Discuss the pin diagram of ADC (0808) and DAC (0800) and implement any application by interfacing 8051 with these modules. (16) Q5 What operations are performed during the execution of the following 8051 instructions? Illustrate the timing diagrams. a) MOVX A, @DPTR. b) ADD A, #44H (16) Q6 Design a LCD interface with 8051 with proper codes and suitable connection diagram. (16)

Lecture Notes