Quiz Questions On Unit 2 Microcontroller (8051)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

QUIZ QUESTIONS ON

UNIT 2 MICROCONTROLLER (8051)

1. What do you mean by micro in microcontroller?


a) Distance between 2 IC’s
b) Distance between 2 transistors
c) Size of a controller
d) Distance between 2 pins

2. What is the bit size of the 8051 microcontroller?


a) 8-bit
b) 4-bit
c) 16-bit
d) 32-bit

3. Name the architecture and the instruction set for microcontroller?


a) Van- Neumann Architecture with CISC Instruction Set
b) Harvard Architecture with CISC Instruction Set
c) Van- Neumann Architecture with RISC Instruction Set
d) Harvard Architecture with RISC Instruction Set

4. Number of I/O ports in the 8051 microcontroller?


a) 3 ports
b) 4 ports
c) 5 ports
d) 4 ports with last port having 5 pins

5. Is ROM is used for storing data storage?


a) True
b) False

6. SCON in serial port is used for which operation?


a) Transferring data
b) Receiving data
c) Controlling
d) Controlling and transferring
7. Program counter stores what?
a) Address of before instruction
b) Address of the next instruction
c) Data of the before execution to be executed
d) Data of the execution instruction

8. Auxiliary carry is set during which condition?


a) When carry is generated from D3 to D4
b) When carry is generated from D7
c) When carry is generated from both D3 to D4 and D7
d) When carry is generated at either D3 to D4 or D7

9. What is order of the assembly and running 8051 program?


i) Myfile.asm
ii) Myfile.lst
iii) Myfile.obj
iv) Myfile.hex
a) i,ii,iii,iv
b) ii,iii,I,iv
c) iv,ii,I,iii
d) iii,ii,I,iv

10. How many interrupts are there in micro controller?


a) 3
b) 6
c) 4
d) 5

11. Timer 0 is a ________ bit register.


a) 32-bit
b) 8-bit
c) 16-bit
d) 10-bit
QUIZ QUESTIONS ON

UNIT 3 MICROCONTROLLER (8051)

1. Number of pins in 8051 microcontroller with ________ package.


a) 40 pin with LLC
b) 60 Pin with QFP
c) 40 pin with DIP
d) 60 pin with QFP

2. Which timer register has both timers in it?


a) TMOD
b) TCON
c) Both TMOD and TCON
d) Neither TMOD nor TCON

3. Which is the operation for mode 3?


a) 13-bit timer mode, 8-bit timer/counter THx and TLx as 5-bit prescalar
b) 16-bit timer mode, 16-bit timer/counter THx and TLx are cascaded, no prescalar
c) 8-bit auto reload mode, 8-bit auto reload time/counter; THx holds a value which is to be
reloaded into TLx each time it overflows
d) Spilt timer mode

4. Function of IE1 in TCON register?


a) External interrupt 1 Edge flag. Not related to timer operations
b) External interrupt 1 Edge flag. Not related to timer operations
c) External interrupt 0 single type control bit
d) External interrupt 1 to be triggered by a falling edge signal

5. What is the minimum no of cycles required for reset operation?


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

6. PSEN stands for ________


a) Program Select Enable
b) Peripheral Store Enable
c) Program Store Enable
d) Peripheral Select Enable
7. Find the machine cycle for AT89C51 if XTAL = 11.0592MHz.
a) 90.42us
b) 361.68us
c) 1.085us
d) 150.145us

8. What is the operation for mode 0?


a) 13-bit timer mode, 8-bit timer/counter THx and TLx as 5-bit prescalar
b) 16-bit timer mode, 16-bit timer/counter THx and TLx are cascaded, no prescalar
c) 8-bit auto reload mode, 8-bit auto reload time/counter; THx holds a value which is to be
reloaded into TLx each time it overflows
d) Spilt timer mode

9. What is the operation for mode 1?


a) 13-bit timer mode, 8-bit timer/counter THx and TLx as 5-bit prescalar
b) 16-bit timer mode, 16-bit timer/counter THx and TLx are cascaded, no prescalar
c) 8-bit auto reload mode, 8-bit auto reload time/counter; THx holds a value which is to be
reloaded into TLx each time it overflows
d) Spilt timer mode

10. Which is the operation for mode 2?


a) 13-bit timer mode, 8-bit timer/counter THx and TLx as 5-bit prescalar
b) 16-bit timer mode, 16-bit timer/counter THx and TLx are cascaded, no prescalar
c) 8-bit auto reload mode, 8-bit auto reload time/counter; THx holds a value which is to be
reloaded into TLx each time it overflows
d) Spilt timer mode
QUIZ QUESTIONS ON

