EE3304 - MPMC Question Bank New Format
EE3304 - MPMC Question Bank New Format
REGULATIONS 2022R
COURSE CODE EE3304
COURSE NAME MICROPROCESSOR AND MICROCONTROLLER
FACULTY NAME (Prepared by) M.KANIMOZHI Contact Number 8056883663
NAME OF SUBJECT Mr. KIRUBASANKAR Contact Number 8668047169
EXPERT(Verified by)
UNIT-I: INTRODUCTION_TO_8085_ARCHITECTURE
Functional block diagram – Memory interfacing–I/O ports and data transfer concepts – Timing Diagram –
Interrupt structure.
PART-A (2-Marks)
S.N RBT
QUESTIONS CO
O LEVEL
CO1
Define microprocessors?
1 L1
Define microcomputer? CO1
2 L1
Define ROM? CO1 L1
3
What is an ALU? CO1
4 L1
What is Micro controller? CO1
5 L1
What is an Assembler? CO1
6 L1
Classify the four primary operations of a MPU? CO1
7 L2
What do you mean by address bus? CO1
8 L1
1
How many memory locations can be addressed by a microprocessor with 14 CO1
9 L1
address lines?
Why is the data bus bi-directional? CO1
10 L1
What is the function of the accumulator? CO1
11 L1
12 Infer the control bus? CO1
L2
13 What is a flag? CO1
L1
14 Why are the program counter and the stack pointer 16-bit registers? CO1
L1
15 Infer the memory word? CO1
L2
16 Explain the function of ALU and IO/M signals in the 8085 architecture? CO1 L3
If the 8085 adds 87H and 79H, specify the contents of the accumulator and CO1
17
the status of the S, Z, and CY flag? L3
18 Write down the control and status signals? CO1 L2
Specify the number of registers and memory cells required in a 128 x 4 CO1
19 L2
memory chip?
20 Define machine cycle? CO1 L1
RBT
PART-B ( 13 - Marks) CO Marks
Level
Explain with a neat block diagram the architecture of 8085 CO1
1 L4 13
microprocessor.
Describe the pin configuration of 8085 processor and explain them in CO1 13
2 L2
detail.
Define vector address. List the various interrupts of 8085 processor and CO1 13
3 L4
elucidate the use of interrupt service routine.
4 Illustrate the timing diagram and classify the basic machine cycles. CO1 L2 13
Identify the Instruction of Interrupts and explain the SIM & RIM CO1 13
5 L3
instructions with diagram.
Describe the pin configuration of 8085 processor and explain them in CO1 13
6 L4
detail
7 Explain the Flags Register with example. CO1 L3 13
11 Compose the operation of memory mapped I/O and I/O mapped I/O. CO1 L4 13
2
Label the timing diagram for memory read and write operations and CO1 13
12 L2
explain.
13 Express the timing diagram of Opcode Fetch machine cycle. CO1 L3 13
Analyze the input and output interfacing techniques used in 8085 CO1 13
14 L4
microprocessor.
15 Explain the Timing diagram of STA 526AH. CO1 L4 13
Classify the types of interrupts in 8085? Explain in detail the hardware CO1 13
16 L4
interrupts in 8085.
17 Classify the types of address decoding. CO1 L2 13
Instruction format and addressing modes – Assembly language format – Data transfer, data manipulation &
control instructions – Programming: Loop structure with counting & Indexing - Look up table - Subroutine
instructions, stack.
PART-A (2-Marks)
S.N RBT
QUESTIONS CO
O LEVEL
3
4 What are the types instructions for 8085nmicroprocessor? CO2 L1
5 State any four data transfer instruction and its function. CO2 L2
20 What is DAD and what are the flags affected by this instruction? CO2 L1
RBT
PART-B (13- Marks) CO Marks
Level
1 Explain the various addressing modes of 8085 with suitable examples. CO2 L2 13
Demonstrate the various A rithmetic instructions of 8085 with illustrative CO2 L2 13
2
examples?
Define the addressing mode. Identify the addressing modes of the following CO2
instruction and explain them with suitable diagram. L3 13
3
(i)STA 6350H (ii)CMA (iii)MOV A,M (iv)MOV D,E (v)MVI A, A7H
4 Identify the various Data transfer instructions of 8085 with illustrative CO2 L3 13
examples?
5 Explain the various Branching instructions of 8085 with illustrative CO2 L2 13
examples?
4
6 Explain the various Logical instructions of 8085 with illustrative CO2 L2 13
examples?
7 Write an 8085 microprocessor steps involved in assembly language CO2 L3 13
program explain with flowchart.
Describe the Conversion of Assembly Language Program to Machine CO2 13
8 Language Program and discuss the steps on storing and Execution the L2
program.
9 Illustrate the Stack and Stack related instructions with examples. CO2 L2 13
10 Exchange the contents of BC and DE register without using any other CO2 L3 13
general purpose register.
11 Illustrate the Looping, Counting and Indexing with flowchart. CO2 L2 13
15 Explain the steps involved in PUSH and POP instructions with suitable CO2 L2 13
diagram.
16 Identify the Control instructions and explain RIM & SIM instructions with CO2 L3 13
suitable diagrams.
17 Draw and Explain the Flowchart for addition of two numbers. CO2 L4 13
19 Identify how to implement a loop structure with counting and indexing in CO2 L3 13
assembly language with examples.
20 Summarize the concept of stack instructions. Provide examples for this CO2 L2 13
concept.
RBT
PART-C (15-Marks) CO Marks
Level
5
Make use of the Contents of stack and stack pointer after execution of each CO2
instructions the following program with neat diagram.
UNIT-3: INTERFACING_BASICS_AND_ICS
Study of Architecture and programming of ICs: 8255-PPI, 8259-PIC, 8251-USART, 8279 Keyboard display
controller and 8254 Timer/Counter – Interfacing with 8085 -A/D and D/A converter interfacing.
PART-A (2-Marks)
S.N RBT
QUESTIONS CO
O LEVEL
6
12 Define PPI. CO3 L2
17 Classify any two important methods available for error correction during CO3 L2
serial communication.
18 Identify any four electronic devices which are used to interface high power CO3 L3
devices with microprocessor.
19 Infer the N-key rollover modes in 8279. CO3 L2
RBT
PART-B (13- Marks) CO Marks
Level
1 Explain the features of 8255A with pin diagram and describe the pin name CO3 L2 13
and pin function.
2 Illustrate the classification of Programmed data transfer techniques. CO3 L2 13
3 Apply the Mode of 8255, Control word Format and BSR mode of CO3 L3 13
operations with suitable diagram.
4 Outline the functioning of 8255 PPI I/O modes of operation with suitable CO3 L2 13
diagram.
5 Demonstrate the USART (8251) serial communication interface with its CO3 L2 13
functional block diagram.
6 Illustrate the USART (8251) serial communication interfacing CO3 L2 13
requirements with suitable diagram.
7 Classify the USART (8251) Mode word, Command word and Status word CO3 L2 13
with suitable diagram.
8 Apply the initializing the USART (8251) with flow chart. CO3 L3 13
9 Draw the block diagram of 8279 Keyboard/Display controller and explain CO3 L4 13
the CPU Interface section, Keyboard section.
10 Construct the working Principle of 8279 Keyboard/Display Controller. CO3 L3 13
7
Construct the Control Word Register and Command word of 8254 with CO3 13
14 L3
neat tabulations.
Explain the features of 8254 with pin diagram and describe the pin name CO3 13
15 L2
and pin function.
UNIT- 4: INTRODUCTION_TO_8051_MICROCONTROLLER
Functional block diagram - Instruction format and addressing modes – Interrupt structure – Timer – I/O ports
– Serial communication, Simple programming –keyboard and display interface –Temperature control system
–stepper motor control - Usage of IDE for assembly language programming.
PART-A (2-Marks)
S.N RBT
QUESTIONS CO
O LEVEL
8
3 Classify the difference between microprocessor and microcontroller? CO4 L2
4 Compare the difference between timer and counter operation in 8051? CO4 L2
16 Write an ALP to add the values AB H and 47 H. Store the result in R1. CO4 L2
9
5 Draw and discuss the Parallel I/O ports of 8051 microcontroller. CO4 L3 13
6 Explain parallel ports of 8051 with its circuit description in detail. CO4 L2 13
11 Explain the various bit manipulation instruction in 8051 with example. CO4 L2 13
With a neat Diagram explain what is interrupts and Hardware interrupts of CO4
12
8051. L3 13
15 Interpret the serial programming of 8051 with its associated registers. CO4 L2 13
16 Explain the interfacing of external RAM and ROM with 8051. CO4 L2 13
17 Describe the timing diagram of external data memory read cycle of 8051. CO4 L3 13
Write a program to add two 16 bit numbers and add two 16 bit BCD CO4
18
numbers. L2 13
19 Construct a program to find the sum of 10 numbers stored in the array. CO4 L3 13
20 Identify a program to add, division and multiply two 8 bit numbers. CO4 L3 13
RBT
PART-C (15-Marks) CO Marks
Level
Prepare an 8051 assembly language program to multiply the given number CO4 15
3 L3
48H and 30H.
4 Compose the types of addressing mode with suitable example in 8051. CO4 L3 15
5 Illustrate the Stepper Motor Interfacing in 8051 with neat diagram. CO4 L2 15
10
UNIT-5: ARCHITECTURE REVIEW OF ARDUINO UNO BOARD
Introduction-Interfacing of Digital Input (LED) and Output devices (Switch)-Interfacing of Current sensor
and LCD, real time digital clock using arduino, Room Temperature Monitor & Visitor Counter, design of
traffic light controller.
PART-A (2-Marks)
S.N RBT
QUESTIONS CO
O LEVEL
6 How can you read the state of a switch using Arduino? CO5 L1
Classify the components are typically used to build a digital clock with CO5
L2
9 Arduino?
What additional feature can be added to a traffic light controller for CO5
17 L1
pedestrian safety?
11
20 Interpret the role of libraries in Arduino projects? CO5 L2
RBT
PART-B (13- Marks) CO Marks
Level
Describe the architecture of the Arduino UNO board. Include details about CO5
L3
1 its key components and functionalities. 13
Explain how to interface an LED with the Arduino. Include the circuit CO5 13
L2
2 diagram and example code.
Discuss the process of interfacing a switch with the Arduino. Describe the CO5 13
L4
3 circuit configuration and write the code to read the switch state.
Explain the working principle of a current sensor. How can it be interfaced CO5 13
4 L2
with Arduino, and what is the significance of measuring current?
How do you interface an LCD with an Arduino? Explain the necessary CO5 13
5 L2
connections and provide a sample code to display text on the LCD.
Describe the steps to create a real-time digital clock using Arduino and an CO5 13
6 L3
RTC module. Include circuit details and example code.
Discuss the design and implementation of a room temperature monitor CO5 13
7 L4
using Arduino. Include sensor choice, circuit diagram, and sample code.
Explain the methodology for building a visitor counter using Arduino. CO5 13
8 Detail the sensor type, circuit connections, and code logic for counting L2
visitors.
Illustrate a traffic light controller, and how can it be implemented using CO5 13
9 Arduino? Include circuit design and example code to manage traffic light L2
sequences.
Discuss how to use libraries in Arduino for interfacing with sensors and CO5 13
10 L4
devices. Provide examples of common libraries used in the projects above.
Explain the difference between digital and analog signals. How does this CO5 13
11 L3
distinction affect interfacing sensors and devices with Arduino?
Identify the debouncing be handled in Arduino projects involving CO5 13
12 L3
switches? Provide code examples to demonstrate this.
Discuss the role of resistors in interfacing LEDs and switches with CO5 13
13 Arduino. Why are they necessary, and how do you choose the appropriate L4
value?
Develop the considerations should be made when designing a user interface CO5 13
14 L3
for an Arduino project? Discuss in the context of a temperature monitor.
12
Explain how to read multiple sensors using Arduino. What techniques can CO5 13
15 L2
be used to manage data from different sensor types?
How can Arduino be used to log data from sensors over time? Describe the CO5 13
16 L3
methodology and include code to store readings.
Infer the interrupts in Arduino, and how can they be useful in projects CO5 13
17 L2
involving switches or sensors? Provide examples of usage.
Describe the importance of power management in Arduino projects. How CO5 13
18 L3
can you optimize power usage in a temperature monitoring project?
Explain how to use a potentiometer with Arduino. Describe the CO5 13
19 L2
connections, how to read its value, and potential applications.
Experiment with how can you interface a buzzer with Arduino? Discuss the CO5 13
20 L3
circuit setup and provide example code to generate different tones.
RBT
PART-C (15-Marks) CO Marks
Level
Describe the process of interfacing an LED with an Arduino. Include CO5
1 circuit diagrams, necessary components, and example code to control the L3 15
LED.
Explain the methodology for interfacing a switch with an Arduino. Discuss CO5 15
2 the circuit configuration, the importance of pull-up/pull-down resistors, and L2
provide example code to read the switch state.
Detail the steps to create a real-time digital clock using Arduino and an CO5 15
3 RTC module. Include the components required, circuit diagram, and L3
example code to display the time.
Discuss the design and implementation of a room temperature monitor CO5 15
4 using Arduino. Specify the components used, circuit design, and provide L4
example code for reading and displaying temperature data.
Explain how to design a traffic light controller using Arduino. Include the CO5 15
5 necessary components, circuit diagram, and example code to manage the L2
traffic light sequence.
RBT LEVEL: L1- Remembering, L2 – Understanding, L3 – Applying, L4 – Analyzing, L5 –
Evaluating, L6 – Creating
13