VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE ENGINEERING

Similar documents
EC 6504 MICROPROCESSOR AND MICROCONTROLLER

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE

SRI VENKATESWARA COLLEGE OF ENGINEERING

EC6504 MICROPROCESSOR AND MICROCONTROLLER QUESTION BANK UNIT I - THE 8086 MICROPROCESSOR PART A


DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS)

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

MICROPROCESSORS & MICRO CONTROLLER COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK


SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

BHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad


Unit wise Question Bank UNIT-II

Microcontroller & Interfacing

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.

BASIC INTERFACING CONCEPTS

PART - B (Answer all five units, 5 X 10 = 50 Marks)


Mrs.T.Divya Barathi AP/ECE. Integrated Circuits Digital Logic Circuits Stack & Queue Concepts


VALLIAMMAI ENGINEERING COLLEGE

KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Microprocessors and Microcontrollers UNIT-I 8085 MICROPROCESSOR

EC6504 MICROPROCESSOR AND MICROCONTROLLER

Microcontroller and Embedded Systems:

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

Unit-I. 1. INTRODUCTION TO MICROCONTROLLERS. Micro controller, types, selection of a microcontroller and applications

Department of Computer Science and Engineering

Microprocessors and Interfacng. Question bank

7. Discuss the hardware signals and superscalar architecture of Pentium BTL 2 Understand

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

PART B UNIT II PART A


Code No: Set No. 1

Department of Electronics and Instrumentation Engineering Question Bank

Rewa Engineering College, Rewa. Rewa Department OF Electrical Engineering

Microprocessors and Microcontrollers. Assignment 1:

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers.

Question Bank Microprocessor and Microcontroller

Department of Electronics and Communication Engineering Microprocessors and Microcontrollers Laboratory Description:

4. (a) With a neat sketch explain 8237 DMA controller and its operation? (b) With the help of basic cell explain SRAM and DRAM?

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1

2 MARKS Q&A 1 KNREDDY UNIT-I

GUJARAT TECHNOLOGICAL UNIVERSITY

B.C.A 2017 MICROPROCESSOR AND ASSEMBLY LANGUAGE MODULE SPECIFICATION SHEET. Course Outline

Pearson New International Edition. The 8051 Microcontroller and Embedded Systems Mazidi Mazidi McKinlay Second Edition

INTELLIGENCE PLUS CHARACTER - THAT IS THE GOAL OF TRUE EDUCATION UNIT-I

GUJARAT TECHNOLOGICAL UNIVERSITY

2. (a) Draw and explain the pin out diagram of (b) Explain the various operations performed by Bus Interfacing unit in 8086.

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

THE AVR MICROCONTROLLER AND EMBEDDED SYSTEMS. Using Assembly and С

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

Diploma in Embedded Systems

MLR INSTITUTE OF TECHNOLOGY DUNDIGAL , HYDERABAD QUESTION BANK

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

FIFTH SEMESTER B.TECH DEGREE EXAMINATION MODEL TEST QUESTION PAPER, NOVEMBER CS 305: Microprocessor and Microcontrollers PART A

G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY

ACS College of Engineering. Department of Biomedical Engineering Microprocessor Lab pre lab questions ( )

VALLIAMMAI ENGINEERING COLLEGE

1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them?

Microprocessors/Microcontrollers

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING EC6504 MICROPROCESSOR AND MICRO CONTROLLER

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT-I

MLR INSTITUTE OF TECHNOLOGY DUNDIGAL , HYDERABAD

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

UNIT-I: THE 8086 MICROPROCESSOR PART-A


SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY,VIRUDHUNAGAR

It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions.

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

THE 8051 MICROCONTROLLER

MaanavaN.Com CS1202 COMPUTER ARCHITECHTURE

END-TERM EXAMINATION

Government of Karnataka Department of Technical Education Board of Technical Examinations, Bengaluru

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

EC1362 Microprocessors & Microcontrollers

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

