0% found this document useful (0 votes)
211 views29 pages

Cat 3 Question Bank - 20esec502-Mpmc-1

Uploaded by

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

Cat 3 Question Bank - 20esec502-Mpmc-1

Uploaded by

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

CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

CO 1 Explain the architecture and fundamental concepts of 8086 Microprocessors.(K2)

Part - A / 1 Mark/ CO1

Sl.
Mar K–
No Questions CO
ks Leve
.
Split- l
up

1. A digit of the binary number or code is called as 1 K1 CO1

a) bit b) byte c) word d)nibble

2. The size of data is specified as 1 K1 CO1

a) bit b) byte c) word d)All the above

3. the basic functional block of a microprocessor are 1 K1 CO1

a) ALU b) register c) control unit d)ll the above

4. The instruction pointer generates the address of the 1 K1 CO1


instruction to be fetched and sends it through to the
memory

a) data bus b)address bus c)CPU bus d)BIU

5. The 8086 can operate in modes 1 K1 CO1

a)1 b)3 c)2 d)5

6. The memory space is divided into two banks 1 K1 CO1


of 8086 Microprocessors .

a)1MB b) 2MB c)4MB d)512kB

7. A microprocessor with 8-bit can process bits of data 1 K1


at a time. CO1

a)4 b)8 c)12 d)16

8. The instruction MOV CL,DH is an example of which 1 K1 CO1


addressing mode of 8086 Microprocessor ?

a)Immediate b)Register c)Direct d)Indirect


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

9. The instruction MOV DL,08H is an example of which 1 K1 CO1


addressing mode of 8086 Microprocessor ?

a)Immediate b)Register c)Direct d)Indirect

10. flag is set if the size of the results exceeds 1 K1 CO1


the maximum range

1.Parity flag b)zero flag c)overflow flag d)Auxiliary flag

11 Which of the following statements is related to Accumulator? 1 K1 CO1

1.It is a storage element


2. It performs complementing operations
3. It performs decimal operations
4. All the above

12 How many instructions are required to support multiple 1 K1 CO1


addressing modes?

1.1 b)3 c)2 d)5

13 Which of the following is a microprocessor? 1 K1 CO1

1.8085 b)8086 c)8051 d)Both a and b

14 What is a bidirectional data bus? 1 K1 CO1

1. Data flow in both directions


2. Data flow in one direction
3.Data flow in multiple directions
4. None
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

15 What is the use of addressing mode in an 8086 1 K1 CO1


microprocessor?

1.To calculate the operands effective memory address


2. To calculate the address of an operand
3.To calculate the direct address of an
operand d)None

16 A 8086 microprocessor is of pins? 1 K1 CO1

1.10
2. 30
3. 20
4. 40

17 is the register size of data segment? 1 K1 CO1

1.8bit

b)12b
it
c)16
bit
d) 20 bit

18 register is used to hold data for multiplication 1 K1 CO1


and division operations

a)data b)base c)Source Index d)Destination Index

19 register is used to hold the offset address of top of 1 K1 CO1


the stack memory

a)stack pointer b)Base pointer c)SI d)DI

20 8086 needs and external clock with duty cycle 1 K1 CO1

a)22% b)33% c)20% d)16%


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - B / 2Marks/CO1

Mar K–
Sl.No
Questions ks Le CO
.
Split ve
-u p l

1. Define microprocessor? 2 K1 CO1

2. Define an Accumulator? 2 K1 CO1

3. What is stack? 2 K1 CO1

4. Define addressing mode. 2 K1 CO1

5. List the different types of addressing modes of 8086 instruction set? 2 K1 CO1

6. Identify the data lines and address lines available in 8086? 2 K1 CO1

8. Identify the physical address for fetching the next instruction to be 2 K2 CO1
executed, in 8086?

9. Identify the physical address, when segment address is 1085H and 2 K2 CO1
effective address is 4537H.

10. Define Instruction Cycle. 2 K1 CO1

11. List the functional parts of the 8086 CPU? 2 K1 CO1

12. State the purpose of a decoder in the EU? 2 K1 CO1

13. Define pointers and index registers? 2 K1 CO1

14 List the different flags available in the status register of 8086? 2 K1 CO1

15 Distinguish od an eve memor ban o 808 2 K1 CO1


betwe d d n y ks f 6
en Microprocessor
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - C / 10 Marks/CO1

Sl. Mar K–
No Questions ks Le CO
. Split ve
-u p l

1. Explain the various status flags in 8086 10 K2 CO