UNIT 4 MICROCONTROLLER INTERPHASING

1. How many rows and columns are present in a 16*2 alphanumeric LCD?
a) rows=2, columns=32
b) rows=16, columns=2
c) rows=16, columns=16
d) rows=2, columns=16

2. How many data lines are there in a 16*2 alphanumeric LCD?


a) 16
b) 8
c) 1
d) 0

3. Which pin of the LCD is used for adjusting its contrast?


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

4. For writing commands on an LCD, RS bit is


a) set
b) reset
c) set & reset
d) none of the mentioned

5. Which command of an LCD is used to shift the entire display to the right?
a) 0x1C
b) 0x18
c) 0x05
d) 0x07

6. Which command is used to select the 2 lines and 5*7 matrix of an LCD?
a) 0x01
b) 0x06
c) 0x0e
d) 0x38
7. What changes are to be made to send data to an LCD?
a) set the R/W bit
b) set the E bit
c) set the RS bit
d) all of the mentioned

8. For reading operation from an LCD what changes in the software are introduced?
a) low to high pulse at E pin
b) R/W pin is set high
c) low to high pulse at E pin & R/W pin is set high
d) none of the mentioned

9. Which pins of a microcontroller are directly connected with 8255?


a) RD
b) WR
c) D0-D7
d) all of the mentioned

10 Find the control word for PA= out, PB= in, PCL=out, PCH=out (Mode0)?
a) 0xF0H
b) 0xF2H
c) 0xF4H
d) 0xFFH

11. Which pins are used to select the ports and the control register?
a) CS
b) A1
c) A0
d) All of the mentioned

12. What is the value of the control register when RESET button is set to zero?
a) 0x00H
b) 0xFFH
c) 0x11H
d) value remains the same as was before the RESET button was set to zero

13 Why MOVX instruction is being used to access the ports of the 8255?
a) because 8255 is used to access the memory mapped I/O
b) because 8255 is used to access the external communication
c) because 8255 is used to access the data transfer
d) because 8255 is used to access the interfacing of LCD, motor etc
QUIZ QUESTIONS ON

UNIT1 TRANSMISSION LINES

1. Which of the following parameters is not a primary parameter?


a) Resistance
b) Attenuation constant
c) Capacitance
d) Conductance

2. The networks in which the R, L, C parameters are individually concentrated or lumped at


discrete points in the circuit are called
a) Lumped
b) Distributed
c) Parallel
d) Paired

3. The lines having R, L, C distributed along the circuit are called


a) Lumped
b) Distributed
c) Parallel
d) Paired

4. Which primary parameter is uniformly distributed along the length of the conductor?
a) G
b) C
c) L
d) R

5. The primary parameter that is associated with the magnetic flux linkage is
a) R
b) L
c) C
d) G

6. The primary parameter that is associated with the electric charges is


a) G
b) R
c) C
d) L
7. The leakage current in the transmission lines is referred to as the
a) Resistance
b) Radiation
c) Conductance
d) Polarisation

8. Find the receiving impedance of a transmission line having a voltage of 24V and a conduction
current of 1.2A is
a) 25.2
b) 22.8
c) 28.8
d) 20

9. The characteristic impedance of a transmission line with impedance and admittance of 16 and
9 respectively is
a) 25
b) 1.33
c) 7
d) 0.75

10. The propagation constant of a transmission line with impedance and admittance of 9 and 16
respectively is
a) 25
b) 144
c) 12
d) 7

11. Find the characteristic impedance expression in terms of the inductance and capacitance
parameters.
a) Zo = √(LC)
b) Zo = LC
c) Zo = √(L/C)
d) Zo = L/C

12. When a transmission line has a load impedance same as that of the characteristic impedance,
the line is said to be
a) Parallel
b) Perpendicular
c) Polarized
d) Matched
13. The wavelength of a line with a phase constant of 6.28 units is
a) 2
b) 1
c) 0.5
d) 3.14

14. The wavelength of a wave with a frequency of 6 GHz in air is


a) 50
b) 5
c) 0.5
d) 0.05

15. The phase constant of a wave with a wavelength of 2 units is given by


a) 2
b) 3.14
c) 6.28
d) 1

16. The frequency of a wave travelling in a transmission line with velocity 4 x 108 and
wavelength 3 units is
a) 0.75 GHz
b) 0.133 GHz
c) 7.5 GHz
d) 1.33 GHz

17 The velocity and phase constant relation is given by


a) V = ω/β
b) V = ωβ
c) V = β/ω
d) Vωβ = 1