ITT Technical Institute. ET2640 Microprocessors and Microcontrollers Onsite and Online Course SYLLABUS

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company

SARDAR RAJA COLLEGES SARDAR RAJA COLLEGE OF ENGINEERING ALANGULAM

To Interface The 8085 Microprocessor

Topics. Interfacing chips

Four Categories Of 8085 Instructions That >>>CLICK HERE<<<

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT IV I/O INTERFACING PART A (2 Marks)

VALLIAMMAI ENGINEERING COLLEGE

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK

SRM UNIVERSITY FACULTY OF SCIENCE AND HUMANITIES DEPARTMENT OF PHYSICS AND NANOTECHNOLOGY COURSE PLAN FOR PHY0408

II/IV [ST.JOSEPH COLLEGE OF ENGINEERING] EC MPMC PREMNATH S P

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

THE 8051 MICROCONTROLLER

EC Microprocessor and Microcontroller

Transcription:

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603 203 DEPARTMENT OF COMPUTER SCIENCE ENGINEERING EC6504 MICROPROCESSOR AND MICROCONTROLLER YEAR / SEMESTER: II / IV ACADEMIC YEAR: 2015-2016 (EVEN SEMESTER) QUESTION BANK Prepared by,, A.P (O.G), A.P (O.G)

EC6504 MICROPROCESSOR AND MICROCONTROLLER UNIT I THE 8086 MICROPROCESSOR Introduction to 8086 Microprocessor architecture Addressing modes - Instruction set and assembler directives Assembly language programming Modular Programming - Linking and Relocation - Stacks - Procedures Macros Interrupts and interrupt service routines Byte and String Manipulation. PART A Q.No Questions BT Level Competence 1. what is microprocessor? What is the difference between a MP and CPU? 2. Why does the program counter and stack pointer are registers of 16 bit? 3. Can you recall the flags of 8086? 4. What is stack? 5. What is assembler directives? 6. How would you explain various programmed data transfer methods? 7. How is physical address generated in 8086? 8. State in your own words the 8086 instructions used for BCD arithmetic? 9. How would you classify any four program control instructions available in 8086 10. What is meant by assembler directive? Give two examples? 11. How would you show your understanding of any two external hardware synchronization instruction of 8086 microprocessor? 12. How would you use carry and zero flags that reflect the result of the instruction CMP BX, CX? 13. What examples can you find to explain any four miscellaneous instructions in 16 bit processor? 14. Can you identify 8086 instructions used for ASCII arithmetic? BTL 4 Analyze 15. How would you classify various string instructions available in 8086. BTL 4 Analyze 16. What do you think about procedures? BTL 4 Analyze 17. What is your opinion on Macros? BTL 5 Evaluate 18. What is your opinion on modular programming? BTL 5 Evaluate

19. Can you elaborate on any four string instructions? BTL6 20. Can you formulate the theory for why string primitives are used? PART B 1. (a)how would you show your understanding of internal hardware architecture of 8086 microprocessor with neat diagram? (10) (b) What is the main idea of about assembler directives? (6) 2. (a)what are the various addressing modes of 8086 microprocessor with examples? (10) (b)write an assembly language program for performing the Addition of two byte numbers using 8086 Microprocessor. (6) 3. (a)what do you think about Data transfer, arithmetic and branch instructions? (8) (b)how would you apply what you have learned to develop an 8086 ALP to find the sum of numbers in the array of 10 elements? (8) 4. (a)how would you explain modular programming in detail? (10) (b)write an ALP to perform division operation using 8086 mnemonics. (6) 5. (a) Can you recall stack, procedures and macros? (8) (b)write an ALP to perform BCD addition using 8086 instruction set. (8) 6. (a)state in your own words interrupt and their two classes? What is meant by interrupt service routine? (10) (b)write an assembly language program to perform matrix addition using 8086 Microprocessor. (6) 7. (a)what is the main idea of byte and string manipulation? Explain with examples? (10) (b)write an ALP to move a block of data without overlap using 8086 mnemonics. (6) 8. (a)what is your opinion about instruction formats and instruction execution timing? (8) (b)write an assembly language program to find a character in the string using 8086 Microprocessor. (8) 9. (a) Can you invent an ALP to find the largest number and smallest number in the array? (10) (b) Write an assembly language program to simulate code converter using 8086 instruction Set. (6) 10. What do you think about (a)loop, NOP and HLT instructions. (8) BTL 5 BTL 4 Evaluate Analyze