2. Discuss the various addressing modes of 8086 10 K2 CO

3. Discuss in detail the architecture of 8086 microprocessor 10 K2 CO

4. Explain the functional Units of 8086 in detail 10 K2 CO

5. Discuss in detail about Even and Odd Memory Banks. 10 K2 CO

6. Discuss briefly about the Evolution of Microprocessors 10 K2 CO

7. Explain about Registers used in 8086 Microprocessors in detail. 10 K2 CO

8. Discuss about Instruction and data flow in 8086. 10 K2 CO

9. Interpret in detail about Addressing modes for memory data of 10 K2 CO


8086 Microprocessor with suitable examples

10. Classify in detail about Addressing modes for register and 10 K2 CO


immediate data of 8086 Microprocessor with suitable examples

CO 2 Understand the pin diagram, instruction set, assembler directives and bus cycle of 8086
Microprocessor.(K2)

Part - A / 1 Mark/CO2

Sl. K–
Mar
No Questions Le CO
ks
. ve
Split-
l
up
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

1. The size of 8086 instruction is bytes 1 K1 CO2

a) 1 to 6 b) 1 to 8 c) 1 to 16 d)1 to 32

2. is the input signal to get extra time for data transfer 1 K1 CO2

a) HOLD b)READY c)
EXTRA d)OVERFLOW

3. is the signal to demultiplex the data and address 1 K1 CO2


lines

a) ALE b)DT/R c) M/IO d)HLDA

4. is the input signal to get the control of the bus 1 K1 CO2

a) HOLD b)READY c)
EXTRA d)OVERFLOW

5. is the input signal that provides the basic timing for 1 K1 CO2
8086

a)CLK b)HOLD C)HLDA D)RESET

6. The clock frequency for 8086 can vary from MHz 1 K1 CO2

a)2 -5 b)5-10 c)10-15 d)15-20

7. At pin , the external power supply of + 5V 1 K1 CO2


is provided to the processor.

a)35 b)40 c)115 d)20

8. For the maximum mode of operation,the PIN MN/MX of 8086 1 K1 CO2


id tied to

a)Vcc b)ground c)PIN 12 d)pin 5

9. During the activities of T4,the DEN is made high to disable the 1 K1 CO2

a)address buffer. b)data buffer c)LATCH d)register


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

10. The normal time taken by memory read cycle is 1 K1 CO2


clo
ck periods

a)4 b)3 c)2 d)1

11 During the Activities of T1,the BHE is asserted 1 K1 CO2


to enable odd /upper memory bank .

a)high b)low c)disabled d) medium

12 The group of conducting lines that is directly connected to 1 K1 CO2


the microprocessor is bus

a)CPU b)address c)data d)system

13 In the CPU bus ,the signals are at different timings . 1 K1 CO2

a)multiplexed b)demultiplexed c)disabled d) made high

14 Multiplexing is not allowed in bus 1 K1 CO2

a)CPU b)address c)data d)system

15 In 8086 system bus , the ALE is connected to the EN of 11 K1 CO2


the external bit latch

a)16 b)8 c)12 d)32

16 The bus is used for long distance communication of 1 K1 CO2


data
.a)CPU b)address c)data d)system

17 The memory is used to store permanent programs 1 K1 CO2


and data

a) FLASH b)EEPROM c)RAM d)ROM

18 After fetching the instruction , which of the following 1 K1 CO2


process take place

a)multiplex b)demultiplex c)decode d)encode


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

19 The group of conducting lines that carries data is 1 K1 CO2

a)address b)CPU c)control d)data

20 The group of conducting lines that carries data is 1 K1 CO2

a)address b)CPU c)control d)data

Part - B / 2Marks/CO2

Ma
Sl.No rk s K–
Questions CO
. Spl Lev
it- el
up

1. Identify the significance of the LOCK signal in 8086? 2 K1 CO2

2. Define ALIGN & ASSUME 2 K1 CO2

3. What is the effect of executing the instruction? 2 K1 CO2

4. List the various interrupts in 8086? 2 K1 CO2

5. State the use of instructions (i) LDS (ii) PUSHF (iii) TEST (iv) CLD 2 K1 CO2

6. State REP prefix? How does it function for string instructions? 2 K1 CO2

7. Define SEGMENT & ENDS 2 K1 CO2

8. Differentiate between Minimum mode and Maximum mode. 2 K2 CO2

9. Define Macros? 2 K1 CO2

10. List the use of ALE? 2 K1 CO2

