You are on page 1of 154

University of Pune, Online Examination System, Question Bank

Course
Id
Question The internal RAM memory of the 8051 is:
A 32 bytes

B 64 bytes

C 128 bytes

D 256 bytes

Answer C
Marks 1
Unit 1
Id
Question This program code will be executed continuously:
STAT: MOV A, #01H
JNZ STAT
A TRUE
B FALSE
C Can't say
D Data Incomplete
Answer A
Marks 2
Unit 1
Id
Question The 8051 has ________ 16-bit counter/timers.
A 1
B 2
C 3
D 4
Answer B
Marks 1
Unit 1
Id
Question The special function registers are maintained in the next 128 locations after the general-
purpose data storage and stack.
A TRUE
B FALSE
C Can't say
D Data incomplete
Answer A
Marks 2
Unit 1
Id
Question This statement will set the address of the bit to 1 (8051 Micro-controller):
SETB 01H
A TRUE
B FALSE
C Can't say
D Data incomplete
Answer B
Marks 2
Unit 1
Id
Question MOV A, @ R1 will:
A copy R1 to the accumulator
B copy the accumulator to R1
C copy the contents of memory whose address is in R1 to the accumulator
D copy the accumulator to the contents of memory whose address is in R1
Answer C
Marks 2
Unit 1
Id
Question Device pins XTAL1 and XTAL2 for the 8051 are used for connections to an external
oscillator or crystal.
A TRUE
B FALSE
C Can't say
D Data incomplete
Answer A
Marks 1
Unit 1
Id
Question An alternate function of port pin P3.4 in the 8051 is:

A Timer 0

B Timer 1

C Interrupt 0

D Interrupt 1
Answer A
Marks 2
Unit 1
Id
Question Both registers TL0 and TL1 are needed to start Timer 0
A TRUE
B FALSE
C Can't say
D Data incomplete
Answer B
Marks 2
Unit 2
Id
Question The I/O ports that are used as address and data for external memory are:
A ports 1 and 2
B ports 1 and 3
C ports 0 and 2
D ports 0 and 3
Answer C
Marks 2
Unit 1
Id
Question The last 96 locations in the internal data memory are reserved for general-purpose data
storage and stack.

A TRUE
B FALSE
C Can't say
D Data incomplete
Answer B
Marks 2
Unit 1
Id
Question Microcontrollers often have:
A CPUs
B RAM
C ROM
D All of above
Answer D
Marks 1
Unit 1
Id
Question The 8051 has ________ parallel I/O ports.
A 2
B 3
C 4
D 5
Answer C
Marks 1
Unit 1
Id
Question The total external data memory that can be interfaced to the 8051 is:
A 32K
B 64K
C 128K
D 256K
Answer B
Marks 2
Unit 1
Id
Question Which of the following instructions will load the value 35H into the high byte of timer 0?
A MOV TH0, #35H
B MOV TH0, 35H
C MOV T0, #35H
D MOV T0, 35H
Answer A
Marks 2
Unit 2
Id
Question Bit-addressable memory locations are:
A 10H to 1FH
B 20H to 2FH
C 30H to 3FH
D 40H to 4FH
Answer B
Marks 2
Unit 1
Id
Question The 16-bit address bus allows access to an address range of:
A 00 to FFH
B 0 to FH
C 000 to FFFH
D 0000 to FFFFH
Answer D
Marks 2
Unit 1
Id
Question The contents of the accumulator after this operation
MOV A,#0BH
ANL A,#2CH
will be
A 11010111
B 11011010
C 00101000
D 00001000
Answer D
Marks 2
Unit 1
Id
Question This program code will be executed once:
STAT: MOV A, #01H
JNZ STAT
A TRUE
B FALSE
C Can't Say
D Data Incomplete
Answer B
Marks 2
Unit 1
Id
Question Which of the following instructions will move the contents of register 3 to the
accumulator?
A MOV 3R, A
B MOV R3, A
C MOV A, R3
D MOV A, 3R
Answer C
Marks 1
Unit 1
Id
Question Which of the following statements will add the accumulator and register 3?
A ADD @R3, @A
B ADD @A, R3
C ADD R3, A
D ADD A, R3
Answer D
Marks 1
Unit 1
Id
Question Which of the following commands will move the number 27H into the accumulator?