(b) Flag manipulation, logical and shift& rotate instructions? (8) BTL 4 Analyze UNIT II 8086 SYSTEM BUS STRUCTURE 8086 signals Basic configurations System bus timing System design using 8086 IO programming Introduction to Multiprogramming System Bus Structure - Multiprocessor configurations Coprocessor, Closely coupled and loosely Coupled configurations Introduction to advanced processors. PART A Q.No Questions BT Level Competence 1. What is a Bus? 2. How would you describe External & Internal Bus? 3. How would you explain two modes of operation in 8086? 4. What is minimum mode and maximum mode? 5. Can you recall bootstrap loades? 6. How would you explain use of initialization command words and operation command words? 7. Draw the typical sequence of bus cycles? 8. How would you classify I/O. 9. What is meant by direct memory access? 10. How would you compare double buffering and multiple buffering? 11. How would you show your understanding of two classes of interrupts? 12. How would you use nonmaskable interrupt? 13. How would you show your understanding on bus request, bus Grant and cycle stealing? 14. Can you identify system throughput? BTL 4 Analyze 15. Draw the process states and state changes in a simple multiprogramming. BTL 4 Analyze 16. What do you think about first fit algorithm? BTL 4 Analyze 17. What is your opinion on fragmentation problem in multiprogramming? How can we avoid it? BTL 5 Evaluate

18. What is your opinion on coprocessor configuration? BTL 5 Evaluate 19. Can you elaborate on the difference between closely and loosely coupled configurations? 20. Can you elaborate on how a bus access logic help to resolve the bus arbitration problem? PART B 1. What is Minimum mode and maximum mode of operation in 8086? Explain in detail. 2. How would you explain the system bus timing of 8086/8088. 3. How would you show your understanding of (i) Programmed I/O (8) (ii) Interrupt I/O (8) 4. How would you describe block transfers and DMA? Explain in detail. 5. What is meant by closely coupled configurations? Explain. 6. (a)state in your own words about loosely coupled configurations in detail. (8) (b)write short notes on Coprocessor system. (8) 7. How would you show your understanding of (i)process Management & irmx86 (8) (ii)memory Management and Virtual Memory (8) 8. What is your opinion of Numeric data Processor? Explain in detail. 9. Based on what you know, how would you explain I/O Processor. BTL 5 Evaluate 10. What do you think about the following (i) Multiprocessor system and Coprocessor (8) (ii) Multiprogramming and Semaphore (8) BTL 4 Analyze UNIT III I/O INTERFACING Memory Interfacing and I/O interfacing - Parallel communication interface Serial communication interface D/A and A/D Interface - Timer Keyboard /display controller Interrupt controller DMA controller Programming and applications Case studies: Traffic Light control, LED display, LCD display, Keyboard display interface and Alarm Controller. PART A Q.No Questions BT Level Competence