11. Define Wait State? 2 K1 CO2

12. List the address bus and data bus in 8086. 2 K1 CO2

13. State the use of Ready pin? 2 K1 CO2

14. List the use of MN/MX pin? 2 K1 CO2


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

15. Identify the timing diagram of read cycle in 8086 2 K2 CO


2

Part - C / 10 Marks/CO2

Sl. Mar K–
No Questions ks Le CO
. Split ve
-u p l

1. Explain the instruction set of 8086 10 K2 CO2

2. 1. Sketch the read bus cycle in 8086 5


K2 CO2
2. Sketch the write bus cycle in 8086 5

3. Classify the bus cycles in 8086 with a neat sketch ? 10 K2 CO2

4. Explain 8086 pin diagram with signals 10 K2 CO2

5. Discuss the assembler directives of 8086 in detail 10 K2 CO2

6. Classify in detail the Arithmetic and Logical instructions of 8086


10 K2 CO2
each with two examples.

7. 6 K2
a) Illustrate the usage of branch instruction in 8086 with example
CO2
b) Mention the functions of various signals of 8086
4 K2

8. Examine data manipulation and control instruction in 8086 10 K2 CO2

9. Explain minimum and maximum mode signals of 8086


10 K2 CO2
Microprocessor

10. Write about string manipulation and control transfer instruction of 10 K2 CO2
8086 Microprocessor in detail
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

CO3 Implement various Assembly Language Programming using 8086.(K3)

Part - A / 1 Mark /CO3

Sl. Marks K–
Questions CO
No. Split-up Level

1. What is the purpose of the SEG instruction in the 8086 assembly 1 K1 CO3
language?
A) To load a segment register
B) To store a segment register
C) To define a segment
D) To assume a segment

2. What is the purpose of the MOV instruction in 8086 assembly 1 K1 CO3


language?
A) To load a segment register
B) To store a segment register
C) To define a segment
D) To assume a segment

3. What is the purpose of the SEGMENT Directive instruction in 1 K1 CO3


8086 assembly language?
A) To load a segment register
B) To store a segment register
C) To define a segment
D) To assume a segment

4. Which is not the type of operation used in 8086 Assembly 1 K1 CO3


language
A) To load a segment register
B) To store a segment register
C) To define a segment
D) To assume a segment

5. 5. What is the difference between the XCHG and MOV 1 K1 CO3


instructions in 8086 assembly language?
A) XCHG exchanges data, while MOV copies data
B) XCHG copies data, while MOV exchanges data
C) XCHG uses more clock cycles than MOV
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

D) XCHG uses fewer clock cycles than MOV

6. What is the primary goal of modular programming? 1 K1 CO3


A) To increase program size
B) To improve code readability
C) To reduce program complexity
D) To decrease program maintainability

7. Which of the following is the keyboard interface chip used in 1 K1 CO3


8086 microprocessor-based systems?
A) 8255
B) 8259
C) 8279
D) 8237

8. What is the function of the 8279 keyboard display interface 1 K1 CO3


chip?
A) Only keyboard interface
B) Only display interface
C) Both keyboard and display interface
D) Neither keyboard nor display interface

9. What is the purpose of the scan code in the keyboard interface? 1 K1 CO3
A) To identify the keyboard type
B) To identify the pressed key
C) To identify the display type
D) To identify the display resolution

10. Which mathematical operation does the CMP instruction 1 K1 CO3


essentially perform?
a)ADD
b)COMPARE
C)SUB
D)PRIORITY

11 Identify the error in the following assembly language instruction of 8086. 1 K1 CO3
MOV SP, B7H
RCL SP,2H
a)No error
b)Input not defined
c)Incorrect register used
d)Syntax error

12 What is the purpose of the following instruction? 1 K1 CO3


int 21h
(a) To read a character from the keyboard.
(b) To display a character on the monitor.
(c) To terminate the program.
d)a or b
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

13 What is the purpose of password validation in 8086 assembly 1 K1 CO3


language programming?
A) To restrict access to a program
B) To encrypt data
C) To decrypt data
D) To display a message

14 Which of the following is a common technique used for 1 K1 CO3


password validation in 8086 assembly language?
A) Comparing the input password with a stored password
B) Encrypting the input password and comparing it with a stored
encrypted password
C) Using a checksum to validate the password
D) Using a timer to validate the password

15 1. Which of the following is a common error message displayed 1 K1 CO3


during password validation?
A) "Password correct"
B) "Password incorrect"
C) "Username incorrect"
D) "Program executed successfully"