A MOV A, P27
B MOV A, #27H
C MOV A, 27H
D MOV A, @27
Answer B
Marks 1
Unit 1
Id
Question The I/O port that does not have a dual-purpose role is:
A port 0
B port 1
C port 2
D port 3
Answer B
Marks 2
Unit 1
Id
Question The following command will copy the accumulator to the location whose address is 23H:
MOV 23H,A
A TRUE
B FALSE
C Can't Say
D Data Incomplete
Answer A
Marks 1
Unit 1
Id
Question The contents of the accumulator after this operation
MOV A,#2BH
ORL A,00H
will be:

A 1B H

B 2B H

C 3B H

D 4B H

Answer B
Marks 2
Unit 1
Id
Question The following program will cause the 8051 to be stuck in a loop:
LOOP: MOV A, #00H
JNZ LOOP

A TRUE
B FALSE
C Can't Say
D Data Incomplete
Answer B
Marks 2
Unit 1
Id
Question Which of the following commands will copy the contents of RAM whose address is in
register 0 to port 1?
A MOV @ P1, R0
B MOV @ R0, P1
C MOV P1, @ R0
D MOV P1, R0
Answer C
Marks 2
Unit 1
Id
Question Which of the following commands will copy the contents of location 4H to the
accumulator?
A MOV A, 04H

B MOV A, L4
C MOV L4, A
D MOV 04H, A
Answer A
Marks 2
Unit 1
Id
Question A HIGH on which pin resets the 8051 microcontroller?
A RESET
B RST
C PSEN
D RSET
Answer B
Marks 1
Unit 1
Id
Question An alternate function of port pin P3.1 in the 8051 is:

A serial port input

B serial port output


C memory write strobe
D memory read strobe
Answer B
Marks 2
Unit 1
Id
Question Which of the following instructions will move the contents of the accumulator to register
6?

A MOV 6R, A

B MOV R6, A

C MOV A, 6R

D MOV A, R6

Answer B
Marks 1
Unit 1
Id
Question The following command will rotate the 8 bits of the accumulator one position to the left:
RL A
A TRUE

B FALSE
C Can't Say
D Data Incomplete
Answer A
Marks 1
Unit 1
Id
Question An alternate function of port pin P3.0 (RXD) in the 8051 is:

A serial port input

B serial port output


C memory write strobe
D memory read strobe

Answer A
Marks 2
Unit 1
Id
Question The SFR which does not have any internal RAM address is _______ .
A Accumulator

B DPL
C DPH
D Program Counter
Answer D
Marks 1
Unit 1
Id
Question 8051 is ______ bit microcontroller.

A 4

B 8
C 16
D None of above

Answer B
Marks 1
Unit 1
Id
Question 8051 has ________ on-chip program memory & ______ on-chip data memory
respectively.

A 256 bytes, 2K bytes


B 2K bytes, 256 bytes
C 4K bytes, 128 bytes
D 128 bytes, 4K bytes
Answer C
Marks 2
Unit 1
Id
Question 8051 is ____ pin IC.
A 16
B 20

C 32
D 40
Answer D
Marks 1
Unit 1
Id
Question RST pin is active low pin
A TRUE

B FALSE
C Can't Say
D Data incomplete
Answer B
Marks 1
Unit 1
Id
Question After reset, SP will initialized to location ______

A 00 h
B 10 h
C 07 h
D None of above
Answer C
Marks 1
Unit 1
Id
Question After reset, DPTR will initialized to location ______

A 00 h

B FF h
C 0000 h
D FFFF h

Answer C
Marks 1
Unit 1
Id
Question In order for the RESET input to be effective, it must have a minimum duration of ___
machine cycles.
A 2

B 1
C 4
D 8

Answer A
Marks 2
Unit 1
Id
Question ALE pin is used for
A multiplexing the address bus
B Demultiplexing the address and data
C multiplexing the data bus
D decoding the address and data
Answer B
Marks 1
Unit 1
Id
Question Upon RESET, all the ports of 8051 are configured as _______

