Featured

    Featured Posts

TYPICAL QUESTIONS & ANSWERS: Microprocessor Based System Design

TYPICAL MULTIPLE CHOICE QUESTIONS & ANSWERS: Microprocessor Based System Design

PART – I
Choose the correct or best alternative in the following:
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 t o 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  1 M 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 ยต .
AnsAnswer is (B)



Q.4   In a DMA write operation the data is transferred
(A)  from I/O to memory.  (B)  from memory to I/O.
(C)from memory to memory.  (D) from I/O to I/O.
AnsA 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 di stance is 0020 h bytes
(A)  near. (B) far.
(C)  short.  (D)  none of the above.
AnsThe three byte near jump allows a branch or jump within ± 32K bytes. Hence
answer is (A).

Q.6   A  certain  SRAM  has  0 CS = ,  0 WE =  and  1 OE = .   In  which  of  the  following
modes this SRAM is operating
(A)Read  (B) Write
(C)  Stand by  (D)  None of the above
Ans For CS’=WE’=0, write operation. Hence answer is (B).

Q.7  Which of the following is true with respect to EEPROM?  
(A)  contents can be erased byte wise only.
(B)  contents of full memory can be erased together.
(C)  contents can be erased using ultra violet rays
(D)  contents can not be erased
AnsAnswer is (C).

Q.8  Pseudo instructions are basically
(A)  false instructions.
(B)  instructions that are ignored by the microprocessor.
(C)assembler directives.
(D)instructions that are treated like comments.
Ans Pseudo-instructions  are  commands  to  the  assembler. All  pseudo-operations  start
with a period. Pseudo-instructions are composed of  a pseudo-operation which may be
followed by one or more expressions. Hence answer is (C).

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
AnsAnswer is (D)

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, Result is 1,0A. Hence answer is (A).

Q.11 Direction flag is used with
(A)  String instructions.  (B)Stack instructions.
(C)Arithmetic instructions.  (D)Branch instructions.
  AnsThe direction flag is used only with the string instructions. Hence answer is (A).

Q.12 Ready pin of a microprocessor is used
(A)  to indicate that the microprocessor is ready to receive inputs.
(B)  to indicate that the microprocessor is ready to receive outputs.
(C)  to introduce wait states.
(D)  to provide direct memory access.
AnsThis input is controlled to insert wait states into the timing of the microprocessor.
Hence answer is (C).

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 hasbeen enabled.
(C) When both (A)and (B)are true.
(D) When either (A) or (B) are true.
  AnsAnswer is (A)

Q.14 In the instruction FADD, F stands for
(A)  Far.  (B)Floppy.
(C)Floating.  (D) File.
  AnsAdds two floating point numbers. Hence answer is (C).

Q.15 SD RAM refers to
(A)  Synchronous DRAM  (B) Static DRAM
(C)Semi DRAM  (D) Second DRAM
Ans, Answer is (A)

Q.16 In case of DVD, the speed is referred in terms ofn 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
 AnsAnswer is (C).

Q.17 Itanium processor of Intel is a
(A)  32 bit microprocessor.  (B)64 bit microprocessor.
(C)128 bit microprocessor.  (D)256 bit microprocessor.
  AnsThe Itanium is a 64-bit architecture microprocessor. Hence answer is (B).

Q.18   LOCK prefix is used most often
(A)  during normal execution.  (B) during DMA accesses
  (C)  during interrupt servicing.  (D) during memory accesses.
AnsLOCK is a prefix which is used to make an instruction of 8086 non-interruptable.
Hence answer is (C).

Q.19 The Pentium microprocessor has______execution units.
(A)  1 (B) 2
  (C) 3  (D) 4
AnsThe Pentium microprocessor is organized with threeexecution units. One
executes floating-point instructions, and the othertwo (U-pipe and V-pipe) execute

integer instructions. Hence answer is (C).

Q.20   EPROM is generally erased by using
(A) Ultraviolet rays  (B)infrared rays
(C)12 V electrical pulse  (D) 24 V electrical pulse
AnsThe EPROM is erasable if exposed to high-intensityultraviolet light for about 20
minutes or less. Hence answer is (A)

Q.21Signal voltage ranges for a logic high and for alogic 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

AnsAnswer is (B)
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 PCIcontroller or bridge
(D)  All of the above
  Ans, Answer is (D).

Q.23 Which of the following statement is true?
(A)  The group of machine cycle is called a state.
(B)  A machine cycle consists of one or more instructioncycle.
(C)  An instruction cycle is made up of machine cycles and a machine cycle is
made up of number of states.
(D)  None of the above
  AnsAn 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
  AnsThe Intel 8251 is a programmable communication interface. It is USART.

Q.25   8088 microprocessor has
(A) 16 bit data bus  (B)4 byte pre-fetch queue
  (C)  6 byte pre-fetch queue  (D) 16 bit address bus