1. What are the advantage and disadvantage of parallel communication over serial communication? 2. How would you describe A/D & D/A convertor 3. How would you explain the four display modes of 8279 keyboard/display controller 4. How would you explain the applications of programmable interval timer. 5. What is interfacing? 6. Can you recall the various modes of 8254 timer? 7. How would you classify the output modes used in 8279? 8. What is the main idea of end of conversion signal while interfacing A/D converter to a microprocessor? 9. What can you say about the modes used by the DMA processor to transfer data. 10. What is meant by key bouncing? 11. How would you use terminal count register? 12. How would you show your understanding on memory interfacing. 13. How would you show your understanding on the use of 8251 chip? 14. What do you think about USART? BTL 4 Analyze 15. Can you identify the features of used mode 1 in 8255? BTL 4 Analyze 16. Can you identify the basic modes of operation of 8255? BTL 4 Analyze 17. What is your opinion on the different types of command words used in 8259? BTL 5 Evaluate 18. What is your opinion on the operating modes of 8259A? BTL 5 Evaluate 19. Can you elaborate on the purpose of control word written to control register in 8255? 20. Can you elaborate on polling? PART B 1. (a)what is 8254 programmable interval timer and explain with diagram.(10) (b)explain the various modes of operation in 8254 programmable interval timer. (6) 2. (a)how would you explain 8279 keyboard. Explain with neat block diagram. (8) (b)explain 8279 keyboard /display controller. Explain with neat block diagram (8)

3. How would you show your understanding on (i) how to interface: (A)ADC and (B) DAC (10) (ii)compare serial and parallel interface? (6) 4. (a)how would you explain block diagram of the 8251. (8) (b)write short notes on 8251 operating modes (8) 5. (a)what can you say about I/O interface &explain in detail with diagrams (10) (b)how would you explain block diagram of the 8255. (6) 6. (a)what is meant by DMA controller? Explain in detail (10) (b) Write an assembly language program in 8086 to display the rolling message CSE - DEPT in the display. (6) 7. (a)how would you show your understanding on the format of I/O mode set control and BSR control word of programmable peripheral interface. Explain in detail the operating modes of PPI? (10) (b)write an assembly language program to demonstrate Mode 0 operation of 8255 by interfacing 8086. (6) 8. (a)what do you think about traffic light control system? Explain with neat diagram. (8) (b)write an assembly language program for interfacing 8279 with 8086. (8) 9. (a) Write an assembly language program to convert Analog signal into a Digital signal using ADC interfacing using 8086 Microprocessor. (10). (b) Write an 8086 ALP to generate a waveform whose duty cycle is 50% using suitable interface. (6) 10. (a) Write an assembly language program in 8086 to interface alarm controller (10) (b)interface DAC with 8086 to generate saw tooth waveform (6) BTL 4 BTL 5 Analyze Evaluate UNIT 4 MICROCONTROLLER Architecture of 8051 Special Function Registers(SFRs) - I/O Pins Ports and Circuits - Instruction set - Addressing modes - Assembly language programming. PART A Q.No Questions BT Level Competence 1. What is the size of memory systems used in 8051 microcontroller?

2. How would you explain the different operand types used in 8051 3. Can you recall the counters in 8051 4. How would you explain the register bank of 8051 5. Can you recall the number of ports are bit addressable in 8051 6. What are the hardware and software interrupts of 8051?mention its vector addresses 7. State in your own words the power down mode of 8051 8. What can you say about the different ways of operand addressing in 8051 9. How do you place a specific value in the DPTR register? 10. What is meant by PSW in 8051 11. How would you show your understanding of four siginificant features of 16-bit microcontroller? 12. What is the difference between microprocessor & micro controller? 13. How would you show your understanding of addressing modes of 8051? 14. What do you think about the instructions used to access external RAM. BTL 4 Analyze 15. Can you identify the features of 8051 microcontroller? BTL 4 Analyze 16. Can you identify the data types of 8051 BTL 4 Analyze 17. What is your opinion on the special functions registers available in 8051 BTL 5 Evaluate 18. What is your opinion on the software and hardware interrupts of 8051? Mention BTL 5 Evaluate its vector addresses. 19. Can you elaborate on how the selection of particular register bank is done in 8051? 20. Can you elaborate on any two instruction of data serialization PART B 1. (i) Come up with a program based on 8051 instruction set to pack array of unpacked BCD digits. (10) (ii) Write an ALP to determine the Cube of a number using 8051 instruction set. (6) 2. (i) How would you describe the I/O pins ports circuit details of 8051 with its diagram. (10) (ii) Describe I/O port configuration details of 8051 with its diagram. (6) 3. (i) Write an ALP to find square of a number in 8051 microcontroller. (10) (ii) Write an assembly language program for Logical and 2 s Complement operations using 8051 Microcontroller. (6)