16 What is the purpose of the JNE instruction in password 1 K1 CO3


validation?
A) To jump to an error message if the passwords do not match
B) To jump to a success message if the passwords match
C) To exit the program
D) To display a prompt for the username

17 What is the purpose of the XCHG instruction in reversing a 1 K1 CO3


string?
A) To swap the bytes of the string
B) To move the string to a new location
C) To copy the string
D) To store the reversed string

18 1. Which of the following registers is commonly used to hold 1 K1 CO3


the string length in 8086 assembly language?
A) AX
B) BX
C) CX
D) DX

19 What is the error in the following 8086 assembly code snippet? 1 K1 CO3
.model data
.small
Start: mov ax, @data
mov ds, ax
a)Incorrect memory model
b)Input data not defined
c)Incorrect register type
d)no error
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

20 Which of the following registers is commonly used to hold the 1 K1 CO3


uppercase letter in 8086 assembly language?
A) AL
B) AH
C) BL
D) BH

Part - B / 2Marks/CO3

Marks
K–
Sl.No. Questions Split- CO
Level
up

1. Recall the steps in developing ALP? 2 K1 CO3

2. List the advantages of Modular Programming ? 2 K1 CO3

3. Define a linker and locator 2 K1 CO3

4. Construct the Algorithm for converting ASCII code to binary data 2 K1 CO3

5. Develop the Algorithm for converting binary data to ASCII code 2 K1 CO3

6. Build the ALP for AND Gate operation 2 K2 CO3

8. Define assembly level programming? 2 K2 CO3

9. Write an ALP to compute multiplication of two 16 bit numbers using 2 K2 CO3


8086 instruction set.

10. 2 K1 CO3
State password validation in programming?

11. Identify how shift operation affect a byte in a bitwise operation 2 K1 CO3

12. 2 K1 CO3
Show the process to convert ASCII to binary?

13. 2 K1 CO3
Show how can you convert a lowercase letter to an uppercase letter in
code?

14 Show how does a computer use the keyboard and display for input and 2 K1 CO3
output?
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

15 2 K1 CO3
Tell the role of the 'bitwise AND' and 'bitwise OR' operators in rotating
bytes?

16 What is the main difference between string reversal and string rotation? 2 K1 CO3

17 List the importance of data type conversions in modular programming 2 K1 CO3

18 Define modular programming. 2 K1 CO3

19 2 K1 CO3
Show how does a program handle binary-to-ASCII conversions
internally?

20 List the process to convert ASCII to binary? 2 K1 CO3

Part - C / 10 Marks/CO3

Marks
Sl. K–
Questions Split- CO
No. Level
up

1. Construct an Assembly Language program for password validation 10 K2 CO3


with algorithm

2. Build an Assembly Language program to reverse a string with 10 K2 CO3


algorithm and manual calculation

3. Construct an Assembly Language program to Rotate a byte 3 places 10 K2 CO3


to the left with algorithm and manual calculation

4. Build an Assembly Language program for converting lower case 10 K2 CO3


letter to uppercase letter with algorithm

5. Construct an Assembly Language program for converting ASCII 10 K2 CO3


code to binary data and binary data to ASCII code with proper
algorithm and manual calculation

6. Explain in detail about modular programming 10 K2 CO3

7. Construct an Assembly Language program for Keyboard and display 10 K2 CO3


controller with algorithm

8. Develop an assembly language program in 8086 to search the largest 10 K2 CO3


and smallest data in the array

9. Develop an 8086 ALP to find the sum of numbers in an array of 10 10 K2 CO3


element.

10. 10 K CO3
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

CO 4 Interpret I/O interfaces (8255, 8253/8254, 8279, 8259, 8237) using 8086.(K3)

Part - A / 1 Mark/ CO4

Sl. Marks K–
Questions CO
No. Split-up Level

1. How many types of Interfacing? 1 K1 CO4


A.2
B. 3
C. 4
D. 5

2. In which mode, the CPU periodically reads an internal flag of 1 K1 CO4


8279 to check whether any key is pressed or not with key
pressure?

A. Interrupt mode
B. Polled mode
C. Decoded Mode
D. Encoded Mode

3. Which pin is used to blank the display during digit switching? 1 K1 CO4

A. WR
B. IR
C. BD
D. DB

4. How many pins does the 8255 PPI IC contain? 1 K1 CO4


5. 24
6. 20
7. 32
8. 40