18. The unit of attenuation constant is


a) Decibel
b) Bel
c) Neper
d) No unit
QUIZ QUESTIONS ON

UNIT 2 Maxwell Equations

1. The first Maxwell law is based on which law?


a) Ampere law
b) Faraday law
c) Lenz law
d) Faraday and Lenz law

2. The benefit of Maxwell equation is that


a) Any parameter can be calculated
b) Antenna can be designed
c) Polarisation of the wave can be calculated
d) Transmission line constants can be found

3. Find the electric field applied on a system with electrons having a velocity 5m/s subjected to a
magnetic flux of 3.6 units.
a) 15
b) 18
c) 1.38
d) 0.72

4. The curl of the electric field intensity is


a) Conservative
b) Rotational
c) Divergent
d) Static

5. Which of the following identities is always zero for static fields?


a) Grad(Curl V)
b) Curl(Div V)
c) Div(Grad V)
d) Curl(Grad V)

6. Find the Maxwell first law value for the electric field intensity is given by A sin wt az
a) 0
b) 1
c) -1
d) A
7. The divergence of which quantity will be zero?
a) E
b) D
c) H
d) B

8. Find the charge density when the electric flux density is given by 2x i + 3y j + 4z k.
a) 10
b) 9
c) 24
d) 0

9. Find the Maxwell equation derived from Faraday’s law.


a) Div(H) = J
b) Div(D) = I
c) Curl(E) = -dB/dt
d) Curl(B) = -dH/dt

10. Find the Maxwell law derived from Ampere law.


a) Div(I) = H
b) Div(H) = J
c) Curl(H) = J
d) Curl(B) = D

11. The Faraday’s law states about which type of EMF?


a) Transformer EMF
b) Back EMF
c) Generator EMF
d) Secondary EMF

12. In which of the following forms can Maxwell’s equation not be represented?
a) Static
b) Differential
c) Integral
d) Harmonic
QUIZ QUESTIONS ON

UNIT 1 EMBEDDED SYSTEMS ARM

1. What is the processor used by ARM7?


a) 8-bit CISC
b) 8-bit RISC
c) 32-bit CISC
d) 32-bit RISC

2. What is the instruction set used by ARM7?


a) 16-bit instruction set
b) 32-bit instruction set
c) 64-bit instruction set
d) 8-bit instruction set

3. How many registers are there in ARM7?


a) 35 register( 28 GPR and 7 SPR)
b) 37 registers(28 GPR and 9 SPR)
c) 37 registers(31 GPR and 6 SPR)
d) 35 register(30 GPR and 5 SPR)

4. What is the capability of ARM7 f instruction for a second?


a) 110 MIPS
b) 150 MIPS
c) 125 MIPS
d) 130 MIPS

5. Which of the following has the same instruction set as ARM7?


a) ARM6
b) ARMv3
c) ARM71a0
d) ARMv4T

6. What are t, d, m, I stands for in ARM7TDMI?


a) Timer, Debug, Multiplex, ICE
b) Thumb, Debug, Multiplier, ICE
c) Timer, Debug, Modulation, IS
d) Thumb, Debug, Multiplier, ICE
9. ARM stands for _________
a) Advanced RISC Machine
b) Advanced RISC Methadology
c) Advanced Reduced Machine
d) Advanced Reduced Methadology

10. How many instructions pipelining is used in ARM7EJ-S?


a) 3-Stage
b) 4-Stage
c) 5-Stage
d)2-stage

11 How many bit data bus is used in ARM7EJ-s?


a) 32-bit
b) 16-bit
c) 8-bit
d) Both 16 and 32 bit
QUIZ QUESTIONS ON

UNIT 2 ARM INSTRUCTION SET

1. Using what the processor wake-up from power-down?


a) External Interrupts
b) Internal interrupts
c) Serial Programming
d) Program Counter

2 What is the flash memory for LPC2141?


a) 34kB
b) 32kB
c) 128kB
d) 256kB

3 What are the categories in the vectored interrupt controller?


a) Fast interrupt request
b) Non vectored interrupt request
c) Non-vectored IQR
d) Fast interrupt request, Non vectored interrupt request and Non-vectored IQR

5. What is pin connect block?


a) All pins are having a function without reserved
b) Some pins are Reserved
c) Pins have more than one function
d) Multiplexing of some pins

6. What is the size of ADC and DAC?


a) 16 bit
b) 10 bit
c) 8 bit
d) 32 bit

7. Which signal is used for pipelining on bis cycle in ARM710T?


a) BWAIT
b) BTRAN
c) BLOK
d) BCLK

You might also like