A output

B Input
C Unidirectional
D Bidirectional
Answer A
Marks 1
Unit 1
Id
Question The register used to access the stack is called _________

A Accumulator

B PSW
C SP
D none of above
Answer C
Marks 1
Unit 1
Id
Question The instruction used to write any data onto the stack is _______

A MOV

B PUSH
C POP
D None of above
Answer B
Marks 1
Unit 1
Id
Question To load the data from stack to CPU, the instruction used is

A SWAP

B PUSH
C POP
D None of above

Answer C
Marks 1
Unit 1
Id
Question To clear any particular bit, instruction used is
A CPL

B CLR
C SETB
D JNB
Answer B
Marks 1
Unit 1
Id
Question PSW stands for __________

A Program standard word

B Program status word


C Program select word
D None of abve
Answer B
Marks 1
Unit 1
Id
Question ____ flag of 8051 is set if there is an overflow out of bit 7.
A P
B OV
C CY
D AC
Answer C
Marks 1
Unit 1
Id
Question Bank 0 of register bank is selected when _________

A RS1 = 0, RS0 = 0

B RS1 = 1, RS0 = 0
C RS1 = 0, RS0 = 1
D RS1 = 1, RS0 = 1
Answer A
Marks 1
Unit 1
Id
Question Bank 1 of register bank is selected when _________

A RS1 = 0, RS0 = 0

B RS1 = 1, RS0 = 0
C RS1 = 0, RS0 = 1
D RS1 = 1, RS0 = 1
Answer C
Marks 4
Unit 1
Id
Question Bank 2 of register bank is selected when _________

A RS1 = 0, RS0 = 0

B RS1 = 1, RS0 = 0
C RS1 = 0, RS0 = 1
D RS1 = 1, RS0 = 1
Answer B
Marks 1
Unit 1
Id
Question Bank 3 of register bank is selected when _________

A RS1 = 0, RS0 = 0

B RS1 = 1, RS0 = 0
C RS1 = 0, RS0 = 1
D RS1 = 1, RS0 = 1
Answer D
Marks 1
Unit 1
Id
Question ____ flag of 8051 is set if there is an overflow out of bit 3.
A P
B OV
C CY
D AC
Answer D
Marks 1
Unit 1
Id
Question Parity flag is defined by number of ones present in the
A PC

B DPH

C Accumulator

D DPL

Answer C
Marks 1
Unit 1
Id
Question Address of accumulator in 8051 is ________

A 81 H

B 82 H
C E0 H
D F0 H
Answer C
Marks 1
Unit 1
Id
Question Pogram counter is _____ bit register.
A 2
B 4
C 8
D 16
Answer D
Marks 1
Unit 1
Id
Question All the I/O ports are _______
A Unidirectional
B Bidirectional
C Duplex
D Simplex
Answer B
Marks 1
Unit 1
Id
Question 8051 has a _______ program counter
A 8-bit
B 16-bit
C 12-bit
D 4-bit
Answer B
Marks 1
Unit 1
Id
Question PSW contains _______ mathematical flags.
A 2
B 4
C 6
D None of above
Answer B
Marks 1
Unit 1
Id
Question RAM is also known as
A Program Memory
B Code memory
C Data memory
D None of above
Answer C
Marks 1
Unit 1
Id
Question This bit is used to start or stop the timers by hardware
A TR0
B TR1
C TF0
D GATE
Answer D
Marks 1
Unit 2
Id
Question In timer, mode 0 is ______ Timer mode

A 4-bit

B 13-bit

C 8-bit

D 16-bit

Answer B
Marks 1
Unit 2
Id
Question In timer, mode 1 is ______ Timer mode

A 4-bit

B 13-bit

C 8-bit

D 16-bit

Answer D
Marks 1
Unit 2
Id
Question In timer, _________ is auto-reload mode