5. In which mode do all the Ports of the 8255 PPI work as Input- 1 K1 CO4
Output units for data transfer?
2. BSR mode
3. Mode 0 of I/O mode
4. Mode 1 of I/O mode
5. Mode 2 of I/O mode
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

6. How many bits of data can be transferred between the 8255 PPI 1 K1 CO4
and the interfaced device at a time? or What is the size of internal
bus of the 8255 PPI?
2. 16 bits
3. 12 bits
4. 8 bits
5. None of the above

7. Which port of the 8255 PPI is capable of performing the 1 K1 CO4


handshaking function with the interfaced devices?
5. Port A
6. Port B
7. Port C
8. All of the above

8. How many data lines in total are there in the 8255 PPI IC? 1 K1 CO4
4. 8 data lines
5. 32 data lines
6. 24 data lines
7. None of the above

9. The 8255 ports works in the I/O mode, 1 K1 CO4


5. Programmable I/O ports
6. Set pins
7. Reset pins
8. None of these

10. Strobed input/output mode is also known as - 1 K1 CO4


2. Mode 0
3. Mode 1
4. Mode 2
5. None of these

11 What are the actual steps that are followed in identifying any key 1 K1 CO4
that is being pressed?
a) wait for the debounce time
b) identify the key that is pressed
c) initially no key should be pressed
d) all of the mentioned

12 The key detection and the key identification are two different 1 K1 CO4
procedures?
a) true
b) false
c) depends on the circumstances
d) difficult to tell

13 _____________is a device designed to solve the timing control 1 K1 CO4


problems in a microprocessor
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

3. 8254
4. 8253
5. 8252
6. 8251

14 The size of each counter in 8254 is _____________bit 1 K1 CO4


a)16
b)8
c)21
d)64

15 The applications of counter includes 11 K1 CO4


a)To generate an accurate time delay
b)As an event counter
7. Square wave generator

8. All the above

16 Disabling an interrupt is known as __________ 1 K1 CO4


a)masking
b)stop
c)halt
d)run

17 For which of the mechanism interrupt mechanism are not required 1 K1 CO4
?
a)To allow the data sharing
b)better control
c)to handle mismatch condition
d)none of the above

18 There are __________ types of registers in 8237 DMA Controller 1 K1 CO4


a)12
b)10
c)14
d)20

19 Which device allows you to enter data and instructions into a 1 K1 CO4
computer?
a) Input device
b) Output device
c) ALU
d) CPU

20 Which input device is used for input text, numbers, and 1 K1 CO4
commands to the computer?
a) Mouse
b) Keyboard
c) Scanner
d) All of the above
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - B / 2Marks/CO4

Marks
K–
Sl.No. Questions Split- CO
Level
up

1. Define memory mapped I/O? 2 K1 CO4

2. Define I/O mapped I/O? 2 K1 CO4

3. State interrupt IO 2 K1 CO4

4. Find the tasks involved in keyboard interface 2 K1 CO4

5. Write a short note on 8255? 2 K1 CO4

6. Define PPI? 2 K1 CO4

7. Explain the working of handshake input ports 2 K1 CO4

8. List the features of DMA controller 2 K2 CO4

9. Define USART 2 K1 CO4

10. List the operating modes of 8254 timer ? 2 K1 CO4

11. State key debouncing? 2 K1 CO4

12. Define scanning in display and what is scan time ? 2 K1 CO4

13. State block and demand transfer mode DMA 2 K1 CO4

14. List some features of INTEL 8259 2 K1 CO4

15. Write the format of ICWI 2 K2 CO4

16 Define master and slave 8259 2 K2 CO4

17 List the functions performed by 8279. 2 K2 CO4


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - C / 10 Marks/CO4

Marks
Sl. K–
Questions Split- CO
No. Level
up

1. Illustrate the block diagram of INTEL 8255 with its operating CO4
10 K2
modes

2. a)Draw and explain the interfacing of 8255 with 8086 CO4


Microprocessor 5
K2
b)Explain the operating modes of 8255 in detail 5

3. Explain in detail the internal block diagram of 8279 chip with a neat CO4
10 K2
sketch

4. Explain the functional block diagram of Programmable interval CO4


10 K2
Timers with a block diagram in detail

5. Explain the possible operating modes of Programmable interval CO4


10 K2
Timers in detail

6. Discuss briefly about Keyboard/Display controller 10 K1 CO4

7. K2 CO4
Explain the functional block diagram of INTEL 8259 with a neat
10
sketch
K1