AnsThe 8088 is a 16-bit microprocessor with an 8-bit data bus. The 16-bit address
bus. Hence answer is (D).

Q.26By what factor does the 8284A clock generator divide the crystal oscillator’s output
frequency?
(A)One  (B)Two
(C)Three  (D)Four
AnsWhen F/C’ is at logic 0; The oscillator output is steered through to the divideby-3 counter. Hence answer is (c).
Q.27The memory data bus width in Pentium is
(A)16 bit  (B) 32 bit
(C)64 bit  (D)None of these
AnsThe Data bus width is 64 bits. 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
AnsA 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 andacknowledge 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).
Q.30Which of the following statement is false?
(A) RTOS performs tasks in predictable amount of time
(B) Windows 98 is RTOS
(C) Interrupts are used to develop RTOS
(D)Kernel is the one of component of any OS
AnsOperating systems, like Windows, defer many tasks and do not guarantee their
execution in predictable time. Hence answer is (B).
Q.31 The VESA local bus operates at
(A)8 MHz  (B) 33 MHz
(C)16 MHz  (D)None of these
AnsThe VESA local bus operates at 33 MHz. Hence answer is (B).
Q.32The first modern computer was called_____________.
(A)FLOW-MATIC  (B) UNIVAC-I
(C)ENIAC  (D)INTEL
Ans, ENIAC (Electronic Numerical Integrator And Computer) was the first generalpurpose electronic computer. It was a Turing-complete, digital computer capable of
being  reprogrammed  to  solve  a  full  range  of  computing  problems.  ENIAC  was
AC23  Microprocessor Based System Design
6
designed  to  calculate  artillery  firing  tables  for  the  U.S.  Army's  Ballistic  Research
Laboratory. Hence answer is (c).
Q.33Software command CLEAR MASK REGISTER in DMA
(A)Disables all channels.
(B) Enables all channels.
(C)None.
(D)Clears first/last flip-flop within 8237.
  AnsEnables all four DMA channels. Hence answer is (B).
Q.34The first task of DOS operating system after loading into the memory is to use the file
called___________.
(A)HIMEM.SYS  (B) CONFIG.SYS
(C)AUTOEXEC.BAT  (D)SYSTEM.INI
Ans, The first task of the DOS operating system, afterloading into memory, is to
use a file called the CONFIG.SYS 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).
Q.36 The flash memory is programmed in the system by 12 V programming pulse.
(A)TRUE  (B)FALSE
  AnsThe flash memory device requires a 12V programmingvoltage to erase and write
new data. Hence answer is (A).
Q.37A plug and play (PnP) interface is one that contains a memory that holds
configuration information of the system.
(A)TRUE  (B)FALSE
 AnsAnswer is (A)
Q.38 The accelerated graphics port (AGP) allows virtually any microprocessor to be
interfaced with PCI bus via the use of bridge interface.
(A)  TRUE  (B)FALSE
  Ans, this port probably will never be used for any devices other than the video card.
Hence answer is (B).
Q.39  A Bus cycle is equal to how many clocking periods
(A) Two   (B) Three
(C) Four   (D) Six
AC23  Microprocessor Based System Design
7
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).
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
AnsThe capacitor Cs discharges through the internal resistance of the NMOS transistor
T1. Typically Cs = 0.2 pF and the internal resistance Rin = 10
10
ohms, so:
Cs x Rin = 0.2 x 10
-12
x 10
10
x 10
3
ms = 2 ms
So the typical refresh time interval is 2 ms. HenceAnswer is (C).
Q.41  The no. of address lines required to address a memory of size 32 K is
(A) 15 lines   (B) 16 lines
(C) 18 lines   (D) 14 lines
Ans32K = 32 X 1024 bits = 2
5
X 2
10
= 2
15
Hence answer is ( A).
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
AnsTwo wait states used so that device can function with an 8 MHz. Hence answers is
( A).
Q.43  NMI input is
(A) Edge sensitive    (B) Level sensitive
(C) Both edge and level triggered  (D) edge triggered and level sensitive
AnsNon-maskable interrupt (NMI) is an edge –triggeredinput that requests an
interrupt on the positive edge (0 to 1 transition).
Q.44Data rate available for use on USB is
(A)12 Mbits per second  (B)1.5 Mbits per second
   (C)  Both (A)and (B)  (D)No restriction
  AnsData 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
AC23  Microprocessor Based System Design
8
Ans
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.47  What do the symbols [ ] indicate?
(A) Direct addressing  (B) Register Addressing
(C) Indirect addressing  (D) None of the above
AnsAnswer is (C).
Q.48  SDRAM refers to
(A) static DRAM   (B) synchronous DRAM
(C) sequential DRAM  (D) semi DRAM
Ans, Answer is (B)
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
AnsIn 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)


Post a Comment

www.CodeNirvana.in

Translate

Copyright © MCQ Blog | Blogger Templates | Designed By Code Nirvana