A Mode 0
B Mode 1
C Mode 2
D Mode 3
Answer C
Marks 1
Unit 2
Id
Question This pin is an active low pin
A EA
B XTAL 2
C XTAL 1
D None of above
Answer A
Marks 1
Unit 1
Id
Question This pin is connected to +5 volt DC supply
A RST
B GND
C ALE
D None of above
Answer D
Marks 1
Unit 1
Id
Question The 8051 microcontroller supports mainly ______ addressing modes
A 4
B 5
C 6
D 8
Answer B
Marks 1
Unit 1
Id
Question In which addressing mode, the data must be preceded by a # sign.
A Register addressing mode
B Register Indirect addressing mode
C Direct Addressing mode
D Immediate addressing mode
Answer D
Marks 1
Unit 1
Id
Question MOV A , # 27 H will move ____________
A The data 27 to the accumulator register
B The contents of location 27 H to accumulator
C The contents of accumulator to location 27 H
D None of above
Answer A
Marks 1
Unit 1
Id
Question ADD A, 56H will add _____________
A the data 56 to the accumulator
B the contents of the RAM location whose address is 56 H to the accumulator
C the contents of the RAM location 56 to the accumulator
D None of above
Answer C
Marks 2
Unit 1
Id
Question In which addressing mode, the sign @ is used.
A Register addressing mode
B Register Indirect addressing mode
C Direct Addressing mode
D Immediate addressing mode
Answer B
Marks 1
Unit 1
Id
Question Serial communication is generally used for __________ communication.
A Long distance
B Short distance
C Parallel
D All of above
Answer A
Marks 1
Unit 2
Id
Question speed of the ________ data transfer is extremely high
A Series
B Asynchronous
C Parallel
D synchronous
Answer C
Marks 1
Unit 2
Id
Question This type of communication is very expensive
A Series
B Asynchronous
C Parallel
D synchronous
Answer C
Marks 1
Unit 2
Id
Question The 8051 has two pins for transferring and receiving data by serial communication. These
two pins are part of the ____________
A Port 0
B Port 1
C Port 2
D Port 3
Answer D
Marks 2
Unit 2
Id
Question Serial communication is controlled by _________ register
A PCON
B TMOD
C TCON
D SCON
Answer D
Marks 1
Unit 2
Id
Question Parity flag is defined by number of ones present in the _________

A DPH
B Register B
C Accumulator
D DPL
Answer C
Marks 1
Unit 1
Id
Question When this bit is high,it allows the 8051 to receive data on the RxD pin.
A REN
B TI
C RI
D RD
Answer A
Marks 2
Unit 2
Id
Question 8051 has an accumulator of ____ bit
A 2
B 4
C 6
D 8
Answer D
Marks 1
Unit 1
Id
Question Special function registers are between _________ & __________