8. Draw and explain the interfacing of INTEL 8259 with 8086 CO4
Microprocessor 10 K2

9. Explain the Pin configuration of DMA Controller in detail 10 K2 CO4

10. Explain in detail the block diagram of 8237 with a neat sketch 10 K2 CO4

11 Discuss briefly about Interrupt controller with near diagram 10 K2 CO4

12 Illustrate the operating modes of 8279 in detail . 10 K2 CO4

CO5 Describe the advanced microprocessors Pentium and Intel Core i7 Processors and explain
the internal organization of 8051, instruction set and addressing modes and write Assembly
Language Programs in 8051. (K3)

Part - A / 1 Mark/CO5

Sl. Marks K–
Questions CO
No. Split-up Level
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - A / 1 Mark/CO5

1. 8051 is ________ microcontroller 1 K1 CO5


A. 4-bit
B. 8-bit
C. 16-bit
D. All of the above

2. Which of the following is Features of 8051 Microcontroller? 1 K1 CO5

A. 16-bit program counter and data pointer


B. Four 8-bit ports
C. Three internal and two external Interrupts
D. All of the above

3. 8051 Microcontroller has 4KB bytes on-chip program memory? 1 K1 CO5

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

4. 8051 Microcontroller has ? 1 K1 CO5

A. 8-bit unidirectional address bus


B. 16-bit unidirectional address bus
C. 8-bit bidirectional address bus
D. 16-bit bidirectional address bus

5. How much I/O pins 8051 has? 1 K1 CO5

A. 4
B. 8
C. 16
D. 32

6. 8051 Microcontroller has ____________ register banks? 1 K1 CO5


A. 4
B. 8
C. 16
D. 32

7. The 8051 microcontroller is of ___pin package as a ______ 1 K1 CO5


processor.
a) 30, 1byte
b) 20, 1 byte
c) 40, 8 bit
d) 40, 8 byte
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - A / 1 Mark/CO5

8. Which of the following is not an instruction of 8051 instructions? 1 K1 CO5


a) arithmetic instructions
b) boolean instructions
c) logical instructions
d) none

9. 8051 series has how many 16 bit registers? 1 K1 CO5


a) 2
b) 3
c) 1
d) 0

10. When 8051 wakes up then 0x00 is loaded to which register? 1 K1 CO5
a) PSW
b) SP
c) PC
d) None of the mentioned

11 When the microcontroller executes some arithmetic operations, 1 K1 CO5


then the flag bits of which register are affected?
a) PSW
b) SP
c) DPTR
d) PC

12 How are the status of the carry, auxiliary carry and parity flag 1 K1 CO5
affected if the write instruction
MOV A,#9C
ADD A,#64H
a) CY=0,AC=0,P=0
b) CY=1,AC=1,P=0
c) CY=0,AC=1,P=0
d) CY=1,AC=1,P=1

13 If we push data onto the stack then the stack pointer 1 K1 CO5
a) increases with every push
b) decreases with every push
c) increases & decreases with every push
d) none of the mentioned

14 On power up, the 8051 uses which RAM locations for register 1 K1 CO5
R0- R7
a) 00-2F
b) 00-07
c) 00-7F
d) 00-0F

15 How many bytes of bit addressable memory is present in 8051 11 K1 CO5


based microcontrollers?
a) 8 bytes
b) 32 bytes
c) 16 bytes
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - A / 1 Mark/CO5

d) 128 bytes

16 The symbol, ‘addr 16’ represents the 16-bit address which is used 1 K1 CO5
by the instructions to specify the
a) destination address of CALL
b) source address of JUMP
c) destination address of call or jump
d) source address of call or jump

17 The storage of addresses that can be directly accessed is 1 K1 CO5


a) external data RAM
b) internal data ROM
c) internal data RAM and SFRS
d) external data ROM and SFRS

18 The address register for storing the 16-bit addresses can only be 1 K1 CO5
a) stack pointer
b) data pointer
c) instruction register
d) accumulator

19 The instruction, ADD A, R7 is an example of 1 K1 CO5


a) register instructions
b) register specific instructions
c) indexed addressing
d) none

20 The instruction, RLA performs 1 K1 CO5


a) rotation of address register to left
b) rotation of accumulator to left
c) rotation of address register to right
d) rotation of accumulator to right

21 The Pentium processor has __________ data bus CO5


a) 65bit
b) 64 bit
c) 16bit
d) 8 bit

22 The pentium processor has ________million transistor CO5