4. (i)come up with a program to bring in data in serial form and send it out in parallel form using 8051 (8) (ii) Write an assembly language program to determine the square using 8051 microcontroller (8) 5. (i)state in your own words and explain the arithmetic instruction of 8051 microcontroller. (8) (ii) Explain logic instruction of 8051 microcontroller with examples. (8) 6. (i)what is your opinion on the data types and assembler directives of 8051. (10) (ii) Write short notes on label and flag conditional statement. (6) 7. (i) How would you compare the different instruction set of 8051 microcontroller. (10) (ii) Explain different type of addressing modes with examples (6) 8. (i) How would you explain an 8051 ALP to create a square wave 66%duty cycle on bit3 of port 1. (8) (ii) How would you explain an 8051ALP to create a Triangular wave 66% duty cycle on bit3 of port 1. (8) 9. (i)how would you describe the architecture of 8051 with its diagram? (8) (ii) Write short notes on about register bank. (8) 10. (i) Can you elaborate on special function register of 8051 in detail. (10) (ii) Write an assembly language program for performing the multiplication of two 8 bit data using 8051 and store the result in memory. (6) BTL 5 BTL 4 Evaluate Analyze UNIT V INTERFACING MICROCONTROLLER Programming 8051 Timers - Serial Port Programming - Interrupts Programming LCD & Keyboard Interfacing - ADC, DAC & Sensor Interfacing - External Memory Interface- Stepper Motor and Waveform generation. PART A Q.No Questions BT Level Competence 1. What are the uses of I2C bus standard? 2. Can you recall the advantages of microprocessor based system design. 3. Can you list two classifications of stepper motor. 4. Can you recall the applications of stepper motor.

5. What is the use of stepper motor? 6. How would you differentiate microprocessor from microcontroller in system design. 7. State in your own words how is stepper motor interfaced with 8051? 8. What is the main idea of PWM in motor control using microcontroller? 9. State in your own words the features of RTC? 10. What is meant by interrupt service routine 11. How would you show your understanding on polling? 12. How would you compare polling and interrupt 13. How would you show your understanding on interrupt priority in 8051 14. What do you think about signal conditioning BTL 4 Analyze 15. Can you identify the types of memory BTL 4 Analyze 16. What do you think about the use of PSEN signal BTL 4 Analyze 17. What is your opinion on registers associated with timer programming BTL 5 Evaluate 18. What is your opinion on registers associated with counter programming BTL 5 Evaluate 19. Can you elaborate on registers associated with serial programming 20. Can you elaborate on baud rate of 8051 PART B 1. How do you explain with diagram to interface a stepper motor with 8051 microcontroller and explain also write an 8051 ALP to run the stepper motor in both forward and reverse direction with delay. 2. (a) Can you recall how interrupts are handled in 8051. (10) (b) Write short notes on interrupt register in 8051. (6) 3. How would you describe LCD interface. Explain in detail. 4. (a) State in your own words 8051 serial port programming (10) (b) Write short notes on I2C interface. (6) 5. How would you explain about external memory interfacing to 8051 6. How would you show your understanding on 8051 timer and counter programming. 7. (a)state in your own words ADC interfacing using 8051 and explain with diagram. (10)

(b)can you recall DAC interfacing using 8051and explain with diagram. (6) 8. What is your opinion on the keyboard interfacing using 8051 BTL 4 Analyze 9. (a) Can you elaborate onthe sensor interfacing using 8051. (10) (b) How would you describe seven segment LED interface. (6) 10. (i) How do you explain with diagram to interface a DC motor with 8051 microcontroller and explain also (10) (ii) write an 8051 ALP to run the DC motor in both forward and reverse direction with delay. (6) BTL 5 Evaluate