8085 Microprocessor MCQs and Answers
8085 Microprocessor MCQs and Answers
in
Q.1 If the crystal oscillator is operating at 15 MHz, the PCLK output of 8284 is
(A) 2.5 MHz. (B) 5 MHz.
(C) 7.5 MHz. (D) 10 MHz.
Ans: (A)
Q.2 In which T-state does the CPU sends the address to memory or I/O and the ALE signal
for demultiplexing
(A) T1. (B) T2.
(C) T3. (D) T4.
Ans, During the first clocking period in a bus cycle, which is called T1, the address of
the memory or I/O location is sent out and the control signals ALE, DT/R’ and IO/M’
are also output. Hence answer is (A).
Q.3 If a 1M ×1 DRAM requires 4 ms for a refresh and has 256 rows to be refreshed, no
more than _ of time must pass before another row is refreshed.
(A) 64 ms. (B) 4 ns.
(C) 0.5 ns. (D) 15.625 µs .
Ans A DMA writes operation transfers data from an I/O device to memory. Hence
answer is (A).
Q.5 Which type of JMP instruction assembles if the distance is 0020 h bytes
(A) near. (B) far.
(C) short. (D) none of the above.
Ans The three byte near jump allows a branch or jump within ± 32K bytes. Hence
answer is (A).
1
[Link] ALL EXAM REVIEW ADDA
Q.9 Number of the times the instruction sequence below will loop before coming out of
loop is
MOV AL, 00h
A1: INC AL
JNZ A1
(A) 00 (B) 01
(C) 255 (D) 256
Q.10 What will be the contents of register AL after the following has been executed
MOV BL, 8C
MOV AL, 7E
ADD AL, BL
(A) 0A and carry flag is set (B) 0A and carry flag is reset
(C) 6A and carry flag is set (D) 6A and carry flag is reset
Ans The direction flag is used only with the string instructions. Hence answer is (A).
Q.13 These are two ways in which a microprocessor can come out of Halt state.
(A) When hold line is a logical 1.
(B) When interrupt occurs and the interrupt system has been enabled.
(C) When both (A) and (B) are true.
(D) When either (A) or (B) are true.
Q.16 In case of DVD, the speed is referred in terms of n X (for example 32 X). Here, X
refers to
(A) 150 KB/s (B) 300 KB/s
(C) 1.38 MB/s (D) 2.4 MB/s
Ans The Pentium microprocessor is organized with three execution units. One
executes floating-point instructions, and the other two (U-pipe and V-pipe) execute
3
[Link] ALL EXAM REVIEW ADDA
Ans The EPROM is erasable if exposed to high-intensity ultraviolet light for about 20
minutes or less. Hence answer is (A)
Q.21 Signal voltage ranges for a logic high and for a logic low in RS-232C standard are
(A) Low = 0 volt to 1.8 volt, high = 2.0 volt to 5 volt
(B) Low =-15 volt to –3 vol, high = +3 volt to +15 volt
(D) Low = +3 volt to +15 volt, high = -3 volt to -15 volt
(E) Low = 2 volt to 5.0 volt, high = 0 volt to 1.8 volt
Q.22 The PCI bus is the important bus found in all the new Pentium systems because
(A) It has plug and play characteristics
(B) It has ability to function with a 64 bit data bus
(C) Any Microprocessor can be interfaced to it with PCI controller or bridge
(D) All of the above
Ans An instruction cycle consists of several machine cycles. Hence Answer is (B).
Q.24 8251 is a
(A) UART
(B) USART
(C) Programmable Interrupt controller
(D) Programmable interval timer/counter
Ans The 8088 is a 16-bit microprocessor with an 8-bit data bus. The 16-bit address
bus. Hence answer is (D).
4
[Link] ALL EXAM REVIEW ADDA
Q.26 By what factor does the 8284A clock generator divide the crystal oscillator’s output
frequency? [Link]
(A) One (B) Two
(C) Three (D) Four
Ans When F/C’ is at logic 0; The oscillator output is steered through to the divide- by-
3 counter. Hence answer is (c).
Q.28 When the 82C55 is reset, its I/O ports are all initializes as
(A) output port using mode 0 (B) Input port using mode 1
(C) output port using mode 1 (D) Input port using mode 0
Ans A RESET input to the 82C55 causes all ports to be set up as simple input ports
using mode 0 operations. Hence answer is (D).
Q.29 Which microprocessor pins are used to request and acknowledge a DMA transfer?
(A) reset and ready (B) ready and wait
(C) HOLD and HLDA (D) None o these
Ans, The HOLD pin is an input that is used request a DMA action and the HLDA
pin is an output that that acknowledges the DMA action. Hence answer is (C).
Ans Operating systems, like Windows, defer many tasks and do not guarantee their
execution in predictable time. Hence answer is (B).
Ans The VESA local bus operates at 33 MHz. Hence answer is (B).
Ans, ENIAC (Electronic Numerical Integrator And Computer) was the first general-
purpose electronic computer. It was a Turing-complete, digital computer capable of
being reprogrammed to solve a full range of computing problems. ENIAC was
5
[Link] ALL EXAM REVIEW ADDA
designed to calculate artillery firing tables for the U.S. Army's Ballistic Research
Laboratory. Hence answer is (c). [Link]
Q.33 Software command CLEAR MASK REGISTER in DMA
(A) Disables all channels.
(B) Enables all channels.
(C) None.
(D) Clears first/last flip-flop within 8237.
Q.34 The first task of DOS operating system after loading into the memory is to use the file
called .
(A) [Link] (B) [Link]
(C) [Link] (D) [Link]
Ans, The first task of the DOS operating system, after loading into memory, is to
use a file called the [Link] file. This file specifies various drivers that load
into the memory, setting up or configuring the machine for operation under DOS.
Q.35 If the programmable counter timer 8254 is set in mode 1 and is to be used to count
six events, the output will remain at logic 0 for number of counts
(A) 5 (B) 6
(C) 0 (D) All of the above
Ans. OUT continues for the total length of the count. Hence answer is (B).
Ans The flash memory device requires a 12V programming voltage to erase and write
new data. Hence answer is (A).
Q.37 A plug and play (PnP) interface is one that contains a memory that holds
configuration information of the system.
(A) TRUE (B) FALSE
Ans, this port probably will never be used for any devices other than the video card.
Hence answer is (B).
6
[Link] ALL EXAM REVIEW ADDA
Ans Typically, the bus-cycle of the 8086 and 8088 processors consist of four clock
cycles or pulses. Thus, duration of a bus-cycle is = ‘4*T’. Hence Answer is (C). [Link]
Q.40 The time required to refresh a typical DRAM is
(A) 2 – 4 us (B) 2 – 4 ns
(C) 2 – 4 ms (D) 2 – 4 ps
Ans The capacitor Cs discharges through the internal resistance of the NMOS transistor
T1. Typically Cs = 0.2 pF and the internal resistance Rin = 1010 ohms, so:
Cs x Rin = 0.2 x 10-12 x 1010 x 103 ms = 2 ms
So the typical refresh time interval is 2 ms. Hence Answer is (C).
Q.42 The no. of wait states required to interface 8279 to 8086 with 8MHz clock are
(A) Two (B) Three
(C) One (D) None
Ans Two wait states used so that device can function with an 8 MHz. Hence answers is
( A).
Ans Data transfer speeds are 12 Mbps for full speed operation and 1.5 Mbps for slow
speed operation. Hence answer is (c).
Q.45 In 80186, the timer which connects to the system clock is
(A) timer 0 (B) timer 1
(C) timer 2 (D) Any one can be connected
Ans. Timer 2 is internal and clocked by the master clock. Hence answer is (c).
Q.46 Conversion of the +1000 decimal number into signed binary word results
(A) 0000 0011 1110 1000 (B) 1111 1100 0001 1000
(C) 1000 0011 1110 1000 (D) 0111 1100 0001 1000
7
[Link] ALL EXAM REVIEW ADDA
Ans
[Link]
1000 /2 =>500 €0
500/2=>250€0
250/2=>125€0
125/2=>62€1
62/2=>31€0
31/2=>15€1
15/2=>7€1
7/2=>3€1
3/2=>1€1
16 bit signed number is 1000,0011,1110,1000
Hence Answer is (C).
Q.49 Which pins are general purpose I/O pins during mode-2 operation of the 82C55?
(A) PA0 – PA7 (B) PB0-PB7
(C) PC3-PC7 (D) PC0-PC2
Ans In mode 2 Port-A can be programmed to operate as bidirectional port. The mode-2
operation is only for Port-A. Hence Answer is (A)
8
[Link]
Microprocessor
Ans:a)Operating code
Ans:a)MSB
Ans:a)Temporary storage
10) In the 8085A microprocessor, the data size is 8-bit and the address size is 16-
bit.
a) B-C pair
b) D-E pair
c) H-L pair
d) All of the above.
[Link]
Ans:Accumulator
13) An instruction cycle can be defined as the sum of an instruction fetch time and
the instruction execution time.
a) Instruction cycle=Instruction fetch + Instruction execute.
b) Memory location and deposited in the CPU’s
c) Both of these
d) None of the above.
30) The part of 8255 can be programmed for any other mode by writing a single
control word into the
a) Port
[Link]
b) Control Logic
c) Set/Reset
d) Register.
Ans:d)Regiter
Ans:a)Indexed addressing
Ans:b)RST7.5, RST5.5
20) The data which a microprocessor needs to process, comes from devices such
as a keyboard.
a) Switch
b) Analog-to-digital
c) Digital-to-analog
d) All of the above.
22) To interconnect peripherals with the 8085 MPU, additional logic circuit, called
interfacing devices. These circuits include a device such as
a) buffer
b) Decoder
c) Encoder, latches
d) All of the above.
Ans: 1, 2 both
c) Instruction
d) All of the above.
Ans: a)Software
Ans:a)Cross-assembler
26) The 8085 microprocessor has two pins available for I/O communication.
(1) HOLD, HOLDA (2) HOLDAB, HOLDB
a) 1, 2 both
b) 1 only
c) 2 only.
d) All of these
Ans: b)
27) The ___ is a program that allows then used to test and debug the object file.
a) Assembler
b) Loader
c) Debugger
d) None of the above.
Ans:c)
28) It is a program that takes the object file generated by the assembler program.
a) Loading
b) Loader
c) Debugger
d) All of the above.
Ans:b)
30) Intel’s 8086 and 80286, Motorola’s M 68000 and Zilog’s Z8000 are some of the
most powerful-16-bit microprocessor are not available today. (T/F)
Ans. False
[Link]
34) The physical components of this system are called the hardware. (T/F)
Ans. True
35) A set of instructions written for the microprocessor to perform a task is called an
application. (T/F)
Ans. False
37) The microprocessor applications are classified primarily into 3 categories: re-
programmable system and embedded system. (T/F)
Ans. True
38) The first microprocessor was introduced by Intel Corporation in 1971. (T/F)
Ans. True
40) In 8087 ___ executes all the instructions including arithmetic, logical,
transcendental, and data transfer instructions.
A) Arithmetic and logical unit
B) Control Unit
C) Numeric Execution Unit
D) None of the above
Ans:c)
Ans:A)
42) The single IC which consists of ALU, control section, and register section is
called___.
A) Microprocessor
B) Microcontroller
C) Register
D) Computer
Ans:A)
43) A system bus which carries, only the control and timing signals then it is called as
____
A) Address bus
B) Data bus
C) Control bus
D) None of the above
Ans:C)
44) Physical devices and circuitry of the computer are also known as ___ .
A) Hardware
B) Software
C) System Software
D) Application Software
Ans: A)
45) Intel developed first processor 4004 in 1974 which was a ___ bit processor.
A) 1
B) 2
C) 3
D) 4
Ans:D)
Ans:B)
[Link]
47) The ____ family was introduced as a part of Intel Centrino Technology.
A) Pentium M
B) Pentium I
C) Pentium II
D) Dual core
Ans:A)
Ans:B)
49) 16 bit microprocessor has ___ bit data bus and ___ bit address bus.
A) 16, 20
B) 8,16
C) 4, 16
D) 8,20
Ans:A)
Ans:C)
Ans:C)
52) Assembler is a type of translator that translates ___ language into machine
level language.
A) High Level
B) Assembly level
[Link]
C) Both A and B
D) None of the above
Ans: B)
53) The addressing modes of 8086 can be categorized into ___ categories.
A) One
B) Two
C) Three
D) Four
Ans: D)
54) In ___ addressing mode the operands are specified in the instruction itself.
A) Immediate
B) Register
C) Direct
D) Indirect
Ans: A)
55) ___ instructions are used in such cases when some instructions are needed to be
executed number of times to perform certain tasks.
A) Jump
B) Loop
C) Shift
D) Rotate
Ans: B)
56) ___ instruction stops the execution of microprocessor and force microprocessor
to enter into wait state
A) WAIT
B) LOCK
C) ESC(Escape)
D) HALT
Ans: D)
57) A series of data byte available in memory at consecutive locations is called as___.
A) Bit String
B) Byte String
C) Word
D) None of these
[Link]
Ans:B)
Ans:A)
Ans:B
Ans:A
61) ___ is used by 8259 A to Decipher various Commnad Words the CPU writes.
A) INT
B) INTA
C) A0
D) RD
Ans:C)
62) The length of a bus cycle in 8086 system is of ___ clock cycles.
A) One
B) Two
C) Three
D) Four
Ans:D
Ans:D
64) Data bus buffer is a ___ state bidirectional ___ bit buffer that is used to interface
8259A to the system Data Bus.
A) 3,8
B) 2,8
C) 3,16
D) 2,16
Ans:A
Ans:C
66) In ___ cell the capacitor is used to store the charge as a representation of data.
A) Static RAM
B) ROM
C) Dynamic RAM
D) None of the above
Ans:C
Ans:B
68) In 8255-PPI ___ mode is used as two simple 8 bit I/O ports and port C as two 4-
bit I/O ports.
A) Mode 0
B) Mode 1
[Link]
C) Mode 2
D) Mode 3
Ans:A
Ans:B
70) ___ is a programmable interval timer/counter designed for use with Intel
Microprocessor system.
A) 8255
B) 8279
C) 8251
D) 8254
Ans:D
71) 8254 has powerful READ BACK command which allows the user to check the
count value, programmed mode, current mode and current status of counter
A) True
B) False
A)True
Ans:A
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Date-16/06/2021
Subject Name-KCS-403-Microprocessor_CSE-Semester 4
UNIT-1
a. 0030H
b. 0024H
c. 0048H
d. 0060H
Answer: (a).0030H
d. end of program
3. What is SIM?
d. None of these
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. MROM
b. PROM
c. EPROM
d. EEPROM
Answer: (a).MROM
a. MROM
b. PROM
c. FROM
d. FPROM
Answer: (b).PROM
a. Micro-operations
b. Macro-operations
c. Multi-operations
d. Bi control-operations
Answer: (b).Macro-operations
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. incremented by one.
d. data processing with registers takes fewer cycles than that with memory
Answer: (d).data processing with registers takes fewer cycles than that with memory
b. A fetch cycle
12. The output data lines of microprocessor and memories are usually tristated
because
a. More than one device can transmit information over the data bus by enabling
only one device at a time
b. More than one device can transmit over the data bus at the same time
c. The data line can be multiplexed for both input and output
Answer: (a).More than one device can transmit information over the data bus by
enabling only one device at a time
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
13. The correct sequence of steps in the instruction cycle of a basic computer is
14. The register which holds the information about the nature of results of
arithmetic and logic operations is called as
a. Accumulator
c. Flag register
a. 1, 2, 3 and 4
b. 1, 2 and 3
c. 1 and 2 only
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
d. 3 and 4 only
17. Both the ALU and control section of CPU employ which special purpose
storage location?
a. Buffers
b. Decoders
c. Accumulators
d. Registers
Answer: (c).Accumulators
c. all the registers and counters are being reset and this signal can be used to
reset external support chip
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: (c).all the registers and counters are being reset and this signal can be
used to reset external support chip
20. The content of the A15-A8 (higher order address lines) while executing “IN
8-bit port address” instruction are
b. irrelevant
a. TRAP
b. RST 7.5
d. RST 6.5
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
22. Which one of the following instruction may be used to clear the
accumulator content irrespective of its initial value?
a. CLR A
b. ORA A
c. SUB A
d. MOV A, 00H
Answer: (c).SUB A
23. ___________ signal prevent the microprocessor from reading the same data
more than one.
a. pipelining
b. handshaking
c. controlling
d. signaling
Answer: (b).handshaking
24. Data transfer between the microprocessor for peripheral takes place
through __________.
a. I/O port
b. input port
c. output port
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
d. multi port
a. +5V
b. -5V
c. -10V
d. +10V
Answer: (a).+5V
26. The _______ allow data transfer between memory and peripherals.
a. DMA technique
b. Microprocessor
c. Register
d. Decoder
a. P2
b. P4
c. P6
d. P8
Answer: (c).P6
29. The number of hardware chips needed for multiple digit display can be
minimized by using the technique called ______.
a. interfacing
b. multiplexing
c. demultiplexing
d. multiprocessing
Answer: (b).multiplexing
a. a parallel interface
b. a serial interface
c. printer interface
d. a modem interface
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. medium voltage
b. higher voltage
c. lower voltage
c. interrupt is Masked
a. clock
d. signal bus
36. The advantage of memory mapped I/O over I/O mapped I/O is _________
a. faster operation
37. In 8279 Status Word, data is read when ________ pins are low, and write to
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
38. In 8279, the keyboard entries are de bounced and stored in an _________,
that is further accessed by the CPU to read the key codes.
a. 8-bit FIFO
b. 8-byte FIFO
c. 16 byte FIFO
d. 16 bit FIFO
39. For the most Static RAM the write pulse width should be at least
a. 10 ns
b. 60 ns
c. 300 ns
d. 350 ns
Answer: (b).60 ns
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. Motorala
b. Intel
c. Stephen Mors
d. HCL
Answer: (b).Intel
a. bidirection
b. unidirection
c. mulidirection
d. circular
Answer: (b).unidirection
a. 40
b. 45
c. 20
d. 35
Answer: (a).40
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. +5V
b. -5V
c. +12V
d. -12V
Answer: (a).+5V
44. Which is used to store critical pieces of data during subroutines and
interrupts ?
a. Stack
b. Queue
c. Accumulator
d. Data register
Answer: (a).Stack
a. Pushing data
b. Pushed
c. Pulling
d. None of these
46. The external system bus architecture is created using from ______
architecture.
a. Pascal
b. Dennis Ritchie
c. Charles Babbage
d. Von Neumann
b. Compiler
c. Operating system
d. All of these
a. Auxiliary
b. Backup store
c. Both A and B
d. None of these
49. The lower red curvy arrow show that CPU places the address extracted
from the memory location on the_____.
a. Address bus
b. System bus
c. Control bus
d. Data bus
50. The CPU sends out a ____ signal to indicate that valid data is available on
the data bus.
a. Read
b. Write
c. Both a and b
d. None of these
Answer: (b).Write
UNIT-2
1. In 8085 microprocessor, how many interrupts are maskable.
a. Two
b. Three
c. Four
d. Five
Answer. c
2. Which stack is used in 8085 microprocessors?
a. FIFO
b. FILO
c. LIFO
d. LILO
Answer. c
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
3. In the instruction of the 8085 microprocessor, how many bytes are present?
a. One or two
b. One, two or three
c. One only
d. Two or three
Answer. b
4. Which one of the following addressing technique is not used in 8085
microprocessor?
a. Register
b. Immediate
c. Register indirect
d. Relative
Answer. d
5. Which one of the following register of 8085 microprocessor is not a part of the
programming model?
a. Instruction register
b. Memory address register
c. Status register
d. Temporary data register
Answer. c
6. The program counter in 8085 microprocessor is a 16-bit register, because
a. It counts 16 bits at a time
b. There are 16 address times
c. It facilitates the users storing 16-bit data temporarily
d. It has to fetch two 8-bit data at a time.
Answer. b
7. A direct memory access (DMA) transfer replies
a. Direct transfer of data between memory and accumulator
b. Direct transfer of data between memory and I/O devices without the use of
microprocessor
c. Transfer of data exclusively within microprocessor registers
d. A fast transfer of data between microprocessor and I/O devices
Answer. b
8. Handshaking mode of data transfer is
a. Synchronous data transfer
b. asynchronous data transfer
c. interrupt driven data transfer
d. level Mode of DMA data transfer
Answer. a
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. Micro-operations
b. Macro-operations
c. Multi-operations
d. Bi control-operations
Answer. c
27. Consider the following registers:
1. Accumulator and flag register
2. B and C registers
3. D and E registers
4. H and L registers
Which of these 8-bit registers of 8085 μP can be paired together to make a 16-bit
register?
a. (a) 1, 3 and 4
b. 2, 3 and 4
c. 1, 2 and 3
d. 1, 2 and 4
Answer. b
28. The first microprocessor to include virtual memory in the Intel
microprocessor family is
a. 80286
b. 80386
c. 80486
d. Pentium
Answer. a
29. Program counter in a digital computer
a. counts the numbers of programs run in the machine ,
b. counts the number of times a subroutine is called
c. counts the number of times the loops are executed
d. points the memory address of the current or the next instruction to be
executed
Answer
Answer. d
30. Assuming LSB is at position 0 and MSB at position 7, which bit positions are
not used (undefined) in Flag Register of an 8085 microprocessor?
a. 1, 3, 5
b. 2, 3, 5
c. 1, 2, 5
d. 1, 3, 4
Answer. a
31. At the beginning of a fetch cycle, the contents of the program counter are
a. incremented by one
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
c. T3 and T4
d. T4 and T1
Answer. c
37. Which one of the following circuits transmits two messages simultaneously in
one direction?
a. Duplex
b. Diplex
c. Simplex
d. Quadruplex
Answer. b
38. A microprocessor is ALU
a. and control unit on a single chip
b. and memory on a single chip
c. register unit and I/O device on a single chip
d. register unit and control unit on a single chip
Answer. d
39. In Intel 8085 microprocessor, ALE signal is made high to
a. Enable the data bus to be used as low order address bus
b. To latch data D0— D7 from the data bus
c. To disable data bus
d. To achieve all the functions listed above
Answer. a
40. Output of the assembler in machine codes is referred to as
a. Object program
b. Source program
c. Macro instruction
d. Symbolic addressing
Answer. a
41. Which one of the following statements for Intel 8085 is correct?
a. Program counter (PC) specifies the address of the instruction last executed
b. PC specifies the address of the instruction being executed
c. PC specifies the address of the instruction be executed
d. PC specifies the number of instruction executed so far
Answer. c
42. The instruction RET executes with the following series of machine cycle
a. Fetch, read, write
b. Fetch, write, write
c. Fetch, read, read
d. Fetch, read
Answer. c
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
43. Which one of the following statements is correct regarding the instruction
CMP A?
a. Compare accumulator with register A
b. Compare accumulator with memory
c. Compare accumulator with register H
d. This instruction does not exist
Answer. a
44. The instruction JNC 16-bit refers to jump to 16-bit address if
a. Sign flag is set
b. Carry flag is reset
c. Zero flag is set
d. Parity flag is reset
Answer. b
45. Consider the following interrupts for 8085 microprocessor:
1. INTR
2. RST 5.5
3. RST 6.5
4. RST 7.5
5. TRAP
If the interrupt is to be vectored to any memory location then which of the above
interrupt is/are correct?
a. 1 and 2 only
b. 1, 2, 3 and 4
c. 5 only
d. 1 only
Answer. d
46. Consider the following statements:
1. Auxiliary carry flag is used only by the DAA and DAS instruction.
2. Zero flag is set to 1 if the two operands compared are equal.
3. All conditional jumps are long type jumps.
Which of the above statements are correct?
a. 1, 2 and 3 only
b. 1 and 2 only
c. 1 and 3 only
d. 2 and 3 only
Answer. b
47. Among the given instructions, the one which affects maximum number of
flags is
a. RAL
b. POP PSW
c. XRA A
d. DCR A
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer. c
48. XCHG instruction of 8085 exchanges the content of
a. top of stack with contents of register pair
b. BC and DE register pairs
c. HL and DE register pairs
d. None of the above
Answer. c
49. Direction flag is used with
a. String instructions
b. Stack instructions
c. Arithmetic instructions
d. Branch instructions
Answer. a
50. What will be the contents of DE and HL register pairs respectively after the
execution of the following instructions?
LXIH, 2500 H
LXID, 0200 H
DAD D
XCHG
a. 0200 H, 2500 H
b. 0200 H, 2700 H
c. 2500 H, 0200 H
d. 2700 H, 0200 H
Answer. d
UNIT-3
51. In 8085 microprocessor, the address for ‘TRAP’ interrupt is
a. 0024 H
b. 002C H
c. 0034 H
d. 003C H
Answer. a
52. A ‘DAD H” instruction is the same as shifting each bit by one position to the
a. left
b. right
c. left with a zero inserted in LSB position
d. right with a zero inserted in LSB position
Answer. c
53. When a program is being executed in an 8085 microprocessor, its program
counter contains
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a.
the memory address as the instruction that is to be executed next.
b.
the memory address of the instruction that is being currently matched.
c.
the total number of instructions in the program being executed.
d.
the number of instructions in the current program that have already been
executed.
Answer. a
54. Which of the following data transfer is not possible in microprocessor?
a. Memory to accumulator
b. Accumulator to memory
c. Memory to memory
d. I/O device to accumulator
Answer. c
55. LOADER is a program that
a. loads the memories and generates a hex file
b. loads the hex file and converts to the executable file
c. loads the COM file and generates the binary code
d. loads English like command and generates the binary code
Answer. b
56. Which of the following instructions is closest match to the instruction POP
PC?
a. RET
b. PCHL
c. POP PSW
d. DAD SP
Answer. a
57. How many machine cycles are required by STA instruction?
a. 2
b. 3
c. 4
d. 5
Answer. c
58. Which of the following 8085 instruction will require maximum T-states for
execution?
a. XRI byte
b. STA address
c. CALL address
d. JMP address
Answer. c
59. In 8085 microprocessor, which mode of addressing does the instruction CMP
M use?
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. Direct addressing
b. Register addressing
c. Indirect addressing
d. Immediate addressing
Answer. c
60. With reference to 8085 microprocessor, which of the following statements
are correct?
1. INR is 1 byte instruction
2. OUT is 2 byte instruction
3. STA is 3 byte instruction
a. 1 and 2 only
b. 2 and 3 only
c. 1 and 3 only
d. 1, 2 and 3
Answer. d
61. Assume that the accumulator and the register C of 8085 microprocessor
contain respectively F0 H
and OF H initially. What will be the content of accumulator after execution of
instruction ADD C?
a. 00 H
b. FF H
c. EF H
d. FE H
Answer. b
62. It is desired to multiply the numbers 0A H by OB H and store the result in the
accumulator. The numbers are available in registers B and C respectively. A part
of the 8085 program for this purpose is given below:
MVI A, OO H
Loop; ………..
………..
………..
HLT END
The sequence of instruction to complete the program would be
a. JNZ LOOP; ADD B, DCR C
63. Find the content of the accumulator after the execution of the following
program:
MVI A, F0 H
ORI FF H
XRI F0 H
a. 00 H
b. F0 H
c. 0F H
d. FF H
Answer. c
64. The following program starts at location 0100 H
LXI SP, 00FF
LXI H, 0701 H
MVI A, 20 H
SUB M
The content of accumulator when the program counter reaches 0107 H is
a. 20 H
b. 02 H
c. 00 H
d. FF H
Answer. c
65. The difference between 8085 instructions RST n and PCHL is
a. RST n is equivalent to a sub-routine call while PCHL is equivalent to
unconditional branch.
b. RST n uses direct addressing while PCHL uses register indirect addressing.
c. RST n is a software interrupt while PCHL simulates a hardware interrupt
d. RST n resets the processor while PCHL restarts the processor.
Answer. a
66. The content of accumulator are 70 H. Initially all flags are zero. What will be
values of CY and S after executing instruction RLC?
a. CY = 0 and S = 0
b. CY = 1 and S = 1
c. CY = 1 and S = 0
d. CY = 0 and S = 1
Answer. d
67. A software delay subroutine is written as given below:
DELAY: MVI H, 255D H
MVI L, 255D H
LOOP: DCR L
JNZ LOOP
DCR H
JNZ LOOP
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. 255
b. 510
c. 65025
d. 65279
Answer. d
68. What is content of accumulator of 8085 microprocessor after the execution of
XRI F0 H instruction?
a. Only the upper nibble of accumulator is complemented
b. Only the lower nibble is complemented
c. Only the upper nibble is reset to zero
d. Only the lower nibble is reset to zero
Answer. a
69. The 8085 programming manual says that it takes seven T states to fetch and
execute the MOV instruction. If the system clock has a frequency of 2.5 MHz, how
long is an instruction Cycle?
a. 2.8 s
b. 2.5ns
c. 2.8 ns
d. 2.8 μs
Answer. d
70. The instruction PCHL, in 8085 is used for
a. STA address
b. LDAX B
c. LHLD address
d. LDA address
Answer. a
72. The instruction that exchanges top of stack with HL pair is
a. XTHL
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
b. SPHL
c. PUSH H
d. POP H
Answer. a
73. In 8085 microprocessor, during PUSH PSW Operation, Stack pointer is
a. Decremented by one
b. Decremented by two
c. Incremented by one
d. Incremented by two
Answer. b
74. While a program is being executed in an Intel 8085 microprocessor, the
program counter of the microprocessor contains:
a. The memory address of the instruction that is being currently executed.
b. The memory address of the instruction that is to be executed next.
c. The number of instructions that have already been executed.
d. The total number of instructions in the current program still to be
executed.
Answer. b
75. The description of a program counter (PC) in 8085 microprocessor is
a. An up/down counter
b. An 8-bit register
c. Initialized automatically by microprocessor
d. Used to point to stack memory area
Answer. c
76. If the status of the control lines SI and SO is LOW, then 8085 microprocessor
is performing
a. Reset operation
b. HOLD operation
c. Halt operation
d. Interrupt acknowledge
Answer. c
77. LXI SP, 7FFF H
MVI A, 25 H
XRI 02 H
PUSH PSW
POP H
MOV A,L
ORI 10 H
HLT
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
What are the contents of A, H, L, SP and PSW registers after executing the above
set of instructions? Assume undefined flags always remain clear.
a. 10H, 25H, 00H, 7FFFH, 00H respectively
b. 14H, 27H, 04H, 7FFFH, 04H respectively
c. 14H, 25H, 00H. 7FFFH, 04H respectively
d. 10H, 27H, 04H, 7FFFH, 00H respectively
Answer. b
78. The content of the programme counter of an 8085 microprocessor is
a. the total number of instructions in the program already executed.
a. ADI
b. ACI
c. ADC
d. ADD
Answer. b
80. MVI A, AA H
ORI FFH
RRC
RRC
CMC
INR A
What are the contents of A and PSW registers after executing the above set of
instructions in sequence?
a. AAH and 00H
b. FFH and 66H
c. 00H and 54H
d. 00H and 00H
Answer. c
81. For which one of the following, the instruction XRA A in 8085 microprocessor
can be used?
a. Set the carry flag
b. Set the zero flag
c. Reset the carry flag and clear the accumulator
d. Transfer FFH to the accumulator
Answer. b
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer. b
85. When the operand requires for instruction is stored inside the processor, then
What this addressing mode is called?
a. Direct
b. Register
c. Implicit
d. Immediate
Answer. b
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
86. Which one of the following addressing technique is not used in 8085
microprocessor?
a. Register
b. Immediate
c. Register indirect
d. Relative
Answer. d
87. In an instruction of 8085 microprocessor, how many bytes are present?
a. One or two
b. One, two or three
c. One only
d. Two or three
Answer. b
88. Which one is the indirect addressing mode in the following instructions?
a. LXI H 2050 H
b. MOV A, B
c. LDAX B
d. LDA 2050 H
Answer. c
89. The addressing mode used in the instruction JMP F347 H in case of an Intel
8085A microprocessor is which one of the following?
a. Direct
b. Register—indirect
c. Implicit
d. Immediate
Answer. d
90. Carry flag is not affected after the execution of
a. ADD B
b. SBB B
c. INR B
d. ORA B
Answer. c
91. The contents of the Program Counter (PC), when the microprocessor is
reading from 2FFF H memory location, will be
a. 2FFE H
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
b. 2FFF H
c. 3000 H
d. 3001 H
Answer. c
92. If the HLT instruction of an Intel 8085A microprocessor is executed
a. the microprocessor is disconnected from the system bus till the RESET is
pressed.
b. the microprocessor halts the execution of the program and returns to the
monitor.
c. the microprocessor enters into a HALT state and the buses are tri-stated.
d. the microprocessor reloads the program counter from the locations 0024 H
and 0025 H.
Answer. c
93. The stack pointer of an 8085 A microprocessor contains ABCD H.
PUSH PSW
XTHL
PUSH D
JMP EC75 H
At the end of the execution of the above instructions, what would be the content
of the stack pointer?
a. ABCB H
b. ABCA H
c. ABC9 H
d. ABC8 H
Answer. c
94. In an Intel 8085 A, what is the content of the Instruction Register (IR)?
Answer. c
96. Which one of the following statement does not describe
property/characteristic of a stack pointer register in 8085 microprocessor?
a. MVI A
b. LDAX B
c. JMP 2050 H
d. MOV A,M
Answer. c
98. In 8085, the DAA instruction is used for
UNIT-4
ANS: B
ANS: C
ANS: C
4) How many memory locations are required to store the instruction LXIH,
0800H in an 8085 assembly language program?
A) 1
B) 2
C) 3
D) 4
ANS: B
ANS: A
6) In 8085 microprocessor, the value of the most significant bit of the result
following the execution of any arithmetic or Boolean instruction is stored in
the
A) carry status flag
B) auxiliary carry status flag
C) sign status flag
D) zero status flag
ANS: C
ANS: B
ANS: C
Answer: c
Clarification: An assembler is a software used to convert the programs into
machine instructions.
12) The instructions like MOV or ADD are called as ______
a) OP-Code
b) Operators
c) Commands
d) None of the mentioned
Answer: a
Clarification: This OP – codes tell the system what operation to perform on the
operands.
13) The alternate way of writing the instruction, ADD #5,R1 is ______
a) ADD [5],[R1];
b) ADDI 5,R1;
c) ADDIME 5,[R1];
d) There is no other way
Answer: b
Clarification: The ADDI instruction, means the addition is in immediate
addressing mode.
14) Instructions which won’t appear in the object program are called as
_____
a) Redundant instructions
b) Exceptions
c) Comments
d) Assembler Directives
Answer: d
Clarification: The directives help the program in getting compiled and hence
won’t be there in the object code.
15) The assembler directive EQU, when used in the instruction: Sum EQU
200 does ________
a) Finds the first occurrence of Sum and assigns value 200 to it
b) Replaces every occurrence of Sum with 200
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: b
Clarification: This basically is used to replace the variable with a constant value.
16) The purpose of the ORIGIN directive is __________
a) To indicate the starting position in memory, where the program block is
to be stored
b) To indicate the starting of the computation code
c) To indicate the purpose of the code
d) To list the locations of all the registers used
Answer: a
Clarification: This does the function similar to the main statement.
17) The directive used to perform initialization before the execution of
the code is ______
a) Reserve
b) Store
c) Dataword
d) EQU
Answer: c
Clarification: None.
18) _____ directive is used to specify and assign the memory required for
the block of code.
a) Allocate
b) Assign
c) Set
d) Reserve
Answer: d
Clarification: This instruction is used to allocate a block of memory and to store
the object code of the program there.
19) _____ directive specifies the end of execution of a program.
a) End
b) Return
c) Stop
d) Terminate
Answer: b
Clarification: This instruction directive is used to terminate the program
execution.
20) The last statement of the source program should be _______
a) Stop
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
b) Return
c) OP
d) End
Answer: d
Clarification: This enables the processor to load some other process.
21) When dealing with the branching code the assembler ___________
a) Replaces the target with its address
b) Does not replace until the test condition is satisfied
c) Finds the Branch offset and replaces the Branch target with it
d) Replaces the target with the value specified by the DATAWORD directive
Answer: c
Clarification: When the assembler comes across the branch code, it immediately
finds the branch offset and replaces it with it.
22) The assembler stores all the names and their corresponding values in
______
a) Special purpose Register
b) Symbol Table
c) Value map Set
d) None of the mentioned
Answer: b
Clarification: The table where the assembler stores the variable names along with
their corresponding memory locations and values.
23) The assembler stores the object code in ______
a) Main memory
b) Cache
c) RAM
d) Magnetic disk
Answer: d
Clarification: After compiling the object code, the assembler stores it in the
magnetic disk and waits for further execution.
24) The utility program used to bring the object code into memory for
execution is ______
a) Loader
b) Fetcher
c) Extractor
d) Linker
Answer: a
Clarification: The program is used to load the program into memory.
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: d
Clarification: This creates entries into the symbol table first and then creates the
object code.
26) In 8085 microprocessor, the address for ‘TRAP’ interrupt is
a. 0024 H
b. 002C H
c. 0034 H
d. 003C H
Answer. a
27) A ‘DAD H” instruction is the same as shifting each bit by one position
to the
a. left
b. right
c. left with a zero inserted in LSB position
d. right with a zero inserted in LSB position
Answer. c
28) When a program is being executed in an 8085 microprocessor, its
program counter contains
a. the memory address as the instruction that is to be executed next.
b. the memory address of the instruction that is being currently matched.
c. the total number of instructions in the program being executed.
d. the number of instructions in the current program that have already been
executed.
Answer. a
29) Which of the following data transfer is not possible in
microprocessor?
a. Memory to accumulator
b. Accumulator to memory
c. Memory to memory
d. I/O device to accumulator
Answer. c
30) LOADER is a program that
a. loads the memories and generates a hex file
b. loads the hex file and converts to the executable file
c. loads the COM file and generates the binary code
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. 20 H
b. 02 H
c. 00 H
d. FF H
Answer. c
40) The difference between 8085 instructions RST n and PCHL is
a. RST n is equivalent to a sub-routine call while PCHL is equivalent to
unconditional branch.
b. RST n uses direct addressing while PCHL uses register indirect addressing.
c. RST n is a software interrupt while PCHL simulates a hardware interrupt
d. RST n resets the processor while PCHL restarts the processor.
Answer. a
41) The content of accumulator are 70 H. Initially all flags are zero. What
will be values of CY and S after executing instruction RLC?
a. CY = 0 and S = 0
b. CY = 1 and S = 1
c. CY = 1 and S = 0
d. CY = 0 and S = 1
Answer. d
42) A software delay subroutine is written as given below:
DELAY: MVI H, 255D H
MVI L, 255D H
LOOP: DCR L
JNZ LOOP
DCR H
JNZ LOOP
How many times DCR instruction will be executed?
a. 255
b. 510
c. 65025
d. 65279
Answer. d
43) What is content of accumulator of 8085 microprocessor after the
execution of XRI F0 H instruction?
a. Only the upper nibble of accumulator is complemented
b. Only the lower nibble is complemented
c. Only the upper nibble is reset to zero
d. Only the lower nibble is reset to zero
Answer. a
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
44) The 8085 programming manual says that it takes seven T states to
fetch and execute the MOV instruction. If the system clock has a frequency
of 2.5 MHz, how long is an instruction Cycle?
a. 2.8 s
b. 2.5ns
c. 2.8 ns
d. 2.8 μs
Answer. d
45) The instruction PCHL, in 8085 is used for
a. STA address
b. LDAX B
c. LHLD address
d. LDA address
Answer. a
47) The instruction that exchanges top of stack with HL pair is
a. XTHL
b. SPHL
c. PUSH H
d. POP H
Answer. a
48) In 8085 microprocessor, during PUSH PSW Operation, Stack pointer
is
a. Decremented by one
b. Decremented by two
c. Incremented by one
d. Incremented by two
Answer. b
49) While a program is being executed in an Intel 8085 microprocessor,
the program counter of the microprocessor contains:
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
UNIT-5
1. The block of 8237 that decodes the various commands given to the 8237 by the
CPU is
a) timing and control block
b) program command control block
c) priority block
d) none of the mentioned
Answer: b
Explanation: The program control block decodes various commands given to the
8237 by the CPU before servicing a DMA request.
2. The priority between the DMA channels requesting the services can be
resolved by
a) timing and control block
b) program command control block
c) priority block
d) none of the mentioned
Answer: c
Explanation: The priority encoder block resolves the priority between the DMA
channels requesting the services.
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: b
Explanation: The current address register holds the current memory address. The
current address register is accessed during the DMA transfer.
4. The register that holds the data byte transfers to be carried out is
a) current word register
b) current address register
c) base address register
d) command register
Answer: a
Explanation: The current word register is a 16-bit register that holds the data
transfers. The word count is decremented after each transfer, and the new value
is stored again in the register.
5. When the count becomes zero in the current word register then
a) Input signal is enabled
b) Output signal is enabled
c) EOP (end of process) is generated
d) Start of process is generated
Answer: c
Explanation: When the count becomes zero, the EOP signal is generated. This can
be written in successive bytes by the CPU, in program mode.
Answer: c
Explanation: The contents of base address register cannot be read by the CPU.
These contents are used internally for auto-initialization.
8. The register that maintains an original copy of the respective initial current
address register and current word register is
a) mode register
b) base address register
c) command register
d) mask register
Answer: b
Explanation: The base address register maintains an original copy of the current
address register and current word register, before incrementing or
decrementing.
Answer: d
Explanation: The address is automatically incremented or decremented after
each DMA transfer, and the resulting address value is again stored in the current
address register.
Answer: d
Explanation: Memory read, memory write and verify transfer are the three types
of DMA transfer.
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
a. 24
b. 20
c. 32
d. 40
Answer: d. 40
Question 2: In which mode do all the Ports of the 8255 PPI work as Input-Output
units for data transfer?
a. BSR mode
b. Mode 0 of I/O mode
c. Mode 1 of I/O mode
d. Mode 2 of I/O mode
Question 3: Which of the following pins are responsible for handling the on the
Read Write control logic unit of the 8255 PPI?
a. CS'
b. RD'
c. WR'
d. ALL of the above
a. BSR mode
b. Mode 0 of I/O mode
c. Mode 1 of I/O mode
d. Mode 2 of I/O mode
Question 5: How many bits of data can be transferred between the 8255 PPI and
the interfaced device at a time? or What is the size of internal bus of the 8255
PPI?
a. 16 bits
b. 12 bits
c. 8 bits
d. None of the above
Answer: c. 8 bits
Question 6: Which port of the 8255 PPI is capable of performing the handshaking
function with the interfaced devices?
a. Port A
b. Port B
c. Port C
d. All of the above
Answer: c. Port C
Question 7: In which of the following modes of the 8255 PPI, only port C is taken
into consideration?
a. BSR mode
b. Mode 0 of I/O mode
c. Mode 1 of I/O mode
d. Mode 2 of I/O mode
Question 8: In mode 2 of I/O mode, which of the following ports are capable of
transferring the data in both the directions?
a. Port A
b. Port B
c. Port C
d. All of the above
Answer: a. Port A
Question 9: In which of the following modes we do not consider the D6, D5 and
D4 bits of the control word?
a. BSR mode
b. Mode 0 of I/O mode
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Question 10: How many data lines in total are there in the 8255 PPI IC?
a. 8 data lines
b. 32 data lines
c. 24 data lines
d. None of the above
1. The number of counters that are present in the programmable timer device
8254 is
a) 1
b) 2
c) 3
d) 4
Answer: c
Explanation: There are three counters that can be used as either counters or
delay generators.
Answer: b
Explanation: The control word register can only be written and cannot be read.
3. The mode that is used to interrupt the processor by setting a suitable terminal
count is
a) mode 0
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
b) mode 1
c) mode 2
d) mode 3
Answer: a
Explanation: Mode 0 is also called as an interrupt on the terminal count.
4. In mode 2, if N is loaded as the count value, then after (N-1) cycles, the output
becomes low for
a) 1 clock cycle
b) 2 clock cycles
c) 3 clock cycles
d) 4 clock cycles
Answer: a
Explanation: After (N-1) cycles, the output becomes low for only 1 clockcycle. If
the count N is reloaded and again the output becomes high and remains so for (N-
1) clock pulses.
Answer: c
Explanation: When the count N loaded is even, then for half of the count, the
output remains high and for the remaining half it remains low. If the count loaded
is odd, the first clock pulse decrements it by 1 resulting in an even count value.
6. In control word register, if SC1=0 and SC0=1, then the counter selected is
a) counter 0
b) counter 1
c) counter 2
d) none
Answer: b
Explanation: SC denotes select counter.
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: c
Explanation: To access 16 bit, first LSB is loaded first, and then MSB.
Answer: b
Explanation: If BCD=0 then hexadecimal count. If BCD=1, then the operation is
BCD count.
Answer: b
Explanation: If the GATE signal is enabled, then the counter starts counting.
Answer: d
Explanation: The control word register contents are used for
i) initializing the operating modes (mode 0-mode 4)
ii) selection of counters (counter0-counter2)
iii) choosing binary or BCD counters
iv) loading of the counter registers.
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: c
Explanation: The processor 8085 has five hardware interrupt pins. Out of these
five, four pins were alloted fixed vector addresses but the pin INTR was not
alloted by vector address, rather an external device was supposed to hand over
the type of the interrupt to the microprocessor.
2. The register that stores all the interrupt requests in it in order to serve them
one by one on a priority basis is
a) Interrupt Request Register
b) In-Service Register
c) Priority resolver
d) Interrupt Mask Register
Answer: a
Explanation: The interrupts at IRQ input lines are handled by Interrupt Request
Register internally.
3. The register that stores the bits required to mask the interrupt inputs is
a) In-service register
b) Priority resolver
c) Interrupt Mask register
d) None
Answer: c
Explanation: Also, Interrupt Mask Register operates on IRR(Interrupt Request
Register) at the direction of the Priority Resolver.
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: d
Explanation: The interrupt control logic performs all the operations that are
involved within the interrupts like accepting and managing interrupt
acknowledge signals, interrupts.
Answer: d
Explanation: A single 8259A provides 8 vectored interrupts. In cascade mode, 64
vectored interrupts can be provided.
6. When the PS(active low)/EN(active low) pin of 8259A used in buffered mode,
then it can be used as a
a) input to designate chip is master or slave
b) buffer enable
c) buffer disable
d) none
Answer: b
Explanation: When the pin is used in buffered mode, then it can be used as a
buffer enable to control buffer transreceivers. If it is not used in buffered mode,
then the pin is used as input to designate whether the chip is used as a master or
a slave.
Answer: d
Explanation: The initialization procedure involves
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: b
Explanation: When non-specific EOI command is issued to 8259A it will
automatically reset the highest ISR.
9. In the application where all the interrupting devices are of equal priority, the
mode used is
a) Automatic rotation
b) Automatic EOI mode
c) Specific rotation
d) EOI
Answer: a
Explanation: The automatic rotation is used in the applications where all the
interrupting devices are of equal priority.
Answer: c
Explanation: Basically, there are three modes of data transmission. simplex,
duplex and half duplex.
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
Answer: a
Explanation: In simplex mode, the data transmission is unidirectional. For
example, a CPU may transmit data for a CRT display unit in this mode.
3. If the data transmission takes place in either direction, but at a time data may
be transmitted only in one direction then, it is of
a) simplex mode
b) duplex mode
c) semi duplex mode
d) half duplex mode
Answer: d
Explanation: In half duplex mode, data transmission is bidirectional but not at a
time. For example, Walkie-Talkie.
4. In 8251A, the pin that controls the rate at which the character is to be
transmitted is
a) TXC(active low)
b) TXC(active high)
c) TXD(active low)
d) RXC(active low)
Answer: a
Explanation: Transmitter Clock Input (TXC(active low)) is a pin that controls the
rate at which the character is to be transmitted.
Answer: d
Explanation: Transmitted Data Output pin carries a serial stream of the
Allenhouse Institute of Technology (UPTU Code [Link]
: 505)
Rooma, Kanpur – 208 008
transmitted data bits along with other information like start bits, stop bits and
parity bits etc.
6. The signal that may be used either to interrupt the CPU or polled by the CPU is
a) TXRDY(Transmitter ready)
b) RXRDY(Receiver ready output)
c) DSR(active low)
d) DTR(active low)
Answer: b
Explanation: RXRDY(Receiver ready output) may be used either to interrupt the
CPU or polled by the CPU.
Answer: d
Explanation: RS232C has been used for long and has a few disadvantages like
limited speed of communication, high-voltage level signaling and big-size
communication adapters.
Answer: d
Explanation: The USB standards support the signaling rates. Also, USB signaling is
implemented in a differential in low- and full-speed options.
9. The bit packet that commands the device either to receive data or transmit
data in transmission of USB asynchronous communication is
a) Handshake packet
b) Token packet
c) PRE packet
d) Data packet