a)1.2
b)3.1
c)4.1
d)3.8

23 The Pentium processor has _________ code cache and _____data CO5
cache
a)8KB,8KB
b)18KB,8KB
c)81KB,8KB
d)8KB,81KB
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - B / 2 Mark/ CO5

Marks
K–
Sl.No. Questions Split- CO
Level
up

1. List the major features of Pentium processor 2 K1 CO5

2. List the major features of Pentium 4 processor 2 K1 CO5

3. Define a Microcontroller 2 K1 CO5

4. Identify the basic units of 8051 Microcontroller 2 K1 CO5

5. List the features of 8051 Microcontroller 2 K1 CO5

6. Define SFR? 2 K1 CO5

7. State PSW in 8051? 2 K1 CO5

8. Find the stack implementation in 8051 2 K1 CO5

9. List the operating modes of serial port of 8051? 2 K1 CO5

10. Identify the addressing modes available in 8051? 2 K1 CO5

11. Define relative addressing in 8051? 2 K1 CO5

12. Classify the 8051 instructions ? 2 K1 CO5

13. List the instructions of 8051 that affect all the flags of 8051 2 K1 CO5

14. State the operations performed by Boolean variable instructions of CO5


2 K1
8051 ?

15. List the instructions of 8051 that always clear the carry flag 2 K1 CO5

16 Find the size of 8051 instructions 2 K1 CO5

17 List the special function registers of 8051 ? 2 K1 CO5

18 Identify the Format of PSW of an 8051 family of microcontroller 2 K1 CO5

19 What is the Format of PCON register of an 8051 family of 2 CO5


K1
microcontroller

20 What is the Format of SCON register of an 8051 family of 2 CO5


K1
microcontroller
CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

21 Show the Format of TCON register of an 8051 family of 2 CO5


K1
microcontroller

22 What is the Format of TMOD register of an 8051 family of 2 CO5


K1
microcontroller

23 Identify the Format of IE register of an 8051 family of microcontroller 2 K1 CO5

Part - C / 10 Marks/CO5

Marks CO6
Sl. K–
Questions Split- CO Design
No. Level
up Traffic
Light
1 Illustrate the architecture of 8051 with neat diagram 10 K2 CO5

2. K2 CO5
Classify different types of addressing modes in 8051.
10

3. Explain the arithmetic and logical instructions of 8051 10 K2 CO5

4. Compare and contrast the data transfer and branch instructions of K2 CO5
10
8051

5. Explain the Special Function registers of 8051 6 K2 CO5


Distinguish between microprocessor and microcontroller. 4

6. Compare the Instruction set of 8051 Microcontroller 10 K2 CO5

7. K2 CO5
Classify the addressing modes in detail of 8051 Microcontroller 10
K2 CO5

8. Interpret the functional block diagram of 8051 with a neat sketch 10 K3 CO5

9 Explain the architecture of Pentium processor with a neat sketch 10 K3 CO5


controller, LED display , LCD display using 8086 and program the Timer, Serial port, stepper
motor and Interrupt using 8051.(K3)

Part - A / 1 Mark/ CO6

Sl. Marks K–
Questions CO
No. Split-up Level

1. The traffic light control system consists of ____________LED 1 K1 CO6


a)24 b)36 c)23 d)11

2. _____number of LED are provided for controlling vehicle traffic 1 K1 CO6


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - A / 1 Mark/ CO6

a)20 b)36 c)23 d)11

3. A _______placed at the collector of the transistor can be used to 1 K1 CO6


switch ON/OFF the light

a)switch b)transistor c)relay d)capacitor

4. _______diode is used to prevent relay chattering 1 K1 CO6

a)reverse bias b)forward bias c)scottky d)none

5. The traffic light control system has been developed using ______ 1 K1 CO6

a)8086 b)8051 c)8098 d)8253

6. The traffic light control system has ________for stack operations 1 K1 CO6

a)ROM b)RAM c)External memory d)EEPROM

7. The traffic light control system has ________for system program 1 K1 CO6
storage

a)ROM b)RAM c)External memory d)EEPROM

8. The LEDs are interfaced to the system through __________ 1 K1 CO6

a)buffer b)gate c)relay d)motor

9. In 7 segment LED, segment will glow or emit light when it is 1 K1 CO6


_______biased

a)reverse bias b)forward bias c)scottky d)none

10. The segment will be made to glow when applying _____to the 1 K1 CO6
anode and _________ to the cathode

a)high,low b) low,high c)high,high d)low,low