A 00 H, 1F H
B 20 H, 2F H
C 00 H, 7F H
D 80 H, FF H
Answer D
Marks 1
Unit 1
Id
Question Which of the following statements is true for 8051 microcontroller?
A It has same data & program memory
B It has separate data & program memory
C It has only data memory
D None of above
Answer B
Marks 1
Unit 1
Id
Question Which of the following statements is false for 8051 microcontroller?
A All 4 ports are bidirectional.
B All port pins are multiplexed except the pins of port1
C 8051 has unidirectional 4 ports namely port0, port1, port2, port3.
D All of the above
Answer C
Marks 1
Unit 1
Id
Question Each register bank has _______ registers
A 7
B 8
C 12
D 16
Answer B
Marks 1
Unit 1
Id
Question Each register bank has _______ registers
A 7
B 8
C 12
D 16
Answer B
Marks 1
Unit 1
Id
Question __________are used to move data between processor registers, memory and I / O devices
A Data transfer instructions
B Arithmetic Instruction
C Rotate Instruction
D Logical Instruction
Answer A
Marks 1
Unit 1
Id
Question ADDC A, # 23 H will __________
A Add the content of accumulator with 23 H data
B Add the content of 23H with accumulator
C Add the content of accumulator with 23 H data through carry.
D Add the content of accumulator with content of memory location 23 H
Answer C
Marks 2
Unit 1
Id
Question RR A instruction will _____________
A Copy LSB to MSB
B Content of accumulator get shifted to right direction by 1 bit
C Rotate the content of accumulator to right direction without carry.
D All of above
Answer D
Marks 2
Unit 1
Id
Question XCHD instruction will _____________
A Exchange the contents between two registers
B Exchange the content of specified register with that of accumulator
C Exchange least significant nibble of the specified registers
D None of above
Answer C
Marks 2
Unit 1
Id
Question SUBB A, R2 will ____________
A Subtract accumulator & register R2
B Subtract content of accumulator & content of register R2
C Subtract content of accumulator & content of register R2 through borrow
D All of above
Answer C
Marks 2
Unit 1
Id
Question SUBB A, R2 will ____________
A Subtract accumulator & register R2
B Subtract content of accumulator & content of register R2
C Subtract content of accumulator & content of register R2 through borrow
D All of above
Answer C
Marks 2
Unit 1
Id
Question After execution of DIV AB instruction, Accumulator hold _______ while register B holds
___________.
A Quotient, Reminder
B Reminder, Quotient
C Lower bytes of result, Higher bytes of result
D Higher bytes of result, Lower bytes of result
Answer A
Marks 2
Unit 1
Id
Question This instruction will move the content of memory location whose address is stored in
register R4 to the accumulator
A MOV A, R4
B MOV R4, A
C MOV A, @R4
D MOV @A, R4
Answer C
Marks 2
Unit 1
Id
Question MOV R2, R7 ___________________
A Will copy R7 to R2
B Will move content of R7 to content of R2
C Will move content of R2 to content of R7
D Is an invalid ins
Answer D
Marks 1
Unit 1
Id
Question This instruction will exchange the lower order & higher order nibbles of accumulator
A XCH A
B SWAP A
C ANL A
D RRC A
Answer B
Marks 2
Unit 1
Id
Question Which of the following is not the feature of 8051?
A It has 16 bit address bus
B It has 8 bit data bus
C It has 4 KB of internal ROM
D It has 128 MB of internal RAM
Answer D
Marks 1
Unit 1
Id
Question The micro-controller 8051 has ______ 16-bit timer/counter registers
A 1
B 2
C 4
D 8
Answer B
Marks 1
Unit 2
Id
Question Each timer has ________ registers that are ________ bits wide.
A 2, 8
B 2, 16
C 3, 8
D 3, 16
Answer A
Marks 1
Unit 2
Id
Question Timer 1 is a ______ bit register.
A 8
B 16
C 20
D 24
Answer B
Marks 1
Unit 2
Id
Question _______ register is used to set timer operating modes.
A T0
B T1
C TMOD
D TCON
Answer C
Marks 1
Unit 1
Id
Question _________ bits select timer modes.
A M1,M0
B T0
C GATE
D TF0
Answer A
Marks 1
Unit 2
Id
Question ______ register controls the timer/counter operations.
A T0
B T1
C TMOD
D TCON
Answer D
Marks 1
Unit 2
Id
Question The timer frequency is always _______ times of the frequency of the crystal attached to
8051.
A 12
B 1/12
C 1/14
D 1/10
Answer A
Marks 1
Unit 2
Id
Question The instruction SETB TR0 is used to _____ the timer 0.
A start
B stop
C increment
D decrement
Answer A
Marks 1
Unit 2
Id
Question The instruction CLR TR0 is used to _____ the timer 0.
A start
B stop
C increment
D decrement
Answer B
Marks 1
Unit 2
Id
Question In _______ timer operates as 13 bit register.
A Mode 0
B Mode 1
C Mode 2
D Mode 3
Answer A
Marks 1
Unit 2
Id
Question In _______ timer operates as 16 bit register.
A Mode 0
B Mode 1
C Mode 2
D Mode 3
Answer B
Marks 1
Unit 2
Id
Question In mode 0, if count reaches 1FFF H the next count will be _______
A 2000 H
B 0000 H
C FFFF H
D 1111 H
Answer B
Marks 1
Unit 2
Id
Question In mode 1, after count reaches __________ the counter rolls over
A 1FFF H
B 0000 H
C FFEF H
D None of above
Answer D
Marks 1
Unit 2
Id
Question In ________ timer operates as a 8 bit timer with auto-reload
A Mode 0
B Mode 1
C Mode 2
D Mode 3
Answer C
Marks 1
Unit 2
Id
Question Indicate the mode in which the timer will be operated after execution of the instruction
MOV TMOD, #20 H
A Mode 3
B Mode 1
C Mode 2
D Mode 0
Answer C
Marks 2
Unit 2
Id
Question For data transmission over long distances _________ transfer scheme is preferred.
A Serial data
B Parallel data
C Simplex data
D Duplex data
Answer A
Marks 1
Unit 2
Id
Question In parallel data transfer _______ data lines are needed to transfer a byte of data
A 2
B 4
C 6
D 8
Answer D
Marks 1
Unit 2
Id
Question In serial data transfer _____ bit is transferred at a time over a single line.
A 2
B 4
C 1
D 8
Answer C
Marks 1
Unit 2
Id
Question In __________ the data transfer is fast.
A Serial data transfer
B Parallel data transfer
C Simplex data transfer
D Duplex data transfer
Answer B
Marks 1
Unit 2
Id
Question In __________ the data transfer is slow.
A Serial data transfer
B Parallel data transfer
C Simplex data transfer
D Duplex data transfer
Answer A
Marks 1
Unit 2
Id
Question __________ transmission is two way transmission.
A Half duplex
B Duplex
C Full duplex
D All of above
Answer D
Marks 1
Unit 2
Id
Question ___________ is defined as bits/second
A Baud rate
B Clock rate
C frequency
D Timer rate
Answer A
Marks 1
Unit 2
Id
Question The ________ data format consists of a start bit, data bit & stop bits.
A Synchronous data transfer
B Asynchronous data transfer
C Byte data transfer
D Bulk data transfer
Answer B
Marks 1
Unit 2
Id
Question In ________ data format no start bit & stop bits are used.
A Synchronous data transfer
B Asynchronous data transfer
C Byte data transfer
D Bulk data transfer
Answer A
Marks 1
Unit 2
Id
Question The SFR register _________ controls the data communication
A TMOD
B TCON
C SCON
D SBUF
Answer C
Marks 1
Unit 2
Id
Question If accumulator contents are 03 H. What is the output after execution of ADD A, #3C H?
A Invalid Instruction
B A = 3F H
C A = 00 H
D A = 3C H
Answer B
Marks 2
Unit 1
Id
Question The ____ is used with the A register for multiplication and division operations .
A ACC
B B register
C SP
D DPTR
Answer B
Marks 1
Unit 1
Id
Question ____ instruction will clear the indicated bit.
A CLR Bit
B ORL A, #data
C SETB
D SWAP A
Answer A
Marks 1
Unit 1
Id
Question The ____ is a reserved area of the memory in RAM where temporary information may be
stored.
A PC
B STACK
C SP
D DPTR
Answer B
Marks 1
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) A Register i) 16 bit
2) PSW register ii) 8 bit
3) Stack iii) Used for flags.
4) PC iv) Temporary memory.
A (1-iv), (2-iii), (3-ii), (4-i)
B (1-ii), (2-i), (3-iii), (4-iv)
C (1-i), (2-ii), (3-iv), (4-iii)
D (1-ii), (2-iii), (3-iv), (4-i)
Answer D
Marks 2
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) Bank 0 will select when i) In PSW register, RS 0 = 0; RS 1 = 1
2) Bank 1 will select when ii) In PSW register, RS 0 = 0; RS 1 = 0
3) Bank 2 will select when iii) In PSW register, RS 0 = 1; RS 1 = 1
4) Bank 3 will select when iv) In PSW register, RS 0 = 1; RS 1 = 0
A (1-ii), (2-iii), (3-iv), (4-i)
B (1-ii), (2-iv), (3-i), (4-iii)
C (1-i), (2-ii), (3-iv), (4-iii)
D (1-iii), (2-ii), (3-iv), (4-i)
Answer B
Marks 2
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) Program memory i) 8 bit
2) Data memory ii) 128 bytes
3) Data bus iii) 16 bit
4) Address bus iv) 4K bytes
A (1-iii), (2-i), (3-iv), (4-ii)
B (1-ii), (2-i), (3-iv), (4-iii)
C (1-iv), (2-ii), (3-i), (4-iii)
D (1-i), (2-ii), (3-iii), (4-iv)
Answer C
Marks 2
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) Port 0 i) Pin 1 to 8
2) Port 3 ii) Pin 21 to 28
3) Port 1 iii) Pin 10 to 17
4) Port 2 iv) Pin 32 to 39
A (1-iv), (3-i), (4-ii), (2-iii)
B (1-iii), (3-ii), (4-i), (2-iv)
C (1-ii), (3-iii), (4-iv), (2-i)
D (1-i), (3-iv), (4-iii), (2-ii)
Answer A
Marks 2
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) Bit addressable area i) Memory location 30 h to 7F h
2) Register Banks ii) Memory location 20 h to 2F h
3) Scratch pad area iii) Memory location above 80 h
4) SFR iv) Memory location 00 h to 1F h
A (1-iii), (3-iv), (4-ii), (2-i)
B (1-iv), (3-ii), (4-i), (2-iii)
C (1-ii), (3-i), (4-iii), (2-iv)
D (1-i), (3-iii), (4-iv), (2-ii)
Answer C
Marks 2
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) Timer Mode 0 will select when i) In TMOD, M1 bit is 1 & M0 bit is 1
2) Timer Mode 1 will select when ii) In TMOD, M1 bit is 1 & M0 bit is 0
3) Timer Mode 2 will select when iii) In TMOD, M1 bit is 0 & M0 bit is 0
4) Timer Mode 3 will select when iv) In TMOD, M1 bit is 0 & M0 bit is 1