11 The numeric characters can be displayed on the 7 segment LED 1 K1 CO6


by ________biasing the appropriate segments

a)reverse bias b)forward bias c)scottky d)none

12 What is the counting rate of a machine cycle in correlation to the 1 K1 CO6


oscillator frequency for timers?

a. 1 / 10
b. 1 / 12
c. 1 / 15
d. 1 / 20

13 Which special function register play a vital role in the 1 K1 CO6


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - A / 1 Mark/ CO6

timer/counter mode selection process by allocating the bits in it?

a. TMOD
b. TCON
c. SCON
d. PCON

14 How many machine cycle/s is / are executed by the counters in 1 K1 CO6


8051 in order to detect '1' to '0' transition at the external pin?

a. One
b. Two
c. Four
d. Eight

15 In order to control the direction of the Stepper Motor, 1 K1 CO6


___________buttons are connected to PORT3 pins

a)three b)two c)one d)five

16 ________ is responsible for moving a byte to or from external 1 K1 CO6


memory into or from the accumulator

a)MOV b)MOVX c) MOVC d)RLR

17 ORL does a bitwise OR operations between operand 1 and 1 K1 CO6


operand 2 leaving the result in _____________

a)operand 1 b)operand 2 c)operand 3 d)B register

18 XRL is meant for ______operations 1 K1 CO6

a)Bitwise Exclusive OR b)Rotate left c)Rotate Extreme left


d)Bitwise OR

19 CJNE is meant for ___________instructions 1 K1 CO6


a)Compare and jump if not equal b)Compare if not equal c)Jump
if not equal d)clear if not equal

20 SJMP is for _______ 1 K1 CO6


a)serial Jump b)short jump c)short clear d)none

Part - B / 2 Mark/ CO6

Sl.No. Questions Marks K– CO


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Split- Level
up

1. List the sources of interrupt s in 8051? 2 K1 CO6

2. State how baud rate is calculated for serial data transfer in mode 1. 2 K2 CO6

3. What are ways to increase the baud rate 2 K1 CO6

4. Show the time taken to execute an instruction can be estimated in 8051 CO6
2 K2
controller

5. Develop a ALP program for logical AND operations in 8051 2 K2 CO6

6. Sketch the switching circuit for traffic light 2 K2 CO6

7. Draw the PIN configuration of 7 segment LED 2 K2 CO6

8. Build a ALP program for logical OR operations in 8051 2 K2 CO6

9. Build a ALP program for logical XOR operations in 8051 2 K2 CO6

10. State the principle of Microcontroller bases stepper motor based K2 CO6
2
control system

11. Construct the ALP for 8051Timer Mode0 2 K2 CO6

12. Build the ALP for 8051Timer Mode 1 2 K2 CO6

13. Draw the 8051 interrupt vector table K2 CO6


2

14. What is the use of gating in timers of 8051 2 K1 CO6

15. How to Initialize Timer Counts 2 K1 CO6

16 Construct a ALP program for logical NAND operations in 8051 2 K2 CO6

17 Build a ALP program for logical NOR operations in 8051 2 K2 CO6


CAT _QB_20ESEC502-MICROPROCESSORS AND MICROCONTROLLERS

Part - C / 10 Marks /CO6

Marks
Sl. K–
Questions Split- CO
No. Level
up

1. (i) Construct a program for counter 1 in mode 2 to count the pulses CO6
and display the state of TL1 using 8051.
10 K3
(ii) If a 12 MHZ crystal is connected with 8051, Examine the time
taken for the count in timer 0 to get incremented by one?

2. Develop the program to perform the Arithmetic(Addition and K3 CO6


Subtraction) and logical operations(AND, OR, XOR) using 8051 10

3. Construct the program to perform the Arithmetic(Multiplication K3 CO6


10
and Division)and logical operations(NAND, NOR) using 8051

4. (i) Construct the program to perform the 1’s and 2’s complement K3 CO6
using 8051. 10
(ii) Build the program to perform Square and Cube using 8051

5. Examine the timers of 8051 microcontroller along with the K3 CO6


10
program.

6. Explain in detail about 8051 serial port with the program. 10 K3 CO6

7. Inspect the port operations of 8051 10 K3 CO6

8. Construct the interfacing of stepper motor with necessary diagrams K3 CO6


10
and program using 8051

11 Explain the Traffic Light Control System using 8086 with a neat 10 K3 CO6
sketch

12 Explain the LED Display using 8086 with a neat sketch 10 K3 CO6

You might also like