A (1-iv), (3-iii), (4-ii), (2-i)


B (1-iii), (3-ii), (4-i), (2-iv)
C (1-ii), (3-i), (4-iv), (2-iii)
D (1-i), (3-iv), (4-iii), (2-ii)
Answer B
Marks 2
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) Timer Mode 0 i) 13 bit timer mode
2) Timer Mode 1 ii) Split timer (timer 0) mode
3) Timer Mode 2 iii) 16 bit timer mode
4) Timer Mode 3 iv) auto-reload mode

A (1-i), (3-iv), (4-ii), (2-iii)


B (1-iii), (3-i), (4-iv), (2-ii)
C (1-ii), (3-iii), (4-i), (2-iv)
D (1-iv), (3-ii), (4-iii), (2-i)
Answer A
Marks 2
Unit 1
Id
Question Match the pairs.
GROUP 1 GROUP 2
1) Timer Mode 0 i) Separate count for TL & TH
2) Timer Mode 1 ii) Max. count is FF h
3) Timer Mode 2 iii) Max. count is 1FFF h
4) Timer Mode 3 iv) Max. count is FFFF h

A (1-iv), (3-ii), (4-i), (2-iii)


B (1-iii), (3-ii), (4-i), (2-iv)
C (1-i), (3-iii), (4-iv), (2-ii)
D (1-ii), (3-i), (4-iii), (2-iv)
Answer B
Marks 2
Unit 1
Id
Question Which of the following pin is active high pin?
A PSEN
B ALE
C EA
D Both B & C
Answer B
Marks 1
Unit 1
Id
Question Which of the following pin is active low pin?
A PSEN
B ALE
C EA
D Both A & C
Answer D
Marks 2
Unit 1
Id
Question Which flag is set when we add 38 h with 2F h?
A P
B CY
C AC
D Both A & C
Answer D
Marks 2
Unit 1
Id
Question MOV TMOD, #20 h will select ____________________ .
A Mode 1 of timer 1
B Mode 2 of timer 0
C Mode 1 of timer 0
D Mode 2 of timer 1
Answer D
Marks 1
Unit 2
Id
Question The data transfer rate in serial communication is stated as ___________
A Bytes per second
B Bits per second
C Baud rate
D Both B & C
Answer D
Marks 1
Unit 2

You